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

Would it make sense to have `a.le(b)` (also `a.leq(b)`, `a.ge(b)`, `a.geq(b)`) return boolean arrays? (where `a, b : PartialOrd` and properly broadcastable).

There's some nice docs on array creation in the [ndarray for numpy docs](https://docs.rs/ndarray/latest/ndarray/doc/ndarray_for_numpy_users/index.html#rough-ndarraynumpy-equivalents), but it would be nice if there was a separate section in the main documentation that listed...

A-docs

Recall the definition of `LinalgScalar`: https://github.com/rust-ndarray/ndarray/blob/eb82c93f0147df38e061597221ece3627f119a60/src/linalg_traits.rs#L18-L28 However, no algorithm involving `LinalgScalar` requires the scalar to be invertible in the additive group and multiplicative semigroup, in this crate at the very...

This PR adds an `array.reserve(axis, additional)` method for use when appending multiple times to an array. It abstracts over the code in `append` that was calling `OwnedRepr::reserve` in order to...

There is a [`bitvec`](https://crates.io/crates/bitvec) crate which offers space efficient storage for one-dimensional `bool` arrays and vectors. I'm contracted for a project which would benefit from `BitArrayD` analogous to `ArrayD`. Eventually...

Requesting to add SIMD support for Wasm build targets. [Burn](https://github.com/burn-rs/burn) project uses NDArray for [one its backends](https://github.com/burn-rs/burn/tree/main/burn-ndarray). It is possible to build this backend for WASM target. According to [this...

Unlike `mapv_into`, `mapv_into_any` currently always returns a heap-allocated `Array` even if the source is something else - in my case, `ArcArray`. It would be great if, like `mapv_into`, it was...

enhancement

For matrix $A$, $B$, calculating $A^TB$ should be able to use `gemm` routine, however, it doesn't ```rust let a = Array2::::zeros((10000, 1000)); let b = Array2::::zeros((10000, 1000)); let _ =...

Hi, for some reason this isn't working for me: ```rust let a = array![[1.]].into_dyn(); let b = array![[1.]].into_dyn(); let c = a.dot(&b); ``` I'm getting this error: ``` no method...

enhancement

Thanks for your contribution. I am using VSCode for my Rust project. When I use ndarray, I am not able to see the data in Variable explorer and it only...