lfeat::LUT< LBound, UBound, TResult, TArg > Class Template Reference

#include <MathStuff.h>

List of all members.

Public Member Functions

 LUT (TResult(*f)(TArg), double coeffadd=0, double coeffmul=1)
const TResult & operator() (int i) const

Private Attributes

TResult lut_array [UBound-LBound+1]
TResult * lut

template<int LBound = -128, int UBound = 127, class TResult = double, class TArg = double>
class lfeat::LUT< LBound, UBound, TResult, TArg >


Constructor & Destructor Documentation

template<int LBound = -128, int UBound = 127, class TResult = double, class TArg = double>
lfeat::LUT< LBound, UBound, TResult, TArg >::LUT TResult(*)(TArg)  f,
double  coeffadd = 0,
double  coeffmul = 1
[inline, explicit]
 

Definition at line 51 of file MathStuff.h.


Member Function Documentation

template<int LBound = -128, int UBound = 127, class TResult = double, class TArg = double>
const TResult& lfeat::LUT< LBound, UBound, TResult, TArg >::operator() int  i  )  const [inline]
 

Definition at line 60 of file MathStuff.h.


Member Data Documentation

template<int LBound = -128, int UBound = 127, class TResult = double, class TArg = double>
TResult* lfeat::LUT< LBound, UBound, TResult, TArg >::lut [private]
 

Definition at line 66 of file MathStuff.h.

template<int LBound = -128, int UBound = 127, class TResult = double, class TArg = double>
TResult lfeat::LUT< LBound, UBound, TResult, TArg >::lut_array[UBound-LBound+1] [private]
 

Definition at line 65 of file MathStuff.h.


The documentation for this class was generated from the following file:
Generated on Sat Apr 19 01:25:52 2014 for Hugintrunk by  doxygen 1.3.9.1