// Scalar projection of v1 -> v2 inline double comp( const vector& v1, const vector& v2) { return v1.comp( v2); }