pub fn batch_abs(inp: &[f64], result: &mut [f64]) -> Result<(), BatchError>Expand description
Batch element-wise absolute value: result[i] = |inp[i]|.
ยงErrors
Returns BatchError::LengthMismatch when inp and result differ
in length.
pub fn batch_abs(inp: &[f64], result: &mut [f64]) -> Result<(), BatchError>Batch element-wise absolute value: result[i] = |inp[i]|.
Returns BatchError::LengthMismatch when inp and result differ
in length.