[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.10 Operators
- Method on
mglData
(C++, Python):void
operator*= (const mglData &
d) - C function:
void
mgl_data_mul_dat (HMDT
dat,const HMDT
d) Multiplies the data by the other one for each element.
- Method on
mglData
(C++, Python):void
operator/= (const mglData &
d) - C function:
void
mgl_data_div_dat (HMDT
dat,const HMDT
d) Divides the data by the other one for each element.
- Method on
mglData
(C++, Python):void
operator+= (const mglData &
d) - C function:
void
mgl_data_add_dat (HMDT
dat,const HMDT
d) Adds the other data.
- Method on
mglData
(C++, Python):void
operator-= (const mglData &
d) - C function:
void
mgl_data_sub_dat (HMDT
dat,const HMDT
d) Subtracts the other data.
- Method on
mglData
(C++, Python):void
operator*= (float
d) - C function:
void
mgl_data_mul_num (HMDT
dat,float
d) Multiplies each element by the number.
- Method on
mglData
(C++, Python):void
operator/= (float
d) - C function:
void
mgl_data_div_num (HMDT
dat,float
d) Divides each element by the number.
- Method on
mglData
(C++, Python):void
operator+= (float
d) - C function:
void
mgl_data_add_num (HMDT
dat,float
d) Adds the number to each element.
- Method on
mglData
(C++, Python):void
operator-= (float
d) - C function:
void
mgl_data_sub_num (HMDT
dat,float
d) Subtracts the number to each element.
- Library Function: mglData operator* (
const mglData &
a,const mglData &
b) Multiplies by the other data.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |