![]() |
Chemical Data Processing Library Python API - Version 1.2.3
|
Inheritance diagram for CDPL.Math.FScalarGrid:Public Member Functions | |
| None | __init__ () |
| Initializes the FScalarGrid instance. | |
| None | __init__ (FScalarGrid g) |
| Initializes a copy of the FScalarGrid instance g. More... | |
| None | __init__ (int m, int n, int o, float v=0.0) |
| Initializes the FScalarGrid instance. More... | |
| None | resize (int m, int n, int o) |
| 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) |
| float | getElement (int i) |
| object | toArray () |
| int | getSize () |
| FScalarGrid | assign (FScalarGrid g) |
Replaces the current state of self with a copy of the state of the FScalarGrid instance g. More... | |
| None | swap (FScalarGrid g) |
| float | __call__ (int i, int j, int k) |
| float | __call__ (int i) |
| float | __getitem__ (tuple ijk) |
| float | __getitem__ (int i) |
| int | __len__ () |
| bool | __eq__ (FScalarGrid g) |
Returns the result of the comparison operation self == g. More... | |
| bool | __eq__ (ConstFGridExpression e) |
Returns the result of the comparison operation self == e. More... | |
| bool | __ne__ (FScalarGrid g) |
Returns the result of the comparison operation self != g. More... | |
| bool | __ne__ (ConstFGridExpression e) |
Returns the result of the comparison operation self != e. More... | |
| str | __str__ () |
| Returns a string representation of the FScalarGrid instance. More... | |
| FScalarGrid | __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) | |
| None CDPL.Math.FScalarGrid.__init__ | ( | FScalarGrid | g | ) |
Initializes a copy of the FScalarGrid instance g.
| g | The FScalarGrid instance to copy. |
| None CDPL.Math.FScalarGrid.__init__ | ( | int | m, |
| int | n, | ||
| int | o, | ||
| float | v = 0.0 |
||
| ) |
Initializes the FScalarGrid instance.
| m | |
| n | |
| o | |
| v |
| None CDPL.Math.FScalarGrid.resize | ( | int | m, |
| int | n, | ||
| int | o | ||
| ) |
| m | |
| n | |
| o |
| int CDPL.Math.FScalarGrid.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python FScalarGrid 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 FScalarGrid 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.FScalarGrid.getSize1 | ( | ) |
| int CDPL.Math.FScalarGrid.getSize2 | ( | ) |
| int CDPL.Math.FScalarGrid.getSize3 | ( | ) |
| bool CDPL.Math.FScalarGrid.isEmpty | ( | ) |
| float CDPL.Math.FScalarGrid.getElement | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) |
| i | |
| j | |
| k |
| float CDPL.Math.FScalarGrid.getElement | ( | int | i | ) |
| i |
| object CDPL.Math.FScalarGrid.toArray | ( | ) |
| int CDPL.Math.FScalarGrid.getSize | ( | ) |
| FScalarGrid CDPL.Math.FScalarGrid.assign | ( | FScalarGrid | g | ) |
Replaces the current state of self with a copy of the state of the FScalarGrid instance g.
| g | The FScalarGrid instance to copy. |
| None CDPL.Math.FScalarGrid.swap | ( | FScalarGrid | g | ) |
| g |
| float CDPL.Math.FScalarGrid.__call__ | ( | int | i, |
| int | j, | ||
| int | k | ||
| ) |
| i | |
| j | |
| k |
| float CDPL.Math.FScalarGrid.__call__ | ( | int | i | ) |
| i |
| float CDPL.Math.FScalarGrid.__getitem__ | ( | tuple | ijk | ) |
| ijk |
| float CDPL.Math.FScalarGrid.__getitem__ | ( | int | i | ) |
| i |
| int CDPL.Math.FScalarGrid.__len__ | ( | ) |
| bool CDPL.Math.FScalarGrid.__eq__ | ( | FScalarGrid | g | ) |
Returns the result of the comparison operation self == g.
| g | The FScalarGrid instance to be compared with. |
| bool CDPL.Math.FScalarGrid.__eq__ | ( | ConstFGridExpression | e | ) |
Returns the result of the comparison operation self == e.
| e | The ConstFGridExpression instance to be compared with. |
| bool CDPL.Math.FScalarGrid.__ne__ | ( | FScalarGrid | g | ) |
Returns the result of the comparison operation self != g.
| g | The FScalarGrid instance to be compared with. |
| bool CDPL.Math.FScalarGrid.__ne__ | ( | ConstFGridExpression | e | ) |
Returns the result of the comparison operation self != e.
| e | The ConstFGridExpression instance to be compared with. |
| str CDPL.Math.FScalarGrid.__str__ | ( | ) |
Returns a string representation of the FScalarGrid instance.
| FScalarGrid CDPL.Math.FScalarGrid.__pos__ | ( | ) |
| ConstFGridExpression CDPL.Math.FScalarGrid.__neg__ | ( | ) |
| ConstFGridExpression CDPL.Math.FScalarGrid.__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.FScalarGrid.__sub__ | ( | ConstFGridExpression | e | ) |
Returns the result of the subtraction operation self - e.
| e | Specifies the subtrahend. |
FScalarGrid instance holding the result of the subtraction. | ConstFGridExpression CDPL.Math.FScalarGrid.__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.FScalarGrid.__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.FScalarGrid.__truediv__ | ( | float | t | ) |
| t |
| ConstFGridExpression CDPL.Math.FScalarGrid.__rmul__ | ( | float | t | ) |
| t |