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