Closed
Description
So I'm a new user to ndarray and was recommended to open an issue with any roadblocks or issues I have using ndarray as areas where the docs or examples could be improved to make it easier for people to use.
Currently my one issue is trying to multiply two views of an array together saving the result in a new array. I'm taking a window of an array, multiplying it by a provided ArrayView3
but I just get some variant of
Note: an implementation of `std::ops::Mul` might be missing for `ndarray::ArrayBase<ndarray::OwnedRepr<T>, ndarray::dimension::dim::Dim<[usize; 3]>>`
Or
Note: an implementation of `std::ops::Mul` might be missing for `ndarray::ArrayBase<ndarray::ViewRepr<&T>, ndarray::dimension::dim::Dim<[usize; 3]>>`
I thought from the docs here that multiplying references to the Window
and the ArrayView3
would work. But it doesn't and I haven't found any docs or examples that have helped me figure this out yet.
For reference the code is here: