Product¶
Description¶
Calculate an elementwise product of several arrays.
Inputs¶
Array or matrix \(a_1\).
Array or matrix \(a_2\).
Array or matrix \(a_N\).
The inputs are passed via multiply()
method.
Each input is either a scalar or have to have dimension the same as other non-scalar inputs.
Outputs¶
'product.product'
— the product \(P\).
Implementation¶
Computes a product \(P\):
\[P_{ij} = \prod\limits_{k=1}^N (a_k)_{ij}.\]
If \(a_k\) is a scalar, then \((a_k)_{ij}=a_k\).