EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
halfFunction< T > Class Template Reference

#include <fun4all_coresoftware/blob/master/offline/packages/Half/halfFunction.h>

+ Collaboration diagram for halfFunction< T >:

Public Member Functions

template<class Function >
 halfFunction (Function f, half domainMin=-HALF_MAX, half domainMax=HALF_MAX, T defaultValue=0, T posInfValue=0, T negInfValue=0, T nanValue=0)
 
T operator() (half x) const
 

Private Attributes

T _lut [1<< 16]
 

Detailed Description

template<class T>
class halfFunction< T >

Definition at line 91 of file halfFunction.h.

View newest version in sPHENIX GitHub at line 91 of file halfFunction.h

Constructor & Destructor Documentation

template<class T >
template<class Function >
halfFunction< T >::halfFunction ( Function  f,
half  domainMin = -HALF_MAX,
half  domainMax = HALF_MAX,
T  defaultValue = 0,
T  posInfValue = 0,
T  negInfValue = 0,
T  nanValue = 0 
)

Definition at line 126 of file halfFunction.h.

View newest version in sPHENIX GitHub at line 126 of file halfFunction.h

References half::isInfinity(), half::isNan(), half::isNegative(), half::setBits(), and x.

+ Here is the call graph for this function:

Member Function Documentation

template<class T >
T halfFunction< T >::operator() ( half  x) const
inline

Definition at line 153 of file halfFunction.h.

View newest version in sPHENIX GitHub at line 153 of file halfFunction.h

References half::bits().

+ Here is the call graph for this function:

Member Data Documentation

template<class T >
T halfFunction< T >::_lut[1<< 16]
private

Definition at line 116 of file halfFunction.h.

View newest version in sPHENIX GitHub at line 116 of file halfFunction.h


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