fn _abc(size: u32) -> [NdArray<f32>; 3] {
    let mut rng = rand::thread_rng();
    let mut a = NdArray::new([size, size]);
    let mut b = NdArray::new([size, size]);
    let c = NdArray::new([size, size]);
    for i in 0..size as usize * size as usize {
        a.as_mut_slice()[i] = rng.gen_range(-1.2f32, 1.2);
        b.as_mut_slice()[i] = rng.gen_range(-1.2f32, 1.2);
    }

    [a, b, c]
}
/// return 3 square matrices of size `size`
return 3 square matrices of size `size`
return 3 square matrices of size ` size `
fn _abc(size: u32) -> [NdArray<f32>; 3] {
    let mut rng = rand::thread_rng();
    let mut a = NdArray::new([size, size]);
    let mut b = NdArray::new([size, size]);
    let c = NdArray::new([size, size]);
    for i in 0..size as usize * size as usize {
        a.as_mut_slice()[i] = rng.gen_range(-1.2f32, 1.2);
        b.as_mut_slice()[i] = rng.gen_range(-1.2f32, 1.2);
    }
    [a, b, c]
}
fn _abc ( size : u32 ) -> [ NdArray < f32 > ; 3 ] { let mut rng = rand :: thread_rng ( ) ; let mut a = NdArray :: new ( [ size , size ] ) ; let mut b = NdArray :: new ( [ size , size ] ) ; let c = NdArray :: new ( [ size , size ] ) ; for i in 0 .. size as usize * size as usize { a . as_mut_slice ( ) [ i ] = rng . gen_range ( - 1.2f32 , 1.2 ) ; b . as_mut_slice ( ) [ i ] = rng . gen_range ( - 1.2f32 , 1.2 ) ; } [ a , b , c ] }
return 3 square matrices of size `size`
return 3 square matrices of size ` size `
size
u32