Public Member Functions
ecl::EuclideanNorm Class Reference

Functor for euclidean norms. More...

#include <norms.hpp>

List of all members.

Public Member Functions

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

Detailed Description

Functor for euclidean norms.

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

Definition at line 39 of file norms.hpp.


Member Function Documentation

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.

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:


ecl_math
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:34