Skip to main content

batch_mul

Function batch_mul 

Source
pub fn batch_mul(
    lhs: &[f64],
    rhs: &[f64],
    result: &mut [f64],
) -> Result<(), BatchError>
Expand description

Batch element-wise multiplication: result[i] = lhs[i] * rhs[i].

ยงErrors

Returns BatchError::LengthMismatch when any of the three slices has a different length.