Functions | |
template<int N, typename T > | |
T | computeSquaredMagnitude (const ads::FixedArray< N, T > &x) |
Return the squared magnitude of this vector. | |
template<int N, typename T > | |
T | computeMagnitude (const ads::FixedArray< N, T > &x) |
Return the magnitude of this vector. | |
template<int N, typename T > | |
void | normalize (ads::FixedArray< N, T > *x) |
Normalize this vector so it has unit length. |