Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ () |
Initializes the ULRealQuaternion instance. | |
None | __init__ (ULRealQuaternion q) |
Initializes a copy of the ULRealQuaternion instance q. More... | |
None | __init__ (int r) |
Initializes the ULRealQuaternion instance. More... | |
ULRealQuaternion | set (int r=0) |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
int | getC1 () |
int | getC2 () |
int | getC3 () |
int | getC4 () |
object | toArray () |
ULRealQuaternion | assign (ULRealQuaternion q) |
Replaces the current state of self with a copy of the state of the ULRealQuaternion instance q. More... | |
None | swap (ULRealQuaternion q) |
ULRealQuaternion | __iadd__ (int t) |
Performs the in-place addition operation self += t . More... | |
ULRealQuaternion | __iadd__ (object q) |
Performs the in-place addition operation self += q . More... | |
ULRealQuaternion | __isub__ (int t) |
Performs the in-place subtraction operation self -= t . More... | |
ULRealQuaternion | __isub__ (object q) |
Performs the in-place subtraction operation self -= q . More... | |
ULRealQuaternion | __imul__ (int t) |
Performs the in-place multiplication operation self *= t . More... | |
ULRealQuaternion | __imul__ (object q) |
Performs the in-place multiplication operation self *= q . More... | |
ULRealQuaternion | __idiv__ (int t) |
Performs the in-place division operation self /= t . More... | |
ULRealQuaternion | __idiv__ (object q) |
Performs the in-place division operation self /= q . More... | |
ULRealQuaternion | __itruediv__ (int t) |
ULRealQuaternion | __itruediv__ (object q) |
bool | __eq__ (ULRealQuaternion q) |
Returns the result of the comparison operation self == q . More... | |
bool | __eq__ (ConstULQuaternionExpression q) |
Returns the result of the comparison operation self == q . More... | |
bool | __ne__ (ULRealQuaternion q) |
Returns the result of the comparison operation self != q . More... | |
bool | __ne__ (ConstULQuaternionExpression q) |
Returns the result of the comparison operation self != q . More... | |
str | __str__ () |
Returns a string representation of the ULRealQuaternion instance. More... | |
ULRealQuaternion | __pos__ () |
ConstULQuaternionExpression | __neg__ () |
ConstULQuaternionExpression | __add__ (int t) |
Returns the result of the addition operation self + t . More... | |
ConstULQuaternionExpression | __add__ (ConstULQuaternionExpression e) |
Returns the result of the addition operation self + e . More... | |
ConstULQuaternionExpression | __radd__ (int t) |
ConstULQuaternionExpression | __sub__ (int t) |
Returns the result of the subtraction operation self - t . More... | |
ConstULQuaternionExpression | __sub__ (ConstULQuaternionExpression e) |
Returns the result of the subtraction operation self - e . More... | |
ConstULQuaternionExpression | __rsub__ (int t) |
ConstULQuaternionExpression | __mul__ (int t) |
Returns the result of the multiplication operation self * t . More... | |
ConstULQuaternionExpression | __mul__ (ConstULQuaternionExpression e) |
Returns the result of the multiplication operation self * e . More... | |
ConstULQuaternionExpression | __rmul__ (int t) |
ConstULQuaternionExpression | __div__ (int t) |
Returns the result of the division operation self / t . More... | |
ConstULQuaternionExpression | __div__ (ConstULQuaternionExpression e) |
Returns the result of the division operation self / e . More... | |
ConstULQuaternionExpression | __truediv__ (int t) |
ConstULQuaternionExpression | __rdiv__ (int t) |
Properties | |
objectID = property(getObjectID) | |
None CDPL.Math.ULRealQuaternion.__init__ | ( | ULRealQuaternion | q | ) |
Initializes a copy of the ULRealQuaternion instance q.
q | The ULRealQuaternion instance to copy. |
None CDPL.Math.ULRealQuaternion.__init__ | ( | int | r | ) |
Initializes the ULRealQuaternion instance.
r |
ULRealQuaternion CDPL.Math.ULRealQuaternion.set | ( | int | r = 0 | ) |
r |
int CDPL.Math.ULRealQuaternion.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ULRealQuaternion 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 ULRealQuaternion 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()
.
int CDPL.Math.ULRealQuaternion.getC1 | ( | ) |
int CDPL.Math.ULRealQuaternion.getC2 | ( | ) |
int CDPL.Math.ULRealQuaternion.getC3 | ( | ) |
int CDPL.Math.ULRealQuaternion.getC4 | ( | ) |
object CDPL.Math.ULRealQuaternion.toArray | ( | ) |
ULRealQuaternion CDPL.Math.ULRealQuaternion.assign | ( | ULRealQuaternion | q | ) |
Replaces the current state of self with a copy of the state of the ULRealQuaternion instance q.
q | The ULRealQuaternion instance to copy. |
None CDPL.Math.ULRealQuaternion.swap | ( | ULRealQuaternion | q | ) |
q |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__iadd__ | ( | int | t | ) |
Performs the in-place addition operation self += t
.
t | Specifies the second addend. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__iadd__ | ( | object | q | ) |
Performs the in-place addition operation self += q
.
q | Specifies the second addend. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__isub__ | ( | int | t | ) |
Performs the in-place subtraction operation self -= t
.
t | Specifies the subtrahend. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__isub__ | ( | object | q | ) |
Performs the in-place subtraction operation self -= q
.
q | Specifies the subtrahend. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__imul__ | ( | int | t | ) |
Performs the in-place multiplication operation self *= t
.
t | Specifies the multiplier. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__imul__ | ( | object | q | ) |
Performs the in-place multiplication operation self *= q
.
q | Specifies the multiplier. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__idiv__ | ( | int | t | ) |
Performs the in-place division operation self /= t
.
t | Specifies the divisor. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__idiv__ | ( | object | q | ) |
Performs the in-place division operation self /= q
.
q | Specifies the divisor. |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__itruediv__ | ( | int | t | ) |
t |
ULRealQuaternion CDPL.Math.ULRealQuaternion.__itruediv__ | ( | object | q | ) |
q |
bool CDPL.Math.ULRealQuaternion.__eq__ | ( | ULRealQuaternion | q | ) |
Returns the result of the comparison operation self == q
.
q | The ULRealQuaternion instance to be compared with. |
bool CDPL.Math.ULRealQuaternion.__eq__ | ( | ConstULQuaternionExpression | q | ) |
Returns the result of the comparison operation self == q
.
q | The ConstULQuaternionExpression instance to be compared with. |
bool CDPL.Math.ULRealQuaternion.__ne__ | ( | ULRealQuaternion | q | ) |
Returns the result of the comparison operation self != q
.
q | The ULRealQuaternion instance to be compared with. |
bool CDPL.Math.ULRealQuaternion.__ne__ | ( | ConstULQuaternionExpression | q | ) |
Returns the result of the comparison operation self != q
.
q | The ConstULQuaternionExpression instance to be compared with. |
str CDPL.Math.ULRealQuaternion.__str__ | ( | ) |
Returns a string representation of the ULRealQuaternion instance.
ULRealQuaternion CDPL.Math.ULRealQuaternion.__pos__ | ( | ) |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__neg__ | ( | ) |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__add__ | ( | int | t | ) |
Returns the result of the addition operation self + t
.
t | Specifies the second addend. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__add__ | ( | ConstULQuaternionExpression | e | ) |
Returns the result of the addition operation self + e
.
e | Specifies the second addend. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__radd__ | ( | int | t | ) |
t |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__sub__ | ( | int | t | ) |
Returns the result of the subtraction operation self - t
.
t | Specifies the subtrahend. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__sub__ | ( | ConstULQuaternionExpression | e | ) |
Returns the result of the subtraction operation self - e
.
e | Specifies the subtrahend. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__rsub__ | ( | int | t | ) |
t |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__mul__ | ( | int | t | ) |
Returns the result of the multiplication operation self * t
.
t | Specifies the multiplier. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__mul__ | ( | ConstULQuaternionExpression | e | ) |
Returns the result of the multiplication operation self * e
.
e | Specifies the multiplier. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__rmul__ | ( | int | t | ) |
t |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__div__ | ( | int | t | ) |
Returns the result of the division operation self / t
.
t | Specifies the divisor. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__div__ | ( | ConstULQuaternionExpression | e | ) |
Returns the result of the division operation self / e
.
e | Specifies the divisor. |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__truediv__ | ( | int | t | ) |
t |
ConstULQuaternionExpression CDPL.Math.ULRealQuaternion.__rdiv__ | ( | int | t | ) |
t |