Skip to main content

max

Function max 

Source
pub fn max<T: SimdOps>(data: &[T]) -> T
Expand description

Computes the maximum element of the slice using runtime-dispatched SIMD.

Returns T::MIN_VALUE for empty slices.