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

Online Help

All Products    Maple    MapleSim


difforms

  

parity

  

extension of mod 2

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

parity(expr)

Parameters

expr

-

Maple expression

Description

• 

The function parity computes the parity of an expression, by assuming that unspecified exponents are integers. Given n is an integer, pnmod2=p. For unassigned names, the function parity returns the name.

• 

It is with the parity function that defform recognizes certain names as even or odd.

• 

The command with(difforms,parity) allows the use of the abbreviated form of this command.

Examples

withdifforms:defformw=p,p=even

parity3p

0

(1)

paritypm+k

k

(2)

See Also

mod