DAT [nx=1 'eq'] ¶DAT nx ny ['eq'] ¶DAT nx ny nz ['eq'] ¶mglData: mglData (int mx=1, int my=1, int mz=1) ¶mglDataC: mglDataC (int mx=1, int my=1, int mz=1) ¶HMDT mgl_create_data () ¶HMDT mgl_create_data_size (int mx, int my, int mz) ¶HADT mgl_create_datac () ¶HADT mgl_create_datac_size (int mx, int my, int mz) ¶Default constructor. Allocates the memory for data array and initializes it by zero. If string eq is specified then data will be filled by corresponding formula as in fill.
DAT dat2 ['eq'=''] ¶DAT val ¶mglData: mglData (const mglDataA &dat2) ¶mglData: mglData (const mglDataA *dat2) ¶mglData: mglData (int size, const float *dat2) ¶mglData: mglData (int size, int cols, const float *dat2) ¶mglData: mglData (int size, const double *dat2) ¶mglData: mglData (int size, int cols, const double *dat2) ¶mglData: mglData (const double *dat2, int size) ¶mglData: mglData (const double *dat2, int size, int cols) ¶mglDataC: mglDataC (const mglDataA &dat2) ¶mglDataC: mglDataC (const mglDataA *dat2) ¶mglDataC: mglDataC (int size, const float *dat2) ¶mglDataC: mglDataC (int size, int cols, const float *dat2) ¶mglDataC: mglDataC (int size, const double *dat2) ¶mglDataC: mglDataC (int size, int cols, const double *dat2) ¶mglDataC: mglDataC (int size, const dual *dat2) ¶mglDataC: mglDataC (int size, int cols, const dual *dat2) ¶Copy constructor. Allocates the memory for data array and copy values from other array. At this, if parameter eq or val is specified then the data will be modified by corresponding formula similarly to fill.
REDAT IMDAT dat2 ['eq'=''] ¶Allocates the memory for data array and copy real and imaginary values from complex array dat2.
'name' ¶Allocates the memory for data array and copy values from other array specified by its name, which can be "invalid" for MGL names (like one read from HDF5 files).
DAT 'fname' ¶mglData: mglData (const char *fname) ¶mglDataC: mglDataC (const char *fname) ¶HMDT mgl_create_data_file (const char *fname) ¶HADT mgl_create_datac_file (const char *fname) ¶Reads data from tab-separated text file with auto determining sizes of the data.