Length#

template<typename T>
inline T::value_type Length(const T &v)#

Computes the length (magnitude) of a vector.

Template Parameters:

T – Vector type that supports LengthSq() function

Parameters:

v[in] Vector to compute length for

Returns:

Length of the vector