ndarray
ndarray copied to clipboard
ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
This is a follow-up to MathCell introduced in #877. MathCell should have arithmetic operations so that *arrays* and *views* using `MathCell` elements can participate in some arithmetic ops. Preferably together...
From #775: > We should add `multi_slice_axis_mut` and `multi_slice_axis_move` methods, in the same way that `slice_axis_mut` is analogous to `slice_mut`. Are the methods `multi_slice_axis_mut` and `multi_slice_axis_move` still desired? I was...
Instead of moving windows by 1 in every direction, it would be great if they could be strided arbitrarily. Are there any plans for this? Or maybe it's already supported?
The `.remove_axis()`, `.insert_axis()`, `.into_subview()`, and `.slice_move()` methods do not currently have in-place variants that change the number of dimensions, because for fixed-dimensionality arrays the type changes when changing the number...
Ideas and tracking to take advantage of “new” features in Rust All features to be used because of what gain they give us, not to score points. **Formulate goal &...
Already implemented features and todos: ---- - [x] `ExactChunks` and `ExactChunksMut` aswell as their `NdProducer` impl - [ ] `RaggedChunks` or simply `Chunks` aswell as their `NdProducer` impl - [x]...
C-order is the default order. The following functions need adaption for f-order: - [x] map - [x] to_owned - [x] zip_mut_with broadcast from 0 - [ ] zip_mut_with general -...
See issue #166 for the whole discussion.
The [`.into_shape()`](https://docs.rs/ndarray/0.10.13/ndarray/struct.ArrayBase.html#method.into_shape) method works in some cases, but compared to NumPy's [`reshape()`](https://docs.scipy.org/doc/numpy/reference/generated/numpy.reshape.html#numpy.reshape) has the following limitations: 1. It only works for arrays with contiguous memory layout. 2. The result depends...
Hi, thank you for this great library. I encountered a problem when creating an `ArrayView` with a pointer and negative strides (see https://github.com/PyO3/rust-numpy/issues/151 for the full context). We can do...