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

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

> 

convert⁡7⁢x3⁢y+5,mod2

x⁢y+1

(1)
> 

convert⁡x2⁢y2+x⁢y,mod2

0

(2)
> 

convert⁡xandnoty,mod2

x⁢1+y

(3)
> 

convert⁡xory,mod2

x⁢y+x+y

(4)
> 

convert⁡xxory⇒z,mod2

1+x+y+x+y⁢z

(5)

See Also

convert

mod

msolve