pub fn max_primitive<T>(array: &PrimitiveArray<T>) -> Option<T> where
T: NativeType + Simd,
T::Simd: SimdOrd<T>,
Expand description
Returns the maximum value in the array, according to the natural order. For floating point arrays any NaN values are considered to be greater than any other non-null value