Chemical Data Processing Library Python API - Version 1.2.0
|
A bounded 4x4 matrix holding floating point values of type float
.
More...
Public Member Functions | |
None | __init__ () |
Initializes the Matrix4F instance. | |
None | __init__ (float v) |
Initializes the Matrix4F instance. More... | |
None | __init__ (Matrix4F m) |
Initializes a copy of the Matrix4F instance m. More... | |
None | __init__ (ConstFMatrixExpression e) |
Initializes the Matrix4F instance. More... | |
None | __init__ (ConstDMatrixExpression e) |
Initializes the Matrix4F instance. More... | |
None | __init__ (ConstLMatrixExpression e) |
Initializes the Matrix4F instance. More... | |
None | __init__ (ConstULMatrixExpression e) |
Initializes the Matrix4F instance. More... | |
None | __init__ (object a) |
Initializes the Matrix4F instance. More... | |
None | clear (float v=0.0) |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
Matrix4F | assign (ConstFMatrixExpression e) |
Replaces the current state of self with a copy of the state of the ConstFMatrixExpression instance e. More... | |
Matrix4F | assign (ConstDMatrixExpression e) |
Replaces the current state of self with a copy of the state of the ConstDMatrixExpression instance e. More... | |
Matrix4F | assign (ConstLMatrixExpression e) |
Replaces the current state of self with a copy of the state of the ConstLMatrixExpression instance e. More... | |
Matrix4F | assign (ConstULMatrixExpression e) |
Replaces the current state of self with a copy of the state of the ConstULMatrixExpression instance e. More... | |
Matrix4F | assign (Matrix4F m) |
Replaces the current state of self with a copy of the state of the Matrix4F instance m. More... | |
None | assign (object a) |
Replaces the current state of self with a copy of the state of the object instance a. More... | |
int | getSize1 () |
int | getSize2 () |
bool | isEmpty () |
float | getElement (int i, int j) |
object | toArray () |
None | swap (Matrix4F m) |
None | setElement (int i, int j, float v) |
float | __call__ (int i, int j) |
float | __getitem__ (tuple ij) |
int | __len__ () |
bool | __eq__ (Matrix4F m) |
Returns the result of the comparison operation self == m . More... | |
bool | __eq__ (ConstFMatrixExpression e) |
Returns the result of the comparison operation self == e . More... | |
bool | __ne__ (Matrix4F m) |
Returns the result of the comparison operation self != m . More... | |
bool | __ne__ (ConstFMatrixExpression e) |
Returns the result of the comparison operation self != e . More... | |
str | __str__ () |
Returns a string representation of the Matrix4F instance. More... | |
Matrix4F | __pos__ () |
ConstFMatrixExpression | __neg__ () |
ConstFMatrixExpression | __add__ (ConstFMatrixExpression e) |
Returns the result of the addition operation self + e . More... | |
ConstFMatrixExpression | __sub__ (ConstFMatrixExpression e) |
Returns the result of the subtraction operation self - e . More... | |
ConstFMatrixExpression | __mul__ (float t) |
Returns the result of the multiplication operation self * t . More... | |
ConstFMatrixExpression | __mul__ (ConstFMatrixExpression e) |
Returns the result of the multiplication operation self * e . More... | |
ConstFVectorExpression | __mul__ (ConstFVectorExpression e) |
Returns the result of the multiplication operation self * e . More... | |
ConstFMatrixExpression | __div__ (float t) |
Returns the result of the division operation self / t . More... | |
ConstFMatrixExpression | __truediv__ (float t) |
ConstFMatrixExpression | __rmul__ (float t) |
None | __setitem__ (tuple ij, float v) |
Matrix4F | __iadd__ (Matrix4F m) |
Performs the in-place addition operation self += m . More... | |
Matrix4F | __iadd__ (ConstFMatrixExpression e) |
Performs the in-place addition operation self += e . More... | |
Matrix4F | __isub__ (Matrix4F m) |
Performs the in-place subtraction operation self -= m . More... | |
Matrix4F | __isub__ (ConstFMatrixExpression e) |
Performs the in-place subtraction operation self -= e . More... | |
Matrix4F | __imul__ (float t) |
Performs the in-place multiplication operation self *= t . More... | |
Matrix4F | __idiv__ (float t) |
Performs the in-place division operation self /= t . More... | |
Matrix4F | __itruediv__ (float t) |
Properties | |
objectID = property(getObjectID) | |
size1 = property(getSize1) | |
size2 = property(getSize2) | |
A bounded 4x4 matrix holding floating point values of type float
.
None CDPL.Math.Matrix4F.__init__ | ( | float | v | ) |
Initializes the Matrix4F instance.
v |
None CDPL.Math.Matrix4F.__init__ | ( | Matrix4F | m | ) |
Initializes a copy of the Matrix4F instance m.
m | The Matrix4F instance to copy. |
None CDPL.Math.Matrix4F.__init__ | ( | ConstFMatrixExpression | e | ) |
Initializes the Matrix4F instance.
e |
None CDPL.Math.Matrix4F.__init__ | ( | ConstDMatrixExpression | e | ) |
Initializes the Matrix4F instance.
e |
None CDPL.Math.Matrix4F.__init__ | ( | ConstLMatrixExpression | e | ) |
Initializes the Matrix4F instance.
e |
None CDPL.Math.Matrix4F.__init__ | ( | ConstULMatrixExpression | e | ) |
Initializes the Matrix4F instance.
e |
None CDPL.Math.Matrix4F.__init__ | ( | object | a | ) |
Initializes the Matrix4F instance.
a |
None CDPL.Math.Matrix4F.clear | ( | float | v = 0.0 | ) |
v |
int CDPL.Math.Matrix4F.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python Matrix4F 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 Matrix4F 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()
.
Matrix4F CDPL.Math.Matrix4F.assign | ( | ConstFMatrixExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstFMatrixExpression instance e.
e | The ConstFMatrixExpression instance to copy. |
Matrix4F CDPL.Math.Matrix4F.assign | ( | ConstDMatrixExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstDMatrixExpression instance e.
e | The ConstDMatrixExpression instance to copy. |
Matrix4F CDPL.Math.Matrix4F.assign | ( | ConstLMatrixExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstLMatrixExpression instance e.
e | The ConstLMatrixExpression instance to copy. |
Matrix4F CDPL.Math.Matrix4F.assign | ( | ConstULMatrixExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstULMatrixExpression instance e.
e | The ConstULMatrixExpression instance to copy. |
Replaces the current state of self with a copy of the state of the Matrix4F instance m.
m | The Matrix4F instance to copy. |
None CDPL.Math.Matrix4F.assign | ( | object | a | ) |
Replaces the current state of self with a copy of the state of the object instance a.
a | The object instance to copy. |
int CDPL.Math.Matrix4F.getSize1 | ( | ) |
int CDPL.Math.Matrix4F.getSize2 | ( | ) |
bool CDPL.Math.Matrix4F.isEmpty | ( | ) |
float CDPL.Math.Matrix4F.getElement | ( | int | i, |
int | j | ||
) |
i | |
j |
object CDPL.Math.Matrix4F.toArray | ( | ) |
None CDPL.Math.Matrix4F.swap | ( | Matrix4F | m | ) |
m |
None CDPL.Math.Matrix4F.setElement | ( | int | i, |
int | j, | ||
float | v | ||
) |
i | |
j | |
v |
float CDPL.Math.Matrix4F.__call__ | ( | int | i, |
int | j | ||
) |
i | |
j |
float CDPL.Math.Matrix4F.__getitem__ | ( | tuple | ij | ) |
ij |
int CDPL.Math.Matrix4F.__len__ | ( | ) |
bool CDPL.Math.Matrix4F.__eq__ | ( | Matrix4F | m | ) |
Returns the result of the comparison operation self == m
.
m | The Matrix4F instance to be compared with. |
bool CDPL.Math.Matrix4F.__eq__ | ( | ConstFMatrixExpression | e | ) |
Returns the result of the comparison operation self == e
.
e | The ConstFMatrixExpression instance to be compared with. |
bool CDPL.Math.Matrix4F.__ne__ | ( | Matrix4F | m | ) |
Returns the result of the comparison operation self != m
.
m | The Matrix4F instance to be compared with. |
bool CDPL.Math.Matrix4F.__ne__ | ( | ConstFMatrixExpression | e | ) |
Returns the result of the comparison operation self != e
.
e | The ConstFMatrixExpression instance to be compared with. |
str CDPL.Math.Matrix4F.__str__ | ( | ) |
Returns a string representation of the Matrix4F instance.
Matrix4F CDPL.Math.Matrix4F.__pos__ | ( | ) |
ConstFMatrixExpression CDPL.Math.Matrix4F.__neg__ | ( | ) |
ConstFMatrixExpression CDPL.Math.Matrix4F.__add__ | ( | ConstFMatrixExpression | e | ) |
Returns the result of the addition operation self + e
.
e | Specifies the second addend. |
ConstFMatrixExpression CDPL.Math.Matrix4F.__sub__ | ( | ConstFMatrixExpression | e | ) |
Returns the result of the subtraction operation self - e
.
e | Specifies the subtrahend. |
ConstFMatrixExpression CDPL.Math.Matrix4F.__mul__ | ( | float | t | ) |
Returns the result of the multiplication operation self * t
.
t | Specifies the multiplier. |
ConstFMatrixExpression CDPL.Math.Matrix4F.__mul__ | ( | ConstFMatrixExpression | e | ) |
Returns the result of the multiplication operation self * e
.
e | Specifies the multiplier. |
ConstFVectorExpression CDPL.Math.Matrix4F.__mul__ | ( | ConstFVectorExpression | e | ) |
Returns the result of the multiplication operation self * e
.
e | Specifies the multiplier. |
ConstFMatrixExpression CDPL.Math.Matrix4F.__div__ | ( | float | t | ) |
Returns the result of the division operation self / t
.
t | Specifies the divisor. |
ConstFMatrixExpression CDPL.Math.Matrix4F.__truediv__ | ( | float | t | ) |
t |
ConstFMatrixExpression CDPL.Math.Matrix4F.__rmul__ | ( | float | t | ) |
t |
None CDPL.Math.Matrix4F.__setitem__ | ( | tuple | ij, |
float | v | ||
) |
ij | |
v |
Performs the in-place addition operation self += m
.
m | Specifies the second addend. |
Matrix4F CDPL.Math.Matrix4F.__iadd__ | ( | ConstFMatrixExpression | e | ) |
Performs the in-place addition operation self += e
.
e | Specifies the second addend. |
Performs the in-place subtraction operation self -= m
.
m | Specifies the subtrahend. |
Matrix4F CDPL.Math.Matrix4F.__isub__ | ( | ConstFMatrixExpression | e | ) |
Performs the in-place subtraction operation self -= e
.
e | Specifies the subtrahend. |
Matrix4F CDPL.Math.Matrix4F.__imul__ | ( | float | t | ) |
Performs the in-place multiplication operation self *= t
.
t | Specifies the multiplier. |
Matrix4F CDPL.Math.Matrix4F.__idiv__ | ( | float | t | ) |
Performs the in-place division operation self /= t
.
t | Specifies the divisor. |
Matrix4F CDPL.Math.Matrix4F.__itruediv__ | ( | float | t | ) |
t |