CMS 3D CMS Logo

Public Member Functions | Public Attributes

funct::AbsStruct< T > Struct Template Reference

#include <Abs.h>

List of all members.

Public Member Functions

 AbsStruct (const T &t)
 operator double () const
double operator() () const

Public Attributes

T _

Detailed Description

template<typename T>
struct funct::AbsStruct< T >

Definition at line 8 of file Abs.h.


Constructor & Destructor Documentation

template<typename T >
funct::AbsStruct< T >::AbsStruct ( const T t) [inline]

Definition at line 9 of file Abs.h.

: _(t) { }

Member Function Documentation

template<typename T >
funct::AbsStruct< T >::operator double ( ) const [inline]

Definition at line 11 of file Abs.h.

References funct::AbsStruct< T >::_.

{ return ::fabs(_()); }
template<typename T >
double funct::AbsStruct< T >::operator() ( ) const [inline]

Definition at line 10 of file Abs.h.

References funct::AbsStruct< T >::_.

{ return ::fabs(_()); }

Member Data Documentation

template<typename T >
T funct::AbsStruct< T >::_