Appearance
Min / Max Double
Outputs the smallest (Min) or largest (Max) of 2 to 5 double inputs. The number of input ports follows the Inputs setting. If any input is NaN the result follows std::fmin / std::fmax and ignores it unless every input is NaN. To pick the smallest or largest of int signals such as mode numbers or counters, use Min / Max Int.
Category: Math
Ports
| Port | Kind | Signal | Notes |
|---|---|---|---|
in_1 | Control input | Real | |
in_2 | Control input | Real | |
in_3 | Control input | Real | Shown when Inputs is at least 3 |
in_4 | Control input | Real | Shown when Inputs is at least 4 |
in_5 | Control input | Real | Shown when Inputs is at least 5 |
out | Control output | Real |
Parameters
| Parameter | Type | Default | Units | Description | ID |
|---|---|---|---|---|---|
| Operation | Choice: Min / Max | Min | — | Min = output the smallest input. Max = output the largest input. | op |
| Inputs | Choice: 2 / 3 / 4 / 5 | 2 | — | How many input ports the block has (2-5). | num_inputs |