[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.10 Operators
- MGL command: copy DAT dat2 ['eq'='']
- Method on
mglData
:void
operator= (const mglDataA &
d) Copies data from other variable.
- MGL command: copy dat
val
- Method on
mreal
:void
operator= (mreal
val) Set all data values equal to val.
- MGL command: multo dat dat2
- MGL command: multo dat
val
- Method on
mglData
:void
operator*= (const mglDataA &
d) - Method on
mglData
:void
operator*= (mreal
d) - C function:
void
mgl_data_mul_dat (HMDT
dat,HCDT
d) - C function:
void
mgl_data_mul_num (HMDT
dat,mreal
d) Multiplies data element by the other one or by value.
- MGL command: divto dat dat2
- MGL command: divto dat
val
- Method on
mglData
:void
operator/= (const mglDataA &
d) - Method on
mglData
:void
operator/= (mreal
d) - C function:
void
mgl_data_div_dat (HMDT
dat,HCDT
d) - C function:
void
mgl_data_div_num (HMDT
dat,mreal
d) Divides each data element by the other one or by value.
- MGL command: addto dat dat2
- MGL command: addto dat
val
- Method on
mglData
:void
operator+= (const mglDataA &
d) - Method on
mglData
:void
operator+= (mreal
d) - C function:
void
mgl_data_add_dat (HMDT
dat,HCDT
d) - C function:
void
mgl_data_add_num (HMDT
dat,mreal
d) Adds to each data element the other one or the value.
- MGL command: subto dat dat2
- MGL command: subto dat
val
- Method on
mglData
:void
operator-= (const mglDataA &
d) - Method on
mglData
:void
operator-= (mreal
d) - C function:
void
mgl_data_sub_dat (HMDT
dat,HCDT
d) - C function:
void
mgl_data_sub_num (HMDT
dat,mreal
d) Subtracts from each data element the other one or the value.
- Library Function: mglData operator+ (
const mglDataA &
a,const mglDataA &
b) - Library Function: mglData operator+ (
mreal
a,const mglDataA &
b) - Library Function: mglData operator+ (
const mglDataA &
a,mreal
b) Adds the other data or the number.
- Library Function: mglData operator- (
const mglDataA &
a,const mglDataA &
b) - Library Function: mglData operator- (
mreal
a,const mglDataA &
b) - Library Function: mglData operator- (
const mglDataA &
a,mreal
b) Subtracts the other data or the number.
- Library Function: mglData operator* (
const mglDataA &
a,const mglDataA &
b) - Library Function: mglData operator* (
mreal
a,const mglDataA &
b) - Library Function: mglData operator* (
const mglDataA &
a,mreal
b) Multiplies by the other data or the number.
- Library Function: mglData operator/ (
const mglDataA &
a,const mglDataA &
b) - Library Function: mglData operator/ (
const mglDataA &
a,mreal
b) Divides by the other data or the number.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 21, 2014 using texi2html 5.0.