|
__init__(self,
dim)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
set_values(self,
*values)
Using specified values to initialize the vector. |
source code
|
|
|
set_data(self,
data)
Using raw data (python list) to initialize the vector. |
source code
|
|
|
|
|
|
|
get_data(self)
Raw data as built-in python list. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
units(self,
unit_vector)
How many times the current vector fits in the specified units (in
norm). |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|