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