Matrix product. Equivalent to R's %*%. A vector is taken as a row or a column so that the product is defined (two vectors give their inner product as a 1 x 1 matrix).
%*%
matMul([[1, 2], [3, 4]], [[5], [6]]); // [[17], [39]]matMul([1, 2, 3], [4, 5, 6]); // [[32]] Copy
matMul([[1, 2], [3, 4]], [[5], [6]]); // [[17], [39]]matMul([1, 2, 3], [4, 5, 6]); // [[32]]
Matrix product. Equivalent to R's
%*%. A vector is taken as a row or a column so that the product is defined (two vectors give their inner product as a 1 x 1 matrix).