You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Axis iterators can be used as IndexedParallelIterator, but it is not the case for ArrayBase, as shown below:
use rayon::prelude::*;fnmain(){let a = ndarray::Array1::<u32>::zeros(5);test_into_par_iter(&a);test_into_par_iter_indexed(&a);// <- Does not compile.}fntest_into_par_iter<T:IntoParallelIterator>(_x:T){}fntest_into_par_iter_indexed<T:IntoParallelIterator>(_x:T)whereT::Iter:IndexedParallelIterator,{}
From an outsider perspective, such an implementation appears to be possible. Is it intentionally omitted, or could it be added ?