pub fn map3<A: Copy, B: Copy, C: Copy, U>( shape: &[usize], a: View<'_, A>, b: View<'_, B>, c: View<'_, C>, out: &mut [U], f: impl Fn(A, B, C) -> U, )
Applies f element-wise: out[i] = f(a[i], b[i], c[i]) in row-major order of shape.
f
out[i] = f(a[i], b[i], c[i])
shape
As map1.
map1