type/symmfunc - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

type/symmfunc

check for a symmetric function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(f, symmfunc(x, y, ...))

Parameters

f

-

function

x, y, ...

-

name(s)

Description

• 

This procedure tests the symmetry of the function f with respect to the argument(s) x,y,....

• 

It returns true if f is symmetric in all of the given variables, and false otherwise.

Examples

typexy,symmfuncx,y

true

(1)

typex &* y,symmfuncx,y

false

(2)

f`&*`a,b,c+`&*`b,c,a+`&*`c,a,b+`&*`b,a,c+`&*`a,c,b+`&*`c,b,a

f&*a,b,c+&*b,c,a+&*c,a,b+&*b,a,c+&*a,c,b+&*c,b,a

(3)

typef,symmfunca,b,c

true

(4)

Note that any function of a single variable is symmetric in that variable:

typegx,symmfuncx

true

(5)

See Also

type