 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 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=5);
 > wdegree(c);
 ${0}$ (1)
 > wdegree(x);
 ${p}$ (2)
 > d(x^2);
 $\left({1}{+}{\left({-1}\right)}^{{p}}\right){}{d}{}\left({x}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{x}$ (3)
 > wdegree((3));
 ${2}{}{p}{+}{1}$ (4)
 > wdegree(x + d(x));
 ${\mathrm{nonhmg}}$ (5)
 > wdegree(t);
 ${3}$ (6)
 > wdegree(t);
 ${3}$ (7)
 > wdegree(t);
 ${5}$ (8)
 > wdegree(u)=wdegree(u);
 ${\mathrm{wdegree}}{}\left({u}\right){=}{\mathrm{wdegree}}{}\left({u}\right)$ (9)

 See Also