add

Function add 

Source
pub fn add(
    lhs: &(dyn Array + 'static),
    rhs: &(dyn Array + 'static),
) -> Result<Arc<dyn Array>, VortexError>
Expand description

Point-wise add two numeric arrays.

Errs at runtime if the sum would overflow or underflow.

The result is null at any index that either input is null.