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

From ApCoCoAWiki
Line 3: Line 3:
 
     <short_description>return the class of a given derivative</short_description>
 
     <short_description>return the class of a given derivative</short_description>
 
<syntax>
 
<syntax>
$diffalg.Class(X:INDET):INT
+
DA.Class(X:INDET):INT
 
</syntax>
 
</syntax>
 
<description>
 
<description>
 
The function Class returns the class of derivative X, i.e., the index of the differential indeterminate of which it is a derivative.
 
The function Class returns the class of derivative X, i.e., the index of the differential indeterminate of which it is a derivative.
 +
<itemize>
 +
<item>@param X Indeterminante for which the class is computed.</item>
 +
<item>@return The class of indeterminate X.</item>
 +
</itemize>
 
<example>
 
<example>
Use Q[x[1..2,0..20]];
 
$diffalg.Class(x[1,8]);
 
-------------------------------
 
1
 
-------------------------------
 
 
 
Use Q[x[1..2,0..20]];
 
Use Q[x[1..2,0..20]];
 
$diffalg.Class(x[2,8]);
 
$diffalg.Class(x[2,8]);
Line 21: Line 19:
 
</example>
 
</example>
 
</description>
 
</description>
 +
<types>
 +
<type>polynomial</type>
 +
</types>
 +
<key>Class</key>
 +
<key>DA.Class</key>
 +
<key>diffalg.Class</key>
 +
<key>differential.Class</key>
 
<wiki-category>Package_diffalg</wiki-category>
 
<wiki-category>Package_diffalg</wiki-category>
 
</command>
 
</command>

Revision as of 12:17, 22 April 2009

diffalg.Class

return the class of a given derivative

Syntax

DA.Class(X:INDET):INT

Description

The function Class returns the class of derivative X, i.e., the index of the differential indeterminate of which it is a derivative.

  • @param X Indeterminante for which the class is computed.

  • @return The class of indeterminate X.

Example

Use Q[x[1..2,0..20]];
$diffalg.Class(x[2,8]);
-------------------------------
2
-------------------------------