Skip to content

Product

Product multiplies input 0 by input 1.

y = a * b

Port Direction Type
0, 1 Input Same numeric scalar type; one input may be a numeric array when the other is its scalar element type
0 Output The common scalar type, or the array type when one input is an array

Array-by-array multiplication is not supported by this block; use an element-wise operation where needed. A scalar factor is broadcast over an array.

None.

For inputs a = 2.5 and b = 4.0, the output is y = 10.0.