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

Public Member Functions

None swap (DVectorExpression e)
 
DVectorExpression assign (DVectorExpression e)
 Replaces the current state of self with a copy of the state of the DVectorExpression instance e. More...
 
DVectorExpression assign (ConstFVectorExpression e)
 Replaces the current state of self with a copy of the state of the ConstFVectorExpression instance e. More...
 
DVectorExpression assign (ConstDVectorExpression e)
 Replaces the current state of self with a copy of the state of the ConstDVectorExpression instance e. More...
 
DVectorExpression assign (ConstLVectorExpression e)
 Replaces the current state of self with a copy of the state of the ConstLVectorExpression instance e. More...
 
DVectorExpression assign (ConstULVectorExpression e)
 Replaces the current state of self with a copy of the state of the ConstULVectorExpression instance e. More...
 
None assign (object a)
 Replaces the current state of self with a copy of the state of the object instance a. More...
 
None setElement (int i, float v)
 
None __setitem__ (int i, float v)
 
DVectorExpression __iadd__ (DVectorExpression e)
 Performs the in-place addition operation self += e. More...
 
DVectorExpression __iadd__ (ConstDVectorExpression e)
 Performs the in-place addition operation self += e. More...
 
DVectorExpression __isub__ (DVectorExpression e)
 Performs the in-place subtraction operation self -= e. More...
 
DVectorExpression __isub__ (ConstDVectorExpression e)
 Performs the in-place subtraction operation self -= e. More...
 
DVectorExpression __imul__ (float t)
 Performs the in-place multiplication operation self *= t. More...
 
DVectorExpression __idiv__ (float t)
 Performs the in-place division operation self /= t. More...
 
DVectorExpression __itruediv__ (float t)
 
- Public Member Functions inherited from CDPL.Math.ConstDVectorExpression
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
bool isEmpty ()
 
int getSize ()
 
float getElement (int i)
 
object toArray ()
 
bool __eq__ (ConstDVectorExpression e)
 Returns the result of the comparison operation self == e. More...
 
bool __ne__ (ConstDVectorExpression e)
 Returns the result of the comparison operation self != e. More...
 
float __call__ (int i)
 
float __getitem__ (int i)
 
int __len__ ()
 
str __str__ ()
 Returns a string representation of the ConstDVectorExpression instance. More...
 
ConstDVectorExpression __pos__ ()
 
ConstDVectorExpression __neg__ ()
 
ConstDVectorExpression __add__ (ConstDVectorExpression e)
 Returns the result of the addition operation self + e. More...
 
ConstDVectorExpression __sub__ (ConstDVectorExpression e)
 Returns the result of the subtraction operation self - e. More...
 
ConstDVectorExpression __mul__ (float t)
 Returns the result of the multiplication operation self * t. More...
 
ConstDVectorExpression __mul__ (ConstDMatrixExpression e)
 Returns the result of the multiplication operation self * e. More...
 
ConstDVectorExpression __div__ (float t)
 Returns the result of the division operation self / t. More...
 
ConstDVectorExpression __truediv__ (float t)
 
ConstDVectorExpression __rmul__ (float t)
 

Additional Inherited Members

- Properties inherited from CDPL.Math.ConstDVectorExpression
 objectID = property(getObjectID)
 
 size = property(getSize)
 

Member Function Documentation

◆ swap()

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

◆ assign() [1/6]

DVectorExpression CDPL.Math.DVectorExpression.assign ( DVectorExpression  e)

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

Parameters
eThe DVectorExpression instance to copy.
Returns
self

◆ assign() [2/6]

DVectorExpression CDPL.Math.DVectorExpression.assign ( ConstFVectorExpression  e)

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

Parameters
eThe ConstFVectorExpression instance to copy.
Returns
self

◆ assign() [3/6]

DVectorExpression CDPL.Math.DVectorExpression.assign ( ConstDVectorExpression  e)

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

Parameters
eThe ConstDVectorExpression instance to copy.
Returns
self

◆ assign() [4/6]

DVectorExpression CDPL.Math.DVectorExpression.assign ( ConstLVectorExpression  e)

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

Parameters
eThe ConstLVectorExpression instance to copy.
Returns
self

◆ assign() [5/6]

DVectorExpression CDPL.Math.DVectorExpression.assign ( ConstULVectorExpression  e)

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

Parameters
eThe ConstULVectorExpression instance to copy.
Returns
self

◆ assign() [6/6]

None CDPL.Math.DVectorExpression.assign ( object  a)

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

Parameters
aThe object instance to copy.
Returns
self

◆ setElement()

None CDPL.Math.DVectorExpression.setElement ( int  i,
float  v 
)
Parameters
i
v

◆ __setitem__()

None CDPL.Math.DVectorExpression.__setitem__ ( int  i,
float  v 
)
Parameters
i
v

◆ __iadd__() [1/2]

DVectorExpression CDPL.Math.DVectorExpression.__iadd__ ( DVectorExpression  e)

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

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

◆ __iadd__() [2/2]

DVectorExpression CDPL.Math.DVectorExpression.__iadd__ ( ConstDVectorExpression  e)

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

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

◆ __isub__() [1/2]

DVectorExpression CDPL.Math.DVectorExpression.__isub__ ( DVectorExpression  e)

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

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

◆ __isub__() [2/2]

DVectorExpression CDPL.Math.DVectorExpression.__isub__ ( ConstDVectorExpression  e)

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

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

◆ __imul__()

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

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

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

◆ __idiv__()

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

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

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

◆ __itruediv__()

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