Projection
Projection[u, v] finds the projection of the vector u onto the vector v.
Examples
Project u onto v:
Projection[{3, 4}, {1, 0}]
(* {3, 0} *)3D projection:
Projection[{1, 2, 3}, {1, 1, 1}]
(* {2, 2, 2} *)Please visit the official Wolfram Language Reference for more details.