#ifndef _NR_TYPES_H_ #define _NR_TYPES_H_ #include #include #include "nrutil_nr.h" using namespace std; typedef double DP; // Vector Types typedef const NRVec Vec_I_BOOL; typedef NRVec Vec_BOOL, Vec_O_BOOL, Vec_IO_BOOL; typedef const NRVec Vec_I_CHR; typedef NRVec Vec_CHR, Vec_O_CHR, Vec_IO_CHR; typedef const NRVec Vec_I_UCHR; typedef NRVec Vec_UCHR, Vec_O_UCHR, Vec_IO_UCHR; typedef const NRVec Vec_I_INT; typedef NRVec Vec_INT, Vec_O_INT, Vec_IO_INT; typedef const NRVec Vec_I_UINT; typedef NRVec Vec_UINT, Vec_O_UINT, Vec_IO_UINT; typedef const NRVec Vec_I_LNG; typedef NRVec Vec_LNG, Vec_O_LNG, Vec_IO_LNG; typedef const NRVec Vec_I_ULNG; typedef NRVec Vec_ULNG, Vec_O_ULNG, Vec_IO_ULNG; typedef const NRVec Vec_I_SP; typedef NRVec Vec_SP, Vec_O_SP, Vec_IO_SP; typedef const NRVec Vec_I_DP; typedef NRVec Vec_DP, Vec_O_DP, Vec_IO_DP; typedef const NRVec > Vec_I_CPLX_SP; typedef NRVec > Vec_CPLX_SP, Vec_O_CPLX_SP, Vec_IO_CPLX_SP; typedef const NRVec > Vec_I_CPLX_DP; typedef NRVec > Vec_CPLX_DP, Vec_O_CPLX_DP, Vec_IO_CPLX_DP; // Matrix Types typedef const NRMat Mat_I_BOOL; typedef NRMat Mat_BOOL, Mat_O_BOOL, Mat_IO_BOOL; typedef const NRMat Mat_I_CHR; typedef NRMat Mat_CHR, Mat_O_CHR, Mat_IO_CHR; typedef const NRMat Mat_I_UCHR; typedef NRMat Mat_UCHR, Mat_O_UCHR, Mat_IO_UCHR; typedef const NRMat Mat_I_INT; typedef NRMat Mat_INT, Mat_O_INT, Mat_IO_INT; typedef const NRMat Mat_I_UINT; typedef NRMat Mat_UINT, Mat_O_UINT, Mat_IO_UINT; typedef const NRMat Mat_I_LNG; typedef NRMat Mat_LNG, Mat_O_LNG, Mat_IO_LNG; typedef const NRVec Mat_I_ULNG; typedef NRMat Mat_ULNG, Mat_O_ULNG, Mat_IO_ULNG; typedef const NRMat Mat_I_SP; typedef NRMat Mat_SP, Mat_O_SP, Mat_IO_SP; typedef const NRMat Mat_I_DP; typedef NRMat Mat_DP, Mat_O_DP, Mat_IO_DP; typedef const NRMat > Mat_I_CPLX_SP; typedef NRMat > Mat_CPLX_SP, Mat_O_CPLX_SP, Mat_IO_CPLX_SP; typedef const NRMat > Mat_I_CPLX_DP; typedef NRMat > Mat_CPLX_DP, Mat_O_CPLX_DP, Mat_IO_CPLX_DP; // 3D Matrix Types typedef const NRMat3d Mat3D_I_DP; typedef NRMat3d Mat3D_DP, Mat3D_O_DP, Mat3D_IO_DP; // Miscellaneous Types typedef NRVec Vec_ULNG_p; typedef NRVec *> Vec_Mat_DP_p; typedef NRVec Vec_FSTREAM_p; #endif /* _NR_TYPES_H_ */