casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::ExpCache< T > Class Template Reference

#include <ExpCache.h>

List of all members.

Public Member Functions

 ExpCache ()
 ExpCache (int n, T Step)
 ~ExpCache ()
void build (int n, T Step)
operator() (T arg)

Private Attributes

EStep
T * ETable
int Size

Detailed Description

template<class T>
class casa::ExpCache< T >

Definition at line 36 of file ExpCache.h.


Constructor & Destructor Documentation

template<class T>
casa::ExpCache< T >::ExpCache ( ) [inline]

Definition at line 39 of file ExpCache.h.

template<class T>
casa::ExpCache< T >::ExpCache ( int  n,
Step 
) [inline]

Definition at line 40 of file ExpCache.h.

template<class T>
casa::ExpCache< T >::~ExpCache ( ) [inline]

Definition at line 41 of file ExpCache.h.


Member Function Documentation

template<class T>
void casa::ExpCache< T >::build ( int  n,
Step 
) [inline]

Definition at line 43 of file ExpCache.h.

Referenced by casa::IlluminationConvFunc::initExpTable().

template<class T>
T casa::ExpCache< T >::operator() ( arg) [inline]

return (fabs(N)>=Size)?0:((ETable[N]-ETable[N+1])*arg + ETable[N]);

Definition at line 53 of file ExpCache.h.


Member Data Documentation

template<class T>
T casa::ExpCache< T >::EStep [private]
template<class T>
T* casa::ExpCache< T >::ETable [private]
template<class T>
int casa::ExpCache< T >::Size [private]

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