scalar projection
The signed length of the shadow one vector casts along the line of another: positive when it points forwards along it, negative when backwards.
Example: The scalar projection of (3, 4) on the x-axis is 3.
ⓘ Technical definition
comp_v u = (u · v) / |v| = |u| cos θ, where θ is the angle between u and v.