vectorproj
Calculates the vector projection of the vector a on the vector b in 2d or 3D.Depending on input, function can return scalar, vector or matrix
Arguments
- Vector a, size 2 or 3.
- Vector b, size 2 or 3.
Output
Resulting vector
Examples
Calculates the vector projection of the vector a on the vector b in 2d or 3D.Depending on input, function can return scalar, vector or matrix
Resulting vector