Skip to main content

maximum

Function maximum 

Source
pub fn maximum<F>(x: F, y: F) -> F
where F: Float,
Expand description

The greater of x and y, as max gives the greatest item. Beside NaN, or where they’re equal, it gives y. A fold that passes its running result as y keeps it beside a NaN item. NumPy calls it maximum.