Skip to main content

subtract

Function subtract 

Source
pub fn subtract(
    a: impl Into<ScalarOrArray>,
    b: impl Into<ScalarOrArray>,
) -> Result<Array>
Expand description

Element-wise a - b, with promotion and broadcasting. Integers wrap; for booleans this is logical XOR.