maximum
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.
| Code | Input | Output | Description |
maximum(a, b) | a —not documented yetb —not documented yet | not documented yet | A 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.