ndarray icon indicating copy to clipboard operation
ndarray copied to clipboard

ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations

Results 209 ndarray issues
Sort by recently updated
recently updated
newest added
trafficstars

I found that `ArrayBase` has no equivalent method to `np.outer` of `numpy`. This is quite surprising because outer product is a standard feature and is trivial to implement. For example,...

There are a few minor features and improvements we can do with const generics. This meta-issue is mainly about those. Big-ticket items get their own issue. In particular remaking index...

enhancement

The next release of `ndarray` will have a `multislice!` macro for easily taking multiple mutable, disjoint slices simultaneously. (#388) This is great, but there are cases where you want to...

enhancement

This may seem like a strange ask, but in the computer vision community we are currently working on trying to develop an abstraction over various color models for images. A...

A couple different times I have wanted to construct a 2D array from an iterator of 1D arrays. Is this something that should be added to ndarray? Roughly, I'm thinking...

enhancement

Before this PR, running `MIRIFLAGS="-Zmiri-tag-raw-pointers" cargo miri test` caused Miri to report undefined behavior for code using the `WindowsIter`, `ExactChunksIter`, and `ExactChunksIterMut` iterators. This PR fixes the underlying issue. Basically,...

bug

`rustfmt` is very convenient when writing PRs, but when it's not enforced by CI, the formatting in the project inevitably diverges from the `rustfmt` style. So, when I run `rustfmt`...

Before this PR, running `MIRIFLAGS="-Zmiri-tag-raw-pointers" cargo miri test test_map_axis` caused Miri to report undefined behavior in the `test_map_axis` test. This PR fixes the underlying issue. Basically, Miri doesn't like us...

bug

Some methods (e.g. `.remove_axis()`, `.into_subview()`, and `.slice_move()`) can cause some of the elements in an owned array to be come inaccessable. It would be useful to have a method that...

enhancement

In [Eigen](https://eigen.tuxfamily.org/index.php?title=Main_Page), We can write `Matrix` to represent a matrix with fixed 4x4 size. In Rust, I would imaging syntax similar to `ArrayBase`, which has no allocation, const bound check...