Projection
Projection(vector1, vector2)
Find the orthogonal projection of
vector1
onto anothervector2
.
Projection(vector1, vector2, ipf)
Find the orthogonal projection of
vector1
onto anothervector2
using the inner product functionipf
.
See
Examples
>> Projection({5, I, 7}, {1, 1, 1}){4+I*1/3,4+I*1/3,4+I*1/3}
>> {u, v} = RandomReal(1, {2, 6})
>> Abs(VectorAngle(Projection(u, v), v)) < (0.0 + 10^-7)True
Implementation status
- ✅ - full supported