- chore: Remove Python 3.8 (EOL).
- precommit: Replace docformatter with ruff's formatter.
- Coerce
numpy.generic
instances todtype
in theSparseNdarray
constructor, for consistency with NumPy functions. - Avoid cast to float when operating on uint64 indices in a
SparseNdarray
.
- Support
dtype=
andcopy=
arguments in__array__()
, as required by NumPy v2. - Added getters for the
RegularTick
properties, for convenience.
- Add support for more numpy functions to dense and sparse
DelayedArrays
.
- Switch to
Grid
classes to control how iteration is performed. This supercedes the previouschunk_shape()
generic.
- Added a
buffer_size=
option to theapply*
functions. - Provide converter generics to SciPy classes, with methods for
SparseNdarray
and sparseDelayedArray
s. - Converted th
to_*_array()
functions into generics. - Correctly handle zero-extent arrays in the
apply*
functions. - Added methods to compute basic statistics (e.g., sum, variance) from a
SparseNdarray
. - Added a copy method for
SparseNdarray
. - Use block processing to compute basic statistics from a
DelayedArray
. - Do not require Fortran storage order from
extract_dense_array()
. - The
subset=
argument is now mandatory inextract_*_array()
calls. - Bugfix to respect changes in index dtype upon
SparseNdarray
concatenation.
- Support masking throughout the various operations and methods.
- Fixes to maintain support for Python 3.8.
- Support the delayed unary
logical_not
operation. - Added utilities like
choose_block_shape_for_iteration()
andapply_over_blocks()
to iterate over the dimensions or blocks.
- Bugfix for row-wise combining of 2-dimensional
SparseNdarray
s.
- Added a
wrap()
method that dispatches to differentDelayedArray
subclasses based on the seed.
- Replace the
__DelayedArray
methods with generics, for easier extensibility to classes outside of our control. - Restored the
SparseNdarray
class, to provide everyone with a consistent type during sparse operations. - Adapted
extract_array()
into theextract_dense_array()
generic, which now always returns a (Fortran-order) NumPy array. - Added the
extract_sparse_array()
generic, which always returns aSparseNdarray
object for sparse arrays. - Added the
is_sparse()
generic, which determines whether an object is sparse. - Minor fixes to the
repr()
method forDelayedArray
objects. - scipy is no longer required for installation but will be used if available.
- Added a
chunk_shape()
generic to identify the "best" direction for iterating over the matrix. - Added an easy way to compute iteration widths over the desired dimension.
- Corrected the reported
dtype
from a delayedCast
.
- separate dense and sparse matrix classes
- initial classes for H5 backed matrices