MAX
Basic Overview
Description | Returns the maximum of matching values from two Nodes. Both nodes have to have either the same dimensionality, resulting in a Node with the same dimensionality, or one input needs to be a number, in which case the result has the dimensionality of the other Node. |
Syntax | MAX(Node1, Node2) |
Parameter |
|
Example
Input A =
Year | Value |
---|---|
2019 | 32 |
2020 | -42 |
2021 | -17 |
Input B =
Year | Value |
---|---|
2019 | 41 |
2020 | 12 |
2021 | -25 |
Output MAX('A', 'B') =
Year | Value |
---|---|
2019 | 41 |
2020 | 12 |
2021 | -17 |
Output MAX('A', 7) =
Year | Value |
---|---|
2019 | 32 |
2020 | 7 |
2021 | 7 |