Chemical Data Processing Library Python API - Version 1.2.0
|
Public Member Functions | |
None | __init__ (ConstLHomogenousCoordsAdapter a) |
Initializes a copy of the ConstLHomogenousCoordsAdapter instance a. More... | |
None | __init__ (ConstLVectorExpression e) |
Initializes the ConstLHomogenousCoordsAdapter instance. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
bool | isEmpty () |
int | getSize () |
int | getElement (int i) |
object | toArray () |
ConstLVectorExpression | getData () |
bool | __eq__ (ConstLHomogenousCoordsAdapter a) |
Returns the result of the comparison operation self == a . More... | |
bool | __eq__ (ConstLVectorExpression e) |
Returns the result of the comparison operation self == e . More... | |
bool | __ne__ (ConstLHomogenousCoordsAdapter a) |
Returns the result of the comparison operation self != a . More... | |
bool | __ne__ (ConstLVectorExpression e) |
Returns the result of the comparison operation self != e . More... | |
int | __call__ (int i) |
int | __getitem__ (int i) |
int | __len__ () |
str | __str__ () |
Returns a string representation of the ConstLHomogenousCoordsAdapter instance. More... | |
ConstLHomogenousCoordsAdapter | __pos__ () |
ConstLVectorExpression | __neg__ () |
ConstLVectorExpression | __add__ (ConstLVectorExpression e) |
Returns the result of the addition operation self + e . More... | |
ConstLVectorExpression | __sub__ (ConstLVectorExpression e) |
Returns the result of the subtraction operation self - e . More... | |
ConstLVectorExpression | __mul__ (int t) |
Returns the result of the multiplication operation self * t . More... | |
ConstLVectorExpression | __mul__ (ConstLMatrixExpression e) |
Returns the result of the multiplication operation self * e . More... | |
ConstLVectorExpression | __div__ (int t) |
Returns the result of the division operation self / t . More... | |
ConstLVectorExpression | __truediv__ (int t) |
ConstLVectorExpression | __rmul__ (int t) |
Properties | |
objectID = property(getObjectID) | |
size = property(getSize) | |
data = property(getData) | |
None CDPL.Math.ConstLHomogenousCoordsAdapter.__init__ | ( | ConstLHomogenousCoordsAdapter | a | ) |
Initializes a copy of the ConstLHomogenousCoordsAdapter instance a.
a | The ConstLHomogenousCoordsAdapter instance to copy. |
None CDPL.Math.ConstLHomogenousCoordsAdapter.__init__ | ( | ConstLVectorExpression | e | ) |
Initializes the ConstLHomogenousCoordsAdapter instance.
e |
int CDPL.Math.ConstLHomogenousCoordsAdapter.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ConstLHomogenousCoordsAdapter 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 ConstLHomogenousCoordsAdapter 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()
.
bool CDPL.Math.ConstLHomogenousCoordsAdapter.isEmpty | ( | ) |
int CDPL.Math.ConstLHomogenousCoordsAdapter.getSize | ( | ) |
int CDPL.Math.ConstLHomogenousCoordsAdapter.getElement | ( | int | i | ) |
i |
object CDPL.Math.ConstLHomogenousCoordsAdapter.toArray | ( | ) |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.getData | ( | ) |
bool CDPL.Math.ConstLHomogenousCoordsAdapter.__eq__ | ( | ConstLHomogenousCoordsAdapter | a | ) |
Returns the result of the comparison operation self == a
.
a | The ConstLHomogenousCoordsAdapter instance to be compared with. |
bool CDPL.Math.ConstLHomogenousCoordsAdapter.__eq__ | ( | ConstLVectorExpression | e | ) |
Returns the result of the comparison operation self == e
.
e | The ConstLVectorExpression instance to be compared with. |
bool CDPL.Math.ConstLHomogenousCoordsAdapter.__ne__ | ( | ConstLHomogenousCoordsAdapter | a | ) |
Returns the result of the comparison operation self != a
.
a | The ConstLHomogenousCoordsAdapter instance to be compared with. |
bool CDPL.Math.ConstLHomogenousCoordsAdapter.__ne__ | ( | ConstLVectorExpression | e | ) |
Returns the result of the comparison operation self != e
.
e | The ConstLVectorExpression instance to be compared with. |
int CDPL.Math.ConstLHomogenousCoordsAdapter.__call__ | ( | int | i | ) |
i |
int CDPL.Math.ConstLHomogenousCoordsAdapter.__getitem__ | ( | int | i | ) |
i |
int CDPL.Math.ConstLHomogenousCoordsAdapter.__len__ | ( | ) |
str CDPL.Math.ConstLHomogenousCoordsAdapter.__str__ | ( | ) |
Returns a string representation of the ConstLHomogenousCoordsAdapter instance.
ConstLHomogenousCoordsAdapter CDPL.Math.ConstLHomogenousCoordsAdapter.__pos__ | ( | ) |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__neg__ | ( | ) |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__add__ | ( | ConstLVectorExpression | e | ) |
Returns the result of the addition operation self + e
.
e | Specifies the second addend. |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__sub__ | ( | ConstLVectorExpression | e | ) |
Returns the result of the subtraction operation self - e
.
e | Specifies the subtrahend. |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__mul__ | ( | int | t | ) |
Returns the result of the multiplication operation self * t
.
t | Specifies the multiplier. |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__mul__ | ( | ConstLMatrixExpression | e | ) |
Returns the result of the multiplication operation self * e
.
e | Specifies the multiplier. |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__div__ | ( | int | t | ) |
Returns the result of the division operation self / t
.
t | Specifies the divisor. |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__truediv__ | ( | int | t | ) |
t |
ConstLVectorExpression CDPL.Math.ConstLHomogenousCoordsAdapter.__rmul__ | ( | int | t | ) |
t |