Previous Up Next

6.45.8  Hadamard product: hadamard product .*

The hadamard command can find the Hadamard product of two matrices; namely, the term-by-term product of the two matrices.
The product command can do the same thing (see also Section 6.40.27 for other uses of product).

The infixed operator .* also finds the Hadamard product, and also works on lists.

Examples.


Previous Up Next