nimble.calculate.maximum

nimble.calculate.maximum(values)

The maximum value in a vector.

Parameters:

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