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.

Definition at line 50 of file fun/vv2v/diff_abs.hh.


Member Typedef Documentation

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

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

Definition at line 179 of file function.hh.

typedef diff_abs< V > mln::Object< diff_abs< V > >::exact_t [inherited]

Definition at line 173 of file object.hh.

template<typename V >
typedef V mln::fun::vv2v::diff_abs< V >::result

Definition at line 52 of file fun/vv2v/diff_abs.hh.


Member Function Documentation

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

Definition at line 62 of file fun/vv2v/diff_abs.hh.

References mln::math::diff_abs().