I appreciate the response, i'm trying to zip the following and then loop through them zipped as rows, and then eventually add a parallel function. Can you s how me how to zip them,then also how it would be to use a into_par_iter().
The documentation example-wise on this topic is ridiculously bad. unexplainable. The rayon crate and the ndarray crate and the zip crate LACK EXAMPLES!!!
let mut products_big = array![[14.0, 2.0, 0.0],[3.0, 0.0, 0.0],[0.0, 1.0, 0.0],[0.0, 2.0, 0.0]];
let products_bigg = array![[12.0, 2.0, 0.0],[5.0, 0.0, 0.0],[0.0, 1.0, 0.0],[0.0, 2.0, 0.0]];
let products_biggg = array![[144.0, 2.0, 0.0],[6.0, 0.0, 0.0],[0.0, 1.0, 0.0],[0.0, 2.0, 0.0]];
let products_bigggg = array![[164.0, 2.0, 0.0],[9.0, 0.0, 0.0],[0.0, 1.0, 0.0],[0.0, 2.0, 0.0]];
Zip::from(&mut products_big.rows()).and(&products_bigg.rows()).and(&products_biggg).for_each(|j,k,l| {
println!("fucker1 {:?}",(l));
println!("fucker2 {:?}",(j));
println!("fucker3 {:?}",(k));
});