PyEVSpace API#
PyEVSpace Documentation#
The documentation for the package is split into four sections: Vector, Matrix, Rotation and ReferenceFrame APIs.
Note
The underlying data type of the internal array is a C type
double
. This obviously supports any type that can be represented
as a Python float
, which includes Python int
types.
Therefore numeric types are interpreted in the following order:
float
s are converted to a Cdouble
A conversion is attempted with the type’s
__float__()
methodA conversion is attempted with the type’s
__index__()
methodNo suitable conversion can be made and a TypeError is raised
Therefore in this documentation a numeric type is any type that is
either a float
or int
or can be converted to a
float
or int
.
- Vector API Reference
- Matrix API Reference
- Rotation API Reference
- ReferenceFrame API Reference