![]() |
Chemical Data Processing Library Python API - Version 1.2.3
|
Inheritance diagram for CDPL.Math.ConstFGridExpression:Public Member Functions | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| int | getSize1 () |
| int | getSize2 () |
| int | getSize3 () |
| bool | isEmpty () |
| float | getElement (int i, int j, int k) |
| object | toArray () |
| float | __call__ (int i, int j, int k) |
| float | __getitem__ (tuple ijk) |
| int | __len__ () |
| bool | __eq__ (ConstFGridExpression e) |
Returns the result of the comparison operation self == e. More... | |
| bool | __ne__ (ConstFGridExpression e) |
Returns the result of the comparison operation self != e. More... | |
| str | __str__ () |
| Returns a string representation of the ConstFGridExpression instance. More... | |
| ConstFGridExpression | __pos__ () |
| ConstFGridExpression | __neg__ () |
| ConstFGridExpression | __add__ (ConstFGridExpression e) |
Returns the result of the addition operation self + e. More... | |
| ConstFGridExpression | __sub__ (ConstFGridExpression e) |
Returns the result of the subtraction operation self - e. More... | |
| ConstFGridExpression | __mul__ (float t) |
Returns the result of the multiplication operation self * t. More... | |
| ConstFGridExpression | __div__ (float t) |
Returns the result of the division operation self / t. More... | |
| ConstFGridExpression | __truediv__ (float t) |
| ConstFGridExpression | __rmul__ (float t) |
Properties | |
| objectID = property(getObjectID) | |
| size1 = property(getSize1) | |
| size2 = property(getSize2) | |
| size3 = property(getSize3) | |
| int CDPL.Math.ConstFGridExpression.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ConstFGridExpression instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b thus cannot tell reliably whether the two ConstFGridExpression instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID().
| int CDPL.Math.ConstFGridExpression.getSize1 | ( | ) |
| int CDPL.Math.ConstFGridExpression.getSize2 | ( | ) |
| int CDPL.Math.ConstFGridExpression.getSize3 | ( | ) |
| bool CDPL.Math.ConstFGridExpression.isEmpty | ( | ) |
| float CDPL.Math.ConstFGridExpression.getElement | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) |
| i | |
| j | |
| k |
| object CDPL.Math.ConstFGridExpression.toArray | ( | ) |
| float CDPL.Math.ConstFGridExpression.__call__ | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) |
| i | |
| j | |
| k |
| float CDPL.Math.ConstFGridExpression.__getitem__ | ( | tuple | ijk | ) |
| ijk |
| int CDPL.Math.ConstFGridExpression.__len__ | ( | ) |
| bool CDPL.Math.ConstFGridExpression.__eq__ | ( | ConstFGridExpression | e | ) |
Returns the result of the comparison operation self == e.
| e | The ConstFGridExpression instance to be compared with. |
| bool CDPL.Math.ConstFGridExpression.__ne__ | ( | ConstFGridExpression | e | ) |
Returns the result of the comparison operation self != e.
| e | The ConstFGridExpression instance to be compared with. |
| str CDPL.Math.ConstFGridExpression.__str__ | ( | ) |
Returns a string representation of the ConstFGridExpression instance.
| ConstFGridExpression CDPL.Math.ConstFGridExpression.__pos__ | ( | ) |
| ConstFGridExpression CDPL.Math.ConstFGridExpression.__neg__ | ( | ) |
| ConstFGridExpression CDPL.Math.ConstFGridExpression.__add__ | ( | ConstFGridExpression | e | ) |
Returns the result of the addition operation self + e.
| e | Specifies the second addend. |
ConstFGridExpression instance holding the result of the addition. | ConstFGridExpression CDPL.Math.ConstFGridExpression.__sub__ | ( | ConstFGridExpression | e | ) |
Returns the result of the subtraction operation self - e.
| e | Specifies the subtrahend. |
ConstFGridExpression instance holding the result of the subtraction. | ConstFGridExpression CDPL.Math.ConstFGridExpression.__mul__ | ( | float | t | ) |
Returns the result of the multiplication operation self * t.
| t | Specifies the multiplier. |
ConstFGridExpression instance holding the result of the multiplication. | ConstFGridExpression CDPL.Math.ConstFGridExpression.__div__ | ( | float | t | ) |
Returns the result of the division operation self / t.
| t | Specifies the divisor. |
ConstFGridExpression instance holding the result of the division. | ConstFGridExpression CDPL.Math.ConstFGridExpression.__truediv__ | ( | float | t | ) |
| t |
| ConstFGridExpression CDPL.Math.ConstFGridExpression.__rmul__ | ( | float | t | ) |
| t |