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

Computes the L1 distance between two values x and y: $ |x - y|$. More...

#include <compare.hpp>

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

Public Member Functions

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

Detailed Description

template<class _Rp, class _Tp>
struct slip::L1_dist< _Rp, _Tp >

Computes the L1 distance between two values x and y: $ |x - y|$.

Author
Benoit Tremblais <tremblais_AT_sic.univ-poitiers.fr>
Date
2009/03/30
Since
1.0.0
Version
0.0.1
Parameters
xx value.
yy value.
Returns
$ |x - y|$

Definition at line 2405 of file compare.hpp.

Member Function Documentation

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

Definition at line 2408 of file compare.hpp.


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