The maximum value in a vector.
values (nimble Base object) – Must be one-dimensional.
See also
minimum
Examples
>>> lst = [0, 1, 2, float('nan')] >>> vector = nimble.data(lst) >>> maximum(vector) 2.0