proj

ABSTRACT

Calculates the projection of u onto v. That is, this calculates a vector pointing in the direction of v whose magnitude is the size of the component of u that lies along v

PARAMETERS
ua vector of numbers
va vector of numbers with the same length as u
RETURN

the projection of u onto v

DECLARATION
func proj(u,v)