Functor for euclidean norms. More...
#include <norms.hpp>
Public Member Functions | |
template<typename T > | |
T | operator() (const T &x1, const T &x2) |
Functor operator for euclidean norms of dimension 2. | |
template<typename T > | |
T | operator() (const T &x1, const T &x2, const T &x3) |
Functor operator for euclidean norms of dimension 3. |
Functor for euclidean norms.
This class can calculate euclidean norms for any type (int, float, double).
T ecl::EuclideanNorm::operator() | ( | const T & | x1, |
const T & | x2 | ||
) | [inline] |
T ecl::EuclideanNorm::operator() | ( | const T & | x1, |
const T & | x2, | ||
const T & | x3 | ||
) | [inline] |