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