Projection

Projection[u,v]

finds the projection of the vector u onto the vector v.

Projection[u,v,f]

finds projections with respect to the inner product function f.

Details

  • For ordinary real vectors u and v, the projection is taken to be .
  • For ordinary complex vectors u and v, the projection is taken to be , where is Conjugate[v].
  • In Projection[u,v,f], u and v can be any expressions or lists of expressions for which the inner product function f applied to pairs yields real results. »

Examples

open allclose all

Basic Examples  (2)

Project the vector (5, 6, 7) onto the axis:

In[1]:=
Click for copyable input
Out[1]=

Project onto another vector:

In[1]:=
Click for copyable input
Out[1]=

Scope  (4)

Generalizations & Extensions  (1)

Applications  (2)

Properties & Relations  (3)

See Also

Orthogonalize  Dot  Inner  Normalize  VectorAngle  DimensionReduce

Tutorials

Introduced in 2007
(6.0)
| Updated in 2014
(10.0)