@emult |

Element by element multiplication of two numeric data objects.

Syntax: @emult(m1, m2)

m1: numeric object

m2: numeric object

Return: numeric object

Returns the element by element multiplication of two numeric objects.

Each element of the returned object is equal to the corresponding element in m1 multiplied by the corresponding element in m2.

Note m1 and m2 must be of identical dimensions.

Examples

Let M1 and M2 be matrices of IID log-normal variates. Then

matrix m3 = @emult(m1, m2)

creates M3, an matrix of IID log-normal variates.

Cross-references