|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__getitem__(self,
index)
Gets a component as though the vector were a list. |
source code
|
|
|
|
__setitem__(self,
index,
value)
Sets a component as though the vector were a list. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__mul__(self,
rhs)
Return the result of multiplying this vector with a scalar or a
vector-list object. |
source code
|
|
|
|
__imul__(self,
rhs)
Multiplys this vector with a scalar or a vector-list object. |
source code
|
|
|
|
|
|
|
__div__(self,
rhs)
Return the result of dividing this vector by a scalar or a
vector-list object. |
source code
|
|
|
|
__idiv__(self,
rhs)
Divides this vector with a scalar or a vector-list object. |
source code
|
|
|
|
|
|
|
__neg__(self)
Return the negation of this vector. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Tuple
|
|
|
|
get_length(self)
Returns the length of this vector. |
source code
|
|
|
|
get_magnitude(self)
Returns the length of this vector. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__
|