Function maximum
Source pub fn maximum<S1, S2, D, T>(
a: &ArrayBase<S1, D>,
b: &ArrayBase<S2, D>,
) -> Array<T, D>
Expand description
Compute the element-wise maximum of two arrays
This function uses parallel processing when available and
appropriate for the input arrays.
§Arguments
a
- First array
b
- Second array
§Returns
§Panics
- If the arrays have different shapes