Public Member Functions | List of all members
ecl::EuclideanNorm Class Reference

Functor for euclidean norms. More...

#include <norms.hpp>

Public Member Functions

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

Detailed Description

Functor for euclidean norms.

This class can calculate euclidean norms for any type (int, float, double).

Definition at line 45 of file norms.hpp.

Member Function Documentation

◆ 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 63 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 76 of file norms.hpp.


The documentation for this class was generated from the following file:


ecl_math
Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:10