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