Binary package “python3-cyarray” in ubuntu jammy
Fast, typed, resizable, Cython array
The cyarray package provides a fast, typed, re-sizable, Cython array.
.
It currently provides the following arrays: ``IntArray, UIntArray,
LongArray, FloatArray, DoubleArray``.
.
All arrays provide for the following operations:
.
- access by indexing.
- access through get/set function.
- resizing the array.
- appending values at the end of the array.
- reserving space for future appends.
- access to internal data through a numpy array.
.
If you are writing Cython code this is a convenient array to use as it
exposes the raw underlying pointer to the data.
For example if you use a ``FloatArray`` and access its ``data``
attribute it will be a ``float*``.
.
Each array also provides an interface to its data through a numpy
array.
This is done through the ``get_npy_array`` function.
The returned numpy array can be used just like any other numpy array
but for the following restrictions:
.
- the array may not be resized.
- references of this array should not be kept.
- slices of this array may not be made.
.
The numpy array may however be copied and used in any manner.
Source package
Published versions
- python3-cyarray 1.1-4build1 in amd64 (Proposed)
- python3-cyarray 1.1-4build1 in amd64 (Release)
- python3-cyarray 1.1-4build1 in arm64 (Proposed)
- python3-cyarray 1.1-4build1 in arm64 (Release)
- python3-cyarray 1.1-4build1 in armhf (Proposed)
- python3-cyarray 1.1-4build1 in armhf (Release)
- python3-cyarray 1.1-4build1 in ppc64el (Proposed)
- python3-cyarray 1.1-4build1 in ppc64el (Release)
- python3-cyarray 1.1-4build1 in riscv64 (Proposed)
- python3-cyarray 1.1-4build1 in riscv64 (Release)
- python3-cyarray 1.1-4build1 in s390x (Proposed)
- python3-cyarray 1.1-4build1 in s390x (Release)