| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.2 Data constructor
- MGL command: new DAT [
nx=1'eq'] - MGL command: new DAT
nx ny['eq'] - MGL command: new DAT
nx ny nz['eq'] - Constructor on
mglData: mglData (intmx=1,intmy=1,intmz=1) - C function:
HMDTmgl_create_data () - C function:
HMDTmgl_create_data_size (intmx,intmy,intmz) 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 function.
- MGL command: copy DAT dat2 ['eq'='']
- MGL command: copy DAT
val - Constructor on
mglData: mglData (const mglData &dat2) - Constructor on
mglData: mglData (const mglDataA *dat2) - Constructor on
mglData: mglData (intsize,const float *dat2) - Constructor on
mglData: mglData (intsize,intcols,const float *dat2) - Constructor on
mglData: mglData (intsize,const double *dat2) - Constructor on
mglData: mglData (intsize,intcols,const double *dat2) - Constructor on
mglData: mglData (const double *dat2,intsize) - Constructor on
mglData: mglData (const double *dat2,intsize,intcols) Copy constructor. Allocates the memory for data array and copy values from other array. At this, if parameter eq is specified then the data will be modified by corresponding formula similarly to fill function.
- MGL command: read DAT 'fname'
- Constructor on
mglData: mglData (const char *fname) - C function:
HMDTmgl_create_data_file (const char *fname) Reads data from tab-separated text file with auto determining sizes of the data.
- MGL command: delete dat
- Destructor on
mglData: ~mglData () - C function:
voidmgl_delete_data (HMDTdat) Deletes the instance of class mglData.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 13, 2012 using texi2html 5.0.
