CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
funct::AbsStruct< T > Struct Template Reference

#include <Abs.h>

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

◆ AbsStruct()

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

Definition at line 9 of file Abs.h.

9 : _(t) {}

Member Function Documentation

◆ operator double()

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

Definition at line 11 of file Abs.h.

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

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

◆ operator()()

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

Definition at line 10 of file Abs.h.

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

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

Member Data Documentation

◆ _

template<typename T >
T funct::AbsStruct< T >::_
funct::AbsStruct::_
T _
Definition: Abs.h:12
OrderedSet.t
t
Definition: OrderedSet.py:90