Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | List of all members
CDPL.Math.DGridExpression Class Reference
+ Inheritance diagram for CDPL.Math.DGridExpression:

Public Member Functions

None swap (DGridExpression e)
 
DGridExpression assign (DGridExpression e)
 Replaces the current state of self with a copy of the state of the DGridExpression instance e. More...
 
DGridExpression assign (ConstFGridExpression e)
 Replaces the current state of self with a copy of the state of the ConstFGridExpression instance e. More...
 
DGridExpression assign (ConstDGridExpression e)
 Replaces the current state of self with a copy of the state of the ConstDGridExpression instance e. More...
 
DGridExpression assign (object e)
 Replaces the current state of self with a copy of the state of the object instance e. More...
 
None setElement (int i, int j, int k, float v)
 
None __setitem__ (tuple ijk, float v)
 
DGridExpression __iadd__ (DGridExpression e)
 Performs the in-place addition operation self += e. More...
 
DGridExpression __iadd__ (ConstDGridExpression e)
 Performs the in-place addition operation self += e. More...
 
DGridExpression __isub__ (DGridExpression e)
 Performs the in-place subtraction operation self -= e. More...
 
DGridExpression __isub__ (ConstDGridExpression e)
 Performs the in-place subtraction operation self -= e. More...
 
DGridExpression __imul__ (float t)
 Performs the in-place multiplication operation self *= t. More...
 
DGridExpression __idiv__ (float t)
 Performs the in-place division operation self /= t. More...
 
DGridExpression __itruediv__ (float t)
 
- Public Member Functions inherited from CDPL.Math.ConstDGridExpression
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__ (ConstDGridExpression e)
 Returns the result of the comparison operation self == e. More...
 
bool __ne__ (ConstDGridExpression e)
 Returns the result of the comparison operation self != e. More...
 
str __str__ ()
 Returns a string representation of the ConstDGridExpression instance. More...
 
ConstDGridExpression __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)
 

Additional Inherited Members

- Properties inherited from CDPL.Math.ConstDGridExpression
 objectID = property(getObjectID)
 
 size1 = property(getSize1)
 
 size2 = property(getSize2)
 
 size3 = property(getSize3)
 

Member Function Documentation

◆ swap()

None CDPL.Math.DGridExpression.swap ( DGridExpression  e)
Parameters
e

◆ assign() [1/4]

DGridExpression CDPL.Math.DGridExpression.assign ( DGridExpression  e)

Replaces the current state of self with a copy of the state of the DGridExpression instance e.

Parameters
eThe DGridExpression instance to copy.
Returns
self

◆ assign() [2/4]

DGridExpression CDPL.Math.DGridExpression.assign ( ConstFGridExpression  e)

Replaces the current state of self with a copy of the state of the ConstFGridExpression instance e.

Parameters
eThe ConstFGridExpression instance to copy.
Returns
self

◆ assign() [3/4]

DGridExpression CDPL.Math.DGridExpression.assign ( ConstDGridExpression  e)

Replaces the current state of self with a copy of the state of the ConstDGridExpression instance e.

Parameters
eThe ConstDGridExpression instance to copy.
Returns
self

◆ assign() [4/4]

DGridExpression CDPL.Math.DGridExpression.assign ( object  e)

Replaces the current state of self with a copy of the state of the object instance e.

Parameters
eThe object instance to copy.
Returns
self

◆ setElement()

None CDPL.Math.DGridExpression.setElement ( int  i,
int  j,
int  k,
float  v 
)
Parameters
i
j
k
v

◆ __setitem__()

None CDPL.Math.DGridExpression.__setitem__ ( tuple  ijk,
float  v 
)
Parameters
ijk
v

◆ __iadd__() [1/2]

DGridExpression CDPL.Math.DGridExpression.__iadd__ ( DGridExpression  e)

Performs the in-place addition operation self += e.

Parameters
eSpecifies the second addend.
Returns
The updated DGridExpression instance self.

◆ __iadd__() [2/2]

DGridExpression CDPL.Math.DGridExpression.__iadd__ ( ConstDGridExpression  e)

Performs the in-place addition operation self += e.

Parameters
eSpecifies the second addend.
Returns
The updated DGridExpression instance self.

◆ __isub__() [1/2]

DGridExpression CDPL.Math.DGridExpression.__isub__ ( DGridExpression  e)

Performs the in-place subtraction operation self -= e.

Parameters
eSpecifies the subtrahend.
Returns
The updated DGridExpression instance self.

◆ __isub__() [2/2]

DGridExpression CDPL.Math.DGridExpression.__isub__ ( ConstDGridExpression  e)

Performs the in-place subtraction operation self -= e.

Parameters
eSpecifies the subtrahend.
Returns
The updated DGridExpression instance self.

◆ __imul__()

DGridExpression CDPL.Math.DGridExpression.__imul__ ( float  t)

Performs the in-place multiplication operation self *= t.

Parameters
tSpecifies the multiplier.
Returns
The updated DGridExpression instance self.

◆ __idiv__()

DGridExpression CDPL.Math.DGridExpression.__idiv__ ( float  t)

Performs the in-place division operation self /= t.

Parameters
tSpecifies the divisor.
Returns
The updated DGridExpression instance self.

◆ __itruediv__()

DGridExpression CDPL.Math.DGridExpression.__itruediv__ ( float  t)
Parameters
t
Returns