parity - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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