ndarray
ndarray copied to clipboard
ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
## Purpose The idea behind this collection is to provide an index to easily navigate all currently open ndarray's issues which are **immediately** actionable. This is meant to be a...
This adds a method to get the offset from the start of the allocation to the first element. Without this method, correctly reinterpreting the results of `.into_raw_vec()` as an n-D...
This is an improvement to reduce `Array::mapv` calling. ```rust use num_traits::Float; // For Array impl ArrayBase where A: Float, S: RawData, D: Dimension, { pub fn square(&self) -> Array {...
I'd like to index a tensor along all but the last axis, getting as a result a 1d view of the innermost axis. I thought I'd be able to use...
See rust-lang/rust/issues/29717 Use to select impl for unrolled dot product and scalar sum.
Based on trying to help in Issue #452 , I found some interesting behavior regarding either `Zip` or `azip!`. I've given examples down below ``` let a = arr3(&[[[ 0,...
Is there any way to slice ArrayBase in a way that wouldn’t panic? Looked through the docs searching for `-> Option` and `-> Result` and couldn’t find anything obviously relevant.
Add track caller to any function, method, trait that has a documented panics section. I also used cargo fmt to tidy up my semi-auto track_caller labelling so there may be...
Add `#[track_caller]` to some panicking methods. Slicing methods seem the most prudent (Index/Mut does not apply, sorry). Needs benchmarks to investigate impact, preferably holistic benchmarks.