Qu

maximum

Builtin index · Core maths

maximum(a, b)

Input: a, b · Output: no output

What it is

Elementwise larger/smaller of two arguments — exactly max(a, b) / min(a, b) (which already worked elementwise), under the names NumPy users type. A NaN operand loses to the number, as in max: maximum([1, nan], [3, 4]) is [3, 4]. Needs two arguments.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
maximum(a, b)
a —not documented yet
b —not documented yet
not documented yetA NaN operand loses to the number, as in max: maximum([1, nan], [3, 4]) is [3, 4]. Needs two arguments.

Examples

No documentation example calls this form yet. The Core maths chapter is where one belongs.

See also

minimum — documented in the same entry.