Skip to main content

max

Function max 

Source
pub fn max(backend: ComputeBackend, x: &Field<f64>) -> f64
Expand description

Largest element. Returns -inf for an empty field, matching Field::max.

Units: the field’s own units. Bit-identical to the serial fold on every backend, because max is associative.