Element-wise product with R's recycling (a shorter vector is recycled down the columns of a matrix). Equivalent to R's *. The matrix product is matMul.
*
multiply([[1, 2], [3, 4]], [10, 20]); // [[10, 20], [60, 80]]multiply([1, 2, 3], 2); // [2, 4, 6] Copy
multiply([[1, 2], [3, 4]], [10, 20]); // [[10, 20], [60, 80]]multiply([1, 2, 3], 2); // [2, 4, 6]
Element-wise product with R's recycling (a shorter vector is recycled down the columns of a matrix). Equivalent to R's
*. The matrix product is matMul.