#include <ExpCache.h>
Public Member Functions | |
| ExpCache () | |
| ExpCache (int n, T Step) | |
| ~ExpCache () | |
| void | build (int n, T Step) |
| T | operator() (T arg) |
Private Attributes | |
| T | EStep |
| T * | ETable |
| int | Size |
Definition at line 36 of file ExpCache.h.
| casa::ExpCache< T >::ExpCache | ( | ) | [inline] |
Definition at line 39 of file ExpCache.h.
| casa::ExpCache< T >::ExpCache | ( | int | n, | |
| T | Step | |||
| ) | [inline] |
Definition at line 40 of file ExpCache.h.
| casa::ExpCache< T >::~ExpCache | ( | ) | [inline] |
Definition at line 41 of file ExpCache.h.
| void casa::ExpCache< T >::build | ( | int | n, | |
| T | Step | |||
| ) | [inline] |
Definition at line 43 of file ExpCache.h.
Referenced by casa::IlluminationConvFunc::initExpTable(), and casa::refim::IlluminationConvFunc::initExpTable().
| T casa::ExpCache< T >::operator() | ( | T | arg | ) | [inline] |
return (fabs(N)>=Size)?0:((ETable[N]-ETable[N+1])*arg + ETable[N]);
Definition at line 53 of file ExpCache.h.
T casa::ExpCache< T >::EStep [private] |
Definition at line 62 of file ExpCache.h.
Referenced by casa::ExpCache< CF_TYPE >::build(), casa::ExpCache< CF_TYPE >::ExpCache(), and casa::ExpCache< CF_TYPE >::operator()().
T* casa::ExpCache< T >::ETable [private] |
Definition at line 63 of file ExpCache.h.
Referenced by casa::ExpCache< CF_TYPE >::build(), casa::ExpCache< CF_TYPE >::ExpCache(), casa::ExpCache< CF_TYPE >::operator()(), and casa::ExpCache< CF_TYPE >::~ExpCache().
int casa::ExpCache< T >::Size [private] |
Definition at line 64 of file ExpCache.h.
Referenced by casa::ExpCache< CF_TYPE >::build(), casa::ExpCache< CF_TYPE >::ExpCache(), and casa::ExpCache< CF_TYPE >::operator()().
1.6.1