mod2 - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


convert/mod2

convert expression to mod 2 form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(expr, mod2)

Parameters

expr

-

expression

Description

• 

The convert/mod2 function reduces an expression modulo 2.

• 

The expression can contain the following Boolean operators:

and

not

or

xor

implies

  

These are converted to their equivalent modulo 2 representation.

Examples

convert7x3y+5,mod2

xy+1

(1)

convertx2y2+xy,mod2

0

(2)

convertxandnoty,mod2

x1+y

(3)

convertxory,mod2

xy+x+y

(4)

convertxxoryz,mod2

1+x+y+x+yz

(5)

See Also

convert

mod

msolve