Functor for euclidean norms.
More...
#include <norms.hpp>

template<typename T > 
T  operator() (const T &x1, const T &x2) 
 Functor operator for euclidean norms of dimension 2. More...


template<typename T > 
T  operator() (const T &x1, const T &x2, const T &x3) 
 Functor operator for euclidean norms of dimension 3. More...


Functor for euclidean norms.
This class can calculate euclidean norms for any type (int, float, double).
Definition at line 39 of file norms.hpp.
◆ operator()() [1/2]
template<typename T >
T ecl::EuclideanNorm::operator() 
( 
const T & 
x1, 


const T & 
x2 

) 
 

inline 
Functor operator for euclidean norms of dimension 2.
 Parameters

x1  : first argument 
x2  : second argument 
 Returns
 T : result of the input.
Definition at line 49 of file norms.hpp.
◆ operator()() [2/2]
template<typename T >
T ecl::EuclideanNorm::operator() 
( 
const T & 
x1, 


const T & 
x2, 


const T & 
x3 

) 
 

inline 
Functor operator for euclidean norms of dimension 3.
 Parameters

x1  : first argument 
x2  : second argument 
x3  : third argument 
 Returns
 T : result of the input.
Definition at line 62 of file norms.hpp.
The documentation for this class was generated from the following file: