Simd

Latest version: v0.1.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.0

First minor release, includes some new methods like `as_tuple()` as well as arithmetic methods like `add` or `sub`. Also, this release builds in a process of embedding Python in `.c` test files to test the extension from inside C, rather than just via Python.

0.0.4

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

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.