ApCoCoA-1:DA.Weight: Difference between revisions

From ApCoCoAWiki
S schuster (talk | contribs)
Applied style principles.
m insert version info
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Version|1}}
<command>
<command>
     <title>DA.Weight</title>
     <title>DA.Weight</title>
Line 6: Line 7:
</syntax>
</syntax>
<description>
<description>
Computes the weight of the differential polynomial F.
Computes the weight of the differential polynomial <tt>F</tt>.
<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 <tt>F</tt>.</item>
</itemize>
</itemize>
<example>
<example>
Use Q[x[1..2,0..20]];
Use QQ[x[1..2,0..20]];
F:=x[1,2]^2x[1,1]3+x[2,1];
F:=x[1,2]^2x[1,1]3+x[2,1];
DA.Weight(F);
DA.Weight(F);
5
-------------------------------
-------------------------------
F:=x[1,2]^2x[1,1]^3+x[2,1];
F:=x[1,2]^2x[1,1]^3+x[2,1];
Line 25: Line 27:
<type>polynomial</type>
<type>polynomial</type>
</types>
</types>
<key>Weight</key>
<key>Weight</key>
<key>DA.Weight</key>
<key>DA.Weight</key>
<key>diffalg.Weight</key>
<key>diffalg.Weight</key>
<key>differential.Weight</key>
<key>differential.Weight</key>
<wiki-category>Package_diffalg</wiki-category>
<wiki-category>ApCoCoA-1:Package_diffalg</wiki-category>
</command>
</command>

Latest revision as of 10:00, 7 October 2020

This article is about a function from ApCoCoA-1.

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 QQ[x[1..2,0..20]];
F:=x[1,2]^2x[1,1]3+x[2,1];
DA.Weight(F);
5
-------------------------------
F:=x[1,2]^2x[1,1]^3+x[2,1];
DA.Weight(F);
7
-------------------------------