difforms - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Differential Equations : Differential Forms : difforms/wdegree

difforms

  

wdegree

  

degree of a form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

wdegree(expr)

Parameters

expr

-

Maple expression

Description

• 

The function wdegree computes the degree of an expression, considered as a form.

• 

The function wdegree returns nonhmg when the expression is a sum of forms which have different degrees.

• 

Expressions of type scalar or const have wdegree = 0.

• 

The wdegree of an indexed name is the wdegree of the name without the index, unless explicitly stated.

• 

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

Examples

with(difforms): defform(x=p, c=const, t=3, t[4]=5);

wdegree(c);

0

(1)

wdegree(x);

p

(2)

d(x^2);

1+−1pdxx

(3)

wdegree((3));

2p+1

(4)

wdegree(x + d(x));

nonhmg

(5)

wdegree(t);

3

(6)

wdegree(t[1]);

3

(7)

wdegree(t[4]);

5

(8)

wdegree(u[3])=wdegree(u);

wdegreeu=wdegreeu

(9)

See Also

defform