MTM - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : MTM Package : MTM/Minus

MTM

  

Minus

  

matrix subtraction

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Minus(M1,M2)

Parameters

M1

-

Array

M2

-

Array

Description

• 

The minus(M1,M2) function performs matrix subtraction of M1 - M2.  If M2 is a scalar, then M2 is subtracted from each element of M2.

• 

Arrays M1 and M2 must be the same size.

Examples

withMTM:

M1Matrix2,3,'fill'=2:

M2Matrix2,3,'fill'=1:

MinusM1,M2

111111

(1)

See Also

MTM[plus]

MTM[times]

MTM[mtimes]

MTM[ldivide]

MTM[rdivide]

MTM[mrdivide]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam