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