Difference between revisions of "ApCoCoA-1:DA.Weight"

From ApCoCoAWiki
m (ApCoCoA:Diffalg.Weight moved to ApCoCoA:DA.Weight: To comply with style principles.)
Line 8: Line 8:
 
Computes the weight of the differential polynomial F.
 
Computes the weight of the differential polynomial F.
 
<itemize>
 
<itemize>
<item>@param F A differential polynomial. </item>
+
<item>@param <em>F</em> A differential polynomial. </item>
 
<item>@return The weight of F.</item>
 
<item>@return The weight of F.</item>
 
</itemize>
 
</itemize>

Revision as of 11:11, 23 April 2009

DA.Weight

Computes the weight of a differential polynomial.

Syntax

DA.Weight(F:POLY):INT

Description

Computes the weight of the differential polynomial F.

  • @param F A differential polynomial.

  • @return The weight of F.

Example

Use Q[x[1..2,0..20]];
F:=x[1,2]^2x[1,1]3+x[2,1];
DA.Weight(F);
-------------------------------
F:=x[1,2]^2x[1,1]^3+x[2,1];
DA.Weight(F);
7
-------------------------------