libDAI
Public Member Functions
dai::fo_abs< T > Struct Template Reference

Function object that takes the absolute value. More...

#include <dai/prob.h>

List of all members.

Public Member Functions

operator() (const T &x) const
 Returns abs(x)

Detailed Description

template<typename T>
struct dai::fo_abs< T >

Function object that takes the absolute value.


Member Function Documentation

template<typename T >
T dai::fo_abs< T >::operator() ( const T &  x) const [inline]

Returns abs(x)


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