Skip to main content

subtract

Function subtract 

Source
pub fn subtract<T, D>(
    a: &Array<T, D>,
    b: &Array<T, D>,
) -> Result<Array<T, D>, FerrayError>
where T: Element + Sub<Output = T> + Copy, D: Dimension,
Expand description

Elementwise subtraction with NumPy broadcasting. SIMD-dispatched for same-shape f64/f32 inputs (#88).