type/evenfunc - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/evenfunc

type/evenfunc

check for an even function

type/oddfunc

check for an odd function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(f, evenfunc(x))

type(f, oddfunc(x))

Parameters

f

-

function

x

-

name

Description

• 

These procedures test the parity of the function f, that is, whether it is even or odd, with respect to x.

Examples

typex2,evenfuncx

true

(1)

typex2y3+2,evenfuncx

true

(2)

typesinx,oddfuncx

true

(3)

typex2x1,oddfuncx

false

(4)

See Also

type