Several typedef declarations are included for convenience
purposes. These are also designed to be compatible with those used by
Numerical Recipes in C++.
typedef std::complex<float> CPLX_SP
typedef std::complex<double> CPLX_DP
typedef Vector<bool> Vec_BOOL
typedef Vector<char> Vec_CHR
typedef Vector<signed char> Vec_SCHR
typedef Vector<unsigned char> Vec_UCHR
typedef Vector<short> Vec_SHRT
typedef Vector<unsigned short> Vec_USHRT
typedef Vector<int> Vec_INT
typedef Vector<unsigned int> Vec_UINT
typedef Vector<long> Vec_LNG
typedef Vector<unsigned long> Vec_ULNG
typedef Vector<float> Vec_SP
typedef Vector<double> Vec_DP
typedef Vector<CPLX_SP> Vec_CPLX_SP
typedef Vector<CPLX_DP> Vec_CPLX_DP
typedef Matrix<bool> Mat_BOOL
typedef Matrix<char> Mat_CHR
typedef Matrix<signed char> Mat_SCHR
typedef Matrix<unsigned char> Mat_UCHR
typedef Matrix<short> Mat_SHRT
typedef Matrix<unsigned short> Mat_USHRT
typedef Matrix<int> Mat_INT
typedef Matrix<unsigned int> Mat_UINT
typedef Matrix<long> Mat_LNG
typedef Matrix<unsigned long> Mat_ULNG
typedef Matrix<float> Mat_SP
typedef Matrix<double> Mat_DP
typedef Matrix<CPLX_SP> Mat_CPLX_SP
typedef Matrix<CPLX_DP> Mat_CPLX_DP
These definitions are only included if the header file "vm_fftw.h" is included.
typedef fftw_real REAL
typedef fftw_complex FFTW_CPLX
typedef std::complex<REAL> CPLX_REAL
typedef Vector<REAL> Vec_REAL
typedef Vector<FFTW_CPLX> Vec_FFTW_CPLX
typedef Vector<CPLX_REAL> Vec_CPLX_REAL
These definitions are provided by the "random.h" header file. They provide 32 bit integer types for the generators.
typedef int INT32
typedef unsigned int UINT32
Note that these are just provided to make it easier to modify the code if
int is not 32 bit on your platform. When actually using the
routines, you can use standard integer types.