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