MTM - Maple Help

Online Help

All Products    Maple    MapleSim


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

MTM

  

ElementwiseNot

  

element-wise logical not

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ElementwiseNot(M)

Parameters

M

-

matrix, vector, array or scalar

Description

• 

The command ElementwiseNot(M) performs an element-wise logical not on M.

• 

For matrix M, the result R is a matrix where  R[i,j] = 1, if M[i,j] = 0, and R[i,j] = 0 otherwise.

• 

For scalar M, the result R = 1, if M is 0, and R = 0 otherwise.

Examples

withMTM:

MMatrix1,0,3,0:

ElementwiseNotM

0101

(1)

See Also

MTM[ElementwiseAnd]

MTM[ElementwiseOr]

MTM[eq]

 


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