casa
$Rev:20696$
|
#include <CExp.new3.h>
Public Member Functions | |
CExp3 () | |
CExp3 (int n) | |
~CExp3 () | |
void | build (int n) |
int | f (register T arg) |
int | hashFunction (T arg) |
std::complex< T > | operator() (T &arg) |
T | imag (T arg) |
T | real (T arg) |
void | reim (T &arg, T &re, T &im) |
Private Attributes | |
T * | RTable |
vector<T> RTable, ITable; | |
T * | ITable |
T | Step |
int | Size |
Definition at line 44 of file CExp.new3.h.
casa::CExp3< T >::CExp3 | ( | ) | [inline] |
Definition at line 47 of file CExp.new3.h.
casa::CExp3< T >::CExp3 | ( | int | n | ) | [inline] |
Definition at line 48 of file CExp.new3.h.
casa::CExp3< T >::~CExp3 | ( | ) | [inline] |
Definition at line 49 of file CExp.new3.h.
void casa::CExp3< T >::build | ( | int | n | ) | [inline] |
ITable.resize(Size); RTable.resize(Size);
Definition at line 50 of file CExp.new3.h.
Referenced by casa::IlluminationConvFunc::initCExpTable().
int casa::CExp3< T >::f | ( | register T | arg | ) | [inline] |
if (arg < 0) return (int)((arg+1-(int)arg)*Size); return (int)((arg-(int)arg)*Size);
Definition at line 62 of file CExp.new3.h.
int casa::CExp3< T >::hashFunction | ( | T | arg | ) | [inline] |
return (int)(fmodf(fabsf(arg+PI2),PI2)/Step);
Definition at line 68 of file CExp.new3.h.
T casa::CExp3< T >::imag | ( | T | arg | ) | [inline] |
Definition at line 80 of file CExp.new3.h.
std::complex<T> casa::CExp3< T >::operator() | ( | T & | arg | ) | [inline] |
Definition at line 74 of file CExp.new3.h.
T casa::CExp3< T >::real | ( | T | arg | ) | [inline] |
Definition at line 81 of file CExp.new3.h.
void casa::CExp3< T >::reim | ( | T & | arg, |
T & | re, | ||
T & | im | ||
) | [inline] |
Definition at line 82 of file CExp.new3.h.
T * casa::CExp3< T >::ITable [private] |
Definition at line 88 of file CExp.new3.h.
T* casa::CExp3< T >::RTable [private] |
vector<T> RTable, ITable;
Definition at line 88 of file CExp.new3.h.
int casa::CExp3< T >::Size [private] |
Definition at line 90 of file CExp.new3.h.
T casa::CExp3< T >::Step [private] |
Definition at line 89 of file CExp.new3.h.