Maximum
This function block is responsible for calculating the maximum value from a series of input numbers. It also returns the index of this maximum value.
π₯ Inputs
The number of input values can be dynamically adjusted based on the selected input size. The inputs will be accepted in the form of generic sockets.
π€ Outputs
Generic
The maximum value from the list of provided inputs.
Index
The index of the maximum value within the input list.
πΉοΈ Controls
Input Size
A dropdown menu that allows you to select how many inputs you want to work with. It ranges from 2 to 20.
π¨ Features
Dynamic Input Adjustment
Automatically adjusts the number of input sockets based on the selected size in the dropdown.
Simple Maximum Calculation
Uses NumPy's efficient methods to compute the maximum value and its index.
π Usage Instructions
Select Input Size: Use the dropdown menu to select how many numbers (from 2 to 20) you want to input.
Connect Inputs: Connect your input values to the available sockets that appear based on the number you selected.
Evaluate: Run the block to calculate the maximum value from the connected inputs and receive the output.
π Evaluation
When evaluated, this function block will return the maximum value from all input connections and indicate its position within the input list.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated