return the scalar projection of this vector onto other vector
Vector v1=Vector(1,0); Vector v2=Vector(0,1); assert(v2.project_scalar(v1)==0); assert(v1.project_scalar(v2)==0); assert(v1.project_scalar(v1)==1); assert(v2.project_scalar(v2)==1);
See Implementation
return the scalar projection of this vector onto other vector