SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
slip::L22_dist< _Rp, _Tp > Struct Template Reference

Computes the L22 distance between two values x and y: $ (x - y)^2$. More...

#include <compare.hpp>

Inheritance diagram for slip::L22_dist< _Rp, _Tp >:
Inheritance graph

Public Member Functions

_Rp operator() (const _Tp &x, const _Tp &y) const
 

Detailed Description

template<typename _Rp, typename _Tp>
struct slip::L22_dist< _Rp, _Tp >

Computes the L22 distance between two values x and y: $ (x - y)^2$.

Author
Benoit Tremblais <tremblais_AT_sic.univ-poitiers.fr>
Date
2009/03/30
Version
0.0.1
Parameters
xx value.
yy value.
Returns
$ (x - y)^2$

Definition at line 2446 of file compare.hpp.

Member Function Documentation

template<typename _Rp , typename _Tp >
_Rp slip::L22_dist< _Rp, _Tp >::operator() ( const _Tp &  x,
const _Tp &  y 
) const
inline

Definition at line 2449 of file compare.hpp.


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