|
|
template<Norm t_norm = norms::euclidean, vector V> |
| constexpr RealOf< V > | dxx::math::norm (const V &v) |
| | Calculates norm t_norm for vector v.
|
|
template<Norm t_norm = norms::euclidean, vector V> |
| constexpr RealOf< V > | dxx::math::sq_norm (const V &v) |
| | Calculates the square of the norm t_norm for vector v.
|
|
template<Norm t_norm = norms::euclidean, vector V, vector_like< V > U> |
| constexpr RealOf< V > | dxx::math::dist (const V &v, const U &u) |
| | Calculates the distance between vector v and u according to norm t_norm.
|
|
template<Norm t_norm = norms::euclidean, vector V, vector_like< V > U> |
| constexpr RealOf< V > | dxx::math::sq_dist (const V &v, const U &u) |
| | Calculates the square of the distance between vector v and u according to norm t_norm.
|