Public Member Functions | Private Attributes
parallelsurf::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
TResult lut_array [UBound-LBound+1]

Detailed Description

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

Definition at line 43 of file MathStuff.h.


Constructor & Destructor Documentation

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

Definition at line 46 of file MathStuff.h.


Member Function Documentation

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

Definition at line 55 of file MathStuff.h.


Member Data Documentation

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

Definition at line 61 of file MathStuff.h.

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

Definition at line 60 of file MathStuff.h.


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


or_libs
Author(s): raphael
autogenerated on Mon Oct 6 2014 02:53:19