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

In `numpy` you can roll an array along an axis. Which is an index shift with wrap around, meaning, that given an array ``` a = np.arange(1, 10).reshape(3, 3) [[1,...

I'm just looking at the activity level in terms of PRs being merged, wondering if this project is still a thing?

When writing some iterator helper functions around the base `ndarray` iterators, I found a scenario where the borrow checker rejects what seems to be valid code. The scenario is generating...

In engineering tasks there is often a need for `diff` function (calculate the n-th discrete difference along the given axis). numpy [contains](https://docs.scipy.org/doc/numpy/reference/generated/numpy.diff.html) the function that works with n-d arrays. I...

enhancement
good first issue

https://github.com/dgrunwald/rust-cpython allows users to return numpy arrays from rust bindings with the `Buffer` type. It could be nice to add `rust-cpython` as an optional feature so that those of us...

A-docs

I want to make `SliceInfo` for generic `ObsD` dimension. Like if `ObsD == Ix1` then `Array1::Slice_mut( sliceInfo_with_Ix1 )`, if `ObsD == Ix2` then `Array2::Slice_mut( sliceInfo_with_Ix2 )` `slice_mut` argument seems need...

Would you consider adding the above-mentioned impl to enable a more ergonomic handling of arrays of rational numbers?

enhancement

As the `rust-clippy` issue https://github.com/rust-lang/rust-clippy/issues/5808 doesn't seam to make much progress I propose to just `allow` the lint for `s![]` macro invocations for now. The `let = ...` is necessary,...

It seems that the examples here https://github.com/rust-ndarray/ndarray/tree/master/examples can be moved to https://github.com/rust-ndarray/ndarray-examples, which, in my view, doesn't just have to contain machine learning examples, but could contain even simple examples...

See http://docs.scipy.org/doc/numpy-1.10.1/user/basics.broadcasting.html A more general form of broadcasting, it's like two-sided broadcasting, broadcast to a common shape that's not the same as either left or right shape. In #898 -...

broadcast