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

Online Help

All Products    Maple    MapleSim


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

> 

type⁡x⁢y,symmfunc⁡x,y

true

(1)
> 

type⁡x&*y,symmfunc⁡x,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)
> 

type⁡f,symmfunc⁡a,b,c

true

(4)

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

> 

type⁡g⁡x,symmfunc⁡x

true

(5)

See Also

type