16 #ifndef ECL_MATH_NORMS_HPP_ 17 #define ECL_MATH_NORMS_HPP_ 50 return std::sqrt(x1*x1 + x2*x2);
63 return std::sqrt(x1*x1 + x2*x2 + x3*x3);
83 return std::sqrt(x1*x1 + x2*x2);
96 return std::sqrt(x1*x1 + x2*x2 + x3*x3);
Embedded control libraries.
T euclidean_norm(const T &x1, const T &x2)
Function for euclidean norms of dimension 2.
T operator()(const T &x1, const T &x2, const T &x3)
Functor operator for euclidean norms of dimension 3.
Functor for euclidean norms.
T operator()(const T &x1, const T &x2)
Functor operator for euclidean norms of dimension 2.