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

ArrayView::broadcast has a lifetime that depends on &self instead of its internal buffer. This prevents writing some types of functions in an allocation-free way. For instance, take the numpy `meshgrid`...

cumprod [numpy](https://numpy.org/doc/stable/reference/generated/numpy.cumprod.html) has this implemented. It is the torch.cumprod It will be good to have this implemented. The library I am working on [burn](https://github.com/tracel-ai/burn) - is adding prod functionality and...

My attempt to implement Debug for Iter, I also did so for IterMut. #1204 Example: input: ```rust fn main() { let foo = ndarray::Array1::::zeros(10); println!("{:?}", std::iter::zip(0..foo.len(), &foo)); } ``` output:...

product_axis is like sum_axis but for product. [numpy](https://numpy.org/doc/stable/reference/generated/numpy.prod.html) has this implemented. it is the torch.prod equivalent with the dim argument. It will be good to have this implemented. Some of...

Take a look at the following example: ```rust fn reference_covariant &'a f64 { x } fn arrayview_covariant) -> ArrayView1(x: ArrayView1 { -- lifetime `'a` defined here x ^ returning this...

enhancement
help wanted

The code in this repository doesn't seem to be formatted by rustfmt, which can lead to useless discussions and back and forth in the PRs. The advantages of a standard...

As I described in https://github.com/rust-ndarray/ndarray/issues/1339, an array with `IxDyn` has 10x slower iteration performance than an equivalent array using a fixed-size index. This has wide-reaching implications, as this means that...

Adding `trill` method for two-dimensional arrays in order to create a lower triangular matrix from a given matrix. This function reproduces the behavior of the [Matlab function with same name](https://www.mathworks.com/help/matlab/ref/tril.html):...

I am working on the [ndarray-interp](https://github.com/jonasBoss/ndarray-interp) crate, which is generic over the number of dimensions. This causes difficulties when the I need to construct a Dimension that is bigger than...

Only small-sized arguments work for `arr2`, `arr3`, etc. This is a duplicate of issue #446 which (IMO) was closed prematurely. ```rust use ndarray::prelude::*; fn main() { // This works let...

enhancement
question