pub fn batch_div(
lhs: &[f64],
rhs: &[f64],
result: &mut [f64],
) -> Result<(), BatchError>Expand description
Batch element-wise division: result[i] = lhs[i] / rhs[i].
Division-by-zero follows IEEE-754: x / 0 → ±Inf, 0 / 0 → NaN.
§Errors
Returns BatchError::LengthMismatch when any of the three slices
has a different length.