Chemical Data Processing Library Python API - Version 1.2.0
|
Public Member Functions | |
None | __init__ (ULHomogenousCoordsAdapter a) |
Initializes a copy of the ULHomogenousCoordsAdapter instance a. More... | |
None | __init__ (ULVectorExpression e) |
Initializes the ULHomogenousCoordsAdapter instance. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
ULHomogenousCoordsAdapter | assign (ConstFVectorExpression e) |
Replaces the current state of self with a copy of the state of the ConstFVectorExpression instance e. More... | |
ULHomogenousCoordsAdapter | assign (ConstDVectorExpression e) |
Replaces the current state of self with a copy of the state of the ConstDVectorExpression instance e. More... | |
ULHomogenousCoordsAdapter | assign (ConstLVectorExpression e) |
Replaces the current state of self with a copy of the state of the ConstLVectorExpression instance e. More... | |
ULHomogenousCoordsAdapter | assign (ConstULVectorExpression e) |
Replaces the current state of self with a copy of the state of the ConstULVectorExpression instance e. More... | |
ULHomogenousCoordsAdapter | assign (ULHomogenousCoordsAdapter r) |
Replaces the current state of self with a copy of the state of the ULHomogenousCoordsAdapter instance r. More... | |
None | assign (object a) |
Replaces the current state of self with a copy of the state of the object instance a. More... | |
bool | isEmpty () |
int | getSize () |
int | getElement (int i) |
object | toArray () |
None | swap (ULHomogenousCoordsAdapter r) |
None | setElement (int i, int v) |
ULVectorExpression | getData () |
bool | __eq__ (ULHomogenousCoordsAdapter r) |
Returns the result of the comparison operation self == r . More... | |
bool | __eq__ (ConstULVectorExpression e) |
Returns the result of the comparison operation self == e . More... | |
bool | __ne__ (ULHomogenousCoordsAdapter r) |
Returns the result of the comparison operation self != r . More... | |
bool | __ne__ (ConstULVectorExpression 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 ULHomogenousCoordsAdapter instance. More... | |
ULHomogenousCoordsAdapter | __pos__ () |
ConstULVectorExpression | __neg__ () |
ConstULVectorExpression | __add__ (ConstULVectorExpression e) |
Returns the result of the addition operation self + e . More... | |
ConstULVectorExpression | __sub__ (ConstULVectorExpression e) |
Returns the result of the subtraction operation self - e . More... | |
ConstULVectorExpression | __mul__ (int t) |
Returns the result of the multiplication operation self * t . More... | |
ConstULVectorExpression | __mul__ (ConstULMatrixExpression e) |
Returns the result of the multiplication operation self * e . More... | |
ConstULVectorExpression | __div__ (int t) |
Returns the result of the division operation self / t . More... | |
ConstULVectorExpression | __truediv__ (int t) |
ConstULVectorExpression | __rmul__ (int t) |
None | __setitem__ (int i, int v) |
ULHomogenousCoordsAdapter | __iadd__ (ULHomogenousCoordsAdapter a) |
Performs the in-place addition operation self += a . More... | |
ULHomogenousCoordsAdapter | __iadd__ (ConstULVectorExpression e) |
Performs the in-place addition operation self += e . More... | |
ULHomogenousCoordsAdapter | __isub__ (ULHomogenousCoordsAdapter a) |
Performs the in-place subtraction operation self -= a . More... | |
ULHomogenousCoordsAdapter | __isub__ (ConstULVectorExpression e) |
Performs the in-place subtraction operation self -= e . More... | |
ULHomogenousCoordsAdapter | __imul__ (int t) |
Performs the in-place multiplication operation self *= t . More... | |
ULHomogenousCoordsAdapter | __idiv__ (int t) |
Performs the in-place division operation self /= t . More... | |
ULHomogenousCoordsAdapter | __itruediv__ (int t) |
Properties | |
objectID = property(getObjectID) | |
size = property(getSize) | |
data = property(getData) | |
None CDPL.Math.ULHomogenousCoordsAdapter.__init__ | ( | ULHomogenousCoordsAdapter | a | ) |
Initializes a copy of the ULHomogenousCoordsAdapter instance a.
a | The ULHomogenousCoordsAdapter instance to copy. |
None CDPL.Math.ULHomogenousCoordsAdapter.__init__ | ( | ULVectorExpression | e | ) |
Initializes the ULHomogenousCoordsAdapter instance.
e |
int CDPL.Math.ULHomogenousCoordsAdapter.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ULHomogenousCoordsAdapter 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 ULHomogenousCoordsAdapter 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()
.
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.assign | ( | ConstFVectorExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstFVectorExpression instance e.
e | The ConstFVectorExpression instance to copy. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.assign | ( | ConstDVectorExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstDVectorExpression instance e.
e | The ConstDVectorExpression instance to copy. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.assign | ( | ConstLVectorExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstLVectorExpression instance e.
e | The ConstLVectorExpression instance to copy. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.assign | ( | ConstULVectorExpression | e | ) |
Replaces the current state of self with a copy of the state of the ConstULVectorExpression instance e.
e | The ConstULVectorExpression instance to copy. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.assign | ( | ULHomogenousCoordsAdapter | r | ) |
Replaces the current state of self with a copy of the state of the ULHomogenousCoordsAdapter instance r.
r | The ULHomogenousCoordsAdapter instance to copy. |
None CDPL.Math.ULHomogenousCoordsAdapter.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. |
bool CDPL.Math.ULHomogenousCoordsAdapter.isEmpty | ( | ) |
int CDPL.Math.ULHomogenousCoordsAdapter.getSize | ( | ) |
int CDPL.Math.ULHomogenousCoordsAdapter.getElement | ( | int | i | ) |
i |
object CDPL.Math.ULHomogenousCoordsAdapter.toArray | ( | ) |
None CDPL.Math.ULHomogenousCoordsAdapter.swap | ( | ULHomogenousCoordsAdapter | r | ) |
r |
None CDPL.Math.ULHomogenousCoordsAdapter.setElement | ( | int | i, |
int | v | ||
) |
i | |
v |
ULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.getData | ( | ) |
bool CDPL.Math.ULHomogenousCoordsAdapter.__eq__ | ( | ULHomogenousCoordsAdapter | r | ) |
Returns the result of the comparison operation self == r
.
r | The ULHomogenousCoordsAdapter instance to be compared with. |
bool CDPL.Math.ULHomogenousCoordsAdapter.__eq__ | ( | ConstULVectorExpression | e | ) |
Returns the result of the comparison operation self == e
.
e | The ConstULVectorExpression instance to be compared with. |
bool CDPL.Math.ULHomogenousCoordsAdapter.__ne__ | ( | ULHomogenousCoordsAdapter | r | ) |
Returns the result of the comparison operation self != r
.
r | The ULHomogenousCoordsAdapter instance to be compared with. |
bool CDPL.Math.ULHomogenousCoordsAdapter.__ne__ | ( | ConstULVectorExpression | e | ) |
Returns the result of the comparison operation self != e
.
e | The ConstULVectorExpression instance to be compared with. |
int CDPL.Math.ULHomogenousCoordsAdapter.__call__ | ( | int | i | ) |
i |
int CDPL.Math.ULHomogenousCoordsAdapter.__getitem__ | ( | int | i | ) |
i |
int CDPL.Math.ULHomogenousCoordsAdapter.__len__ | ( | ) |
str CDPL.Math.ULHomogenousCoordsAdapter.__str__ | ( | ) |
Returns a string representation of the ULHomogenousCoordsAdapter instance.
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__pos__ | ( | ) |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__neg__ | ( | ) |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__add__ | ( | ConstULVectorExpression | e | ) |
Returns the result of the addition operation self + e
.
e | Specifies the second addend. |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__sub__ | ( | ConstULVectorExpression | e | ) |
Returns the result of the subtraction operation self - e
.
e | Specifies the subtrahend. |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__mul__ | ( | int | t | ) |
Returns the result of the multiplication operation self * t
.
t | Specifies the multiplier. |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__mul__ | ( | ConstULMatrixExpression | e | ) |
Returns the result of the multiplication operation self * e
.
e | Specifies the multiplier. |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__div__ | ( | int | t | ) |
Returns the result of the division operation self / t
.
t | Specifies the divisor. |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__truediv__ | ( | int | t | ) |
t |
ConstULVectorExpression CDPL.Math.ULHomogenousCoordsAdapter.__rmul__ | ( | int | t | ) |
t |
None CDPL.Math.ULHomogenousCoordsAdapter.__setitem__ | ( | int | i, |
int | v | ||
) |
i | |
v |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__iadd__ | ( | ULHomogenousCoordsAdapter | a | ) |
Performs the in-place addition operation self += a
.
a | Specifies the second addend. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__iadd__ | ( | ConstULVectorExpression | e | ) |
Performs the in-place addition operation self += e
.
e | Specifies the second addend. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__isub__ | ( | ULHomogenousCoordsAdapter | a | ) |
Performs the in-place subtraction operation self -= a
.
a | Specifies the subtrahend. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__isub__ | ( | ConstULVectorExpression | e | ) |
Performs the in-place subtraction operation self -= e
.
e | Specifies the subtrahend. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__imul__ | ( | int | t | ) |
Performs the in-place multiplication operation self *= t
.
t | Specifies the multiplier. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__idiv__ | ( | int | t | ) |
Performs the in-place division operation self /= t
.
t | Specifies the divisor. |
ULHomogenousCoordsAdapter CDPL.Math.ULHomogenousCoordsAdapter.__itruediv__ | ( | int | t | ) |
t |