Public Types | Public Member Functions

mln::fun::vv2v::diff_abs< V > Struct Template Reference

A functor computing the diff_absimum of two values. More...

#include <diff_abs.hh>

Inheritance diagram for mln::fun::vv2v::diff_abs< V >:
Inheritance graph

List of all members.

Public Types

typedef Function_vv2v< void > category
typedef diff_abs< V > exact_t
typedef V result

Public Member Functions

operator() (const V &v1, const V &v2) const

Detailed Description

template<typename V>
struct mln::fun::vv2v::diff_abs< V >

A functor computing the diff_absimum of two values.


Member Typedef Documentation

typedef Function_vv2v<void> mln::Function_vv2v< diff_abs< V > >::category [inherited]

Reimplemented from mln::Function< diff_abs< V > >.

typedef diff_abs< V > mln::Object< diff_abs< V > >::exact_t [inherited]
template<typename V >
typedef V mln::fun::vv2v::diff_abs< V >::result

Member Function Documentation

template<typename V >
V mln::fun::vv2v::diff_abs< V >::operator() ( const V &  v1,
const V &  v2 
) const [inline]

References mln::math::diff_abs().