times - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


MTM

  

times

  

element-wise multiplication

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

times(M1,M2)

Parameters

M1

-

array or expression

M2

-

array or expression

Description

• 

The times(M1,M2) function performs element-wise multiplication of M1 * M2.  The result, R, is formed as R[i,j] = M1[i,j] * M2[i,j].

• 

Arrays M1 and M2 must be the same size.

Examples

withMTM:

M1Matrix2,3,fill=3:

M2Matrix2,3,fill=2:

timesM1,M2

666666

(1)

See Also

MTM[ldivide]

MTM[Minus]

MTM[mrdivide]

MTM[mtimes]

MTM[plus]

MTM[rdivide]