Function trv::maths::get_vec3d_magnitude(double *)#

Function Documentation#

double trv::maths::get_vec3d_magnitude(double *vec)#

Return the magnitude of a 3-d vector.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters

vec – A 3-d vector.

Returns

Vector magnitude.