Multiply

This function block is designed to perform multiplication operations on any number of input values. Users can dynamically adjust the number of inputs associated with this block.

📥 Inputs

Input size A dropdown that allows the user to specify how many input values they want to multiply. Options range from 2 to 20 values.

Number This represents the actual numerical input values to be multiplied together. The number of these inputs adjusts based on the selection made in the dropdown.

📤 Outputs

Number This output provides the result of multiplying all the connected input values together.

🕹️ Controls

Input size A dropdown menu to select the number of inputs to be used in the multiplication operation. It dynamically updates the number of input sockets based on the selected value.

🎨 Features

Dynamic Input Adjustment Depending on the user's selection, the block will automatically add or remove input sockets accordingly.

Simple Multiplication This block executes multiplication for multiple input values seamlessly, providing results in real time.

📝 Usage Instructions

  1. Select Input Size: Use the Input size dropdown to select how many numbers you want to multiply (between 2 and 20).

  2. Connect Inputs: Connect the numeric values to the input sockets provided.

  3. Evaluate: The block will automatically calculate and output the product of all connected input values.

📊 Evaluation

When evaluated, this function block will return the product of all input numbers. Ensure that all necessary input sockets are connected to receive an accurate output.

💡 Tips and Tricks

Using in series

You can concatenate multiple Multiply blocks to perform continuous multiplication operations. Ensure outputs from one are properly connected to inputs of the next.

Combining with Add function

You can combine this block with the Add function block to calculate both products and sums as part of a larger mathematical operation.

Batch Processing

For efficiency, consider using the Batch Processing block if you need to process large sets of numbers with this multiplication operation regularly.

🛠️ Troubleshooting

No Output

Ensure all input sockets are properly connected and the Input size has been set accordingly. If one or more inputs are missing, the evaluation may produce no output.

Incorrect Results

Verify that all numbers connected to the input sockets are indeed numerical values. Non-numerical inputs can lead to unintended results.

Last updated