Product
Purpose
Multiply and divide scalar or vectorized input signals
Library
Control / Math
Description
The Product block multiplies or divides input signals. If the division operator / is used, the reciprocal of the input signal is used for multiplication.
In case of a single input, all elements of the input vector are multiplied. Vectorized input signals of the same width are multiplied element wise and result in a vectorized output signal. If vectorized and scalar input signals are mixed, the scalar input signals are expanded to the width of the vectorized input signals.
Parameter
- List of operators or number of inputs
- The inputs can be specified either with
a string containing * or / for each input and | for spacers, or
a positive integer declaring the number of inputs to be multiplied.
Probe Signals
-
Input
- The
th input signal.
- Output
- The block output signal.