ndarray
ndarray copied to clipboard
ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
https://numpy.org/doc/2.1/reference/generated/numpy.tensordot.html
This issue has been discussed in #827 and #366, but it remains partially unresolved. ## Problem and Previous solution When debugging `ndarray` arrays in VSCode, their display is often **not...
# Summary This RFC proposes a long-term plan for restructuring the library's core types and approach for handling shapes, strides, and dimensionalities. A successful implementation of new dimension types should...
This is not really an issue per-se, but I'm trying to gain some insight into why the ArrayBase serialization format is the way it is. With this example 2-D array:...
### Rationale Since we have something like `array.binary_fn(float)`, we could also have `array.binary_fn(array)`. Extends functionality of #1042 and #1507 ### New binary methods for RHS = float - atan2 ###...
While on a hunt for tests that are unnecessarily behind feature gates (turns out we have quite a few of them), I ran across the test [`oper::product`](https://github.com/rust-ndarray/ndarray/blob/3ce0134250162967cad8a9f637dd91121733ebed/tests/oper.rs#L256) that appears to...
In certain scenarios, it is convenient to create a new dimension by unpacking arrays. For example: ``` let angles = array![0.1, 0.2, 0.3]; let vectors = angles.mapv(|a| [a.cos(), a.sin()]); //...
Enable [Dependabot](https://docs.github.com/en/code-security/dependabot) to open PRs to update dependencies. Related PR - https://github.com/rust-ndarray/ndarray-stats/pull/106