builtins.Exception(builtins.BaseException)
SimdError
builtins.object
Vec
class Vec(builtins.object)
| A vector containing simd data
|
| Methods defined here:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self, /)
| Return repr(self).
|
| add(...)
| Adds a vector into another vector, without creating a new vector
|
| as_bytes(...)
| Returns a bytes object representing the internal bytes of the vector
|
| clear(...)
| Sets all bytes in the vector to 0
|
| copy(...)
| Returns a copy of the vector
|
| fadd(...)
| Adds a vector into another vector as floating point numbers
|
| fsub(...)
| Subtracts a vector from another vector as floating point numbers
|
| resize(...)
| Resizes the vector to the desired capacity
|
| size(...)
| Returns the current size of the vector
|
| sub(...)
| Subtracts a vector from another vector, without creating a new vector