UnitVector

Unit vector (WMA)


UnitVector[n, k]

returns the n-dimensional unit vector with a 1 in position k.

UnitVector[k]

is equivalent to UnitVector[2, k].

Projection
VectorAngle