manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.10 Operators

Method on mglData (C++, Python): void operator= (const mglData &d)

Copies data from other variable.

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)

Adds the other data.

Library Function: mglData operator+ (float a, const mglData &b)

Adds the number.

Library Function: mglData operator+ (const mglData &a, float b)

Adds the number.

Library Function: mglData operator- (const mglData &a, const mglData &b)

Subtracts the other data.

Library Function: mglData operator- (float a, const mglData &b)

Subtracts from the number.

Library Function: mglData operator- (const mglData &a, float b)

Subtracts the number.

Library Function: mglData operator* (const mglData &a, const mglData &b)

Multiplies by the other data.

Library Function: mglData operator* (float a, const mglData &b)

Multiplies by the number.

Library Function: mglData operator* (const mglData &a, float b)

Multiplies by the number.

Library Function: mglData operator/ (const mglData &a, const mglData &b)

Divides by the other data.

Library Function: mglData operator/ (const mglData &a, float b)

Divides by the number.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.