Skip to main content

add

Function add 

Source
pub fn add(
    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 OR.