ndarray
ndarray copied to clipboard
ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
It would be great to have a convenient equivalent to `numpy.linspace(start, end, endpoint=False)`. This comes up all the time for me, and I don't see a current clean way to...
cargo: ```toml [dependencies] ndarray = {version = "0.15", features = ["serde", "rayon"]} serde_json = "1.0" serde = {version = "1.0", features = ["derive"]} ``` ```rust #[derive(Serialize, Deserialize, Debug)] struct myst{...
I wanted to calculate a mean over an `ArrayView1` with 1000 values and encounter a panic: `thread 'main' panicked at 'attempt to add with overflow', /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/arith.rs:107:1` Is this intended? Or...
Closes #992. Add a new module `impl_float_maths` under `std` feature. If there are missing anything you like, or something should not comes here, any suggestion are welcome! For integer things,...
I have recently started using the [`split_complex`](https://docs.rs/ndarray/latest/ndarray/struct.ArrayBase.html#method.split_complex) function which has been of great help, but I was wondering whether there is a convenience function for constructing a complex array from...
benchmark `sum_3_azip` seems to perform abysmally compared with the equivalent `sum_3_azip_fold`, investigate why, and why the former doesn't autovectorize like the latter.
We'd like functionality like einsum, that would be awesome. Einsum is such a big feature that the preferred approach would be that a separate crate implements einsum. (This information has...
Hello! I would like to thank you for developing this wonderful repository. I think it would be useful to be able to index the `slice_axis`,`slice_axis_mut`,`slice_axis_inplace` methods with `s!` macro. What...
This change attempts to improve the ergonomics of indexing dynamic dimension arrays. Let's say we have: ```rust let mut a = ArrayD::::zeros(vec![1, 2]); let index = vec![0, 0]; ``` (Of...
A naive outer product implementation. Related to issue #1148.