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

#include <CExp.new3.h>

List of all members.

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)
imag (T arg)
real (T arg)
void reim (T &arg, T &re, T &im)

Private Attributes

T * RTable
 vector<T> RTable, ITable;
T * ITable
Step
int Size

Detailed Description

template<class T>
class casa::CExp3< T >

Definition at line 44 of file CExp.new3.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file CExp.new3.h.

template<class T>
casa::CExp3< T >::CExp3 ( int  n) [inline]

Definition at line 48 of file CExp.new3.h.

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

Definition at line 49 of file CExp.new3.h.


Member Function Documentation

template<class T>
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().

template<class T>
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.

template<class T>
int casa::CExp3< T >::hashFunction ( arg) [inline]

return (int)(fmodf(fabsf(arg+PI2),PI2)/Step);

Definition at line 68 of file CExp.new3.h.

template<class T>
T casa::CExp3< T >::imag ( arg) [inline]

Definition at line 80 of file CExp.new3.h.

template<class T>
std::complex<T> casa::CExp3< T >::operator() ( T &  arg) [inline]

Definition at line 74 of file CExp.new3.h.

template<class T>
T casa::CExp3< T >::real ( arg) [inline]

Definition at line 81 of file CExp.new3.h.

template<class T>
void casa::CExp3< T >::reim ( T &  arg,
T &  re,
T &  im 
) [inline]

Definition at line 82 of file CExp.new3.h.


Member Data Documentation

template<class T>
T * casa::CExp3< T >::ITable [private]

Definition at line 88 of file CExp.new3.h.

template<class T>
T* casa::CExp3< T >::RTable [private]

vector<T> RTable, ITable;

Definition at line 88 of file CExp.new3.h.

template<class T>
int casa::CExp3< T >::Size [private]

Definition at line 90 of file CExp.new3.h.

template<class T>
T casa::CExp3< T >::Step [private]

Definition at line 89 of file CExp.new3.h.


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