Difference between revisions of "ApCoCoA-1:BBF.RetrieveWPrimeLTs"

From ApCoCoAWiki
(Description update.)
Line 12: Line 12:
 
The first function without parameter retrieves the leading terms of the polynomials of W' from the ApCoCoABBFServer. The second function with parameter <tt>Degree</tt> >= 0 retrieves the leading terms of degree <tt>Degree</tt> of the polynomials of W'.
 
The first function without parameter retrieves the leading terms of the polynomials of W' from the ApCoCoABBFServer. The second function with parameter <tt>Degree</tt> >= 0 retrieves the leading terms of degree <tt>Degree</tt> of the polynomials of W'.
 
<itemize>
 
<itemize>
  <item>@param <em>Degree</em> Retrieve the leading terms of degree Degree from the polynomials of set W'.</item>
 
 
   <item>@return List of leading terms of polynomials of set W'.</item>
 
   <item>@return List of leading terms of polynomials of set W'.</item>
</itemize>  
+
</itemize>
 +
<itemize>
 +
    <item>@param <em>Degree</em> Retrieve the leading terms of degree Degree from the polynomials of set W'.</item>
 +
</itemize>
 
<example>
 
<example>
 
Use ZZ/(32003)[x, y, z],DegLex;
 
Use ZZ/(32003)[x, y, z],DegLex;

Revision as of 13:33, 28 April 2009

BBF.RetrieveWPrimeLTs

Retrieve leading terms of polynomials of W'.

Syntax

BBF.RetrieveWPrimeLTs():LIST
BBF.RetrieveWPrimeLTs(Degree:INT):LIST

Description

Please note: The function(s) explained on this page is/are using the ApCoCoABBFServer. You will have to start the ApCoCoABBFServer in order to use it/them.

The first function without parameter retrieves the leading terms of the polynomials of W' from the ApCoCoABBFServer. The second function with parameter Degree >= 0 retrieves the leading terms of degree Degree of the polynomials of W'.

  • @return List of leading terms of polynomials of set W'.

  • @param Degree Retrieve the leading terms of degree Degree from the polynomials of set W'.

Example

Use ZZ/(32003)[x, y, z],DegLex;
I:=Ideal(-4*x^2 + 1, -4*y^2 - 1, 5*z^2);
BBF.Init(I);
BBF.Steps(10);
-- After computation has finished:
BBF.RetrieveWPrimeLTs();

Output:
[x^3, x^2y, x^2z, xy^2, y^3, y^2z, xz^2, yz^2, z^3]

Example

Use ZZ/(32003)[x, y, z],DegLex;
I:=Ideal(-4*x^2 + 1, -4*y^2 - 1, 5*z^2);
BBF.Init(I);
BBF.Steps(10);
-- After computation has finished:
BBF.RetrieveWPrimeLTs(2);

Output:
[ ]

BBF.Explanation of BBF variables and structures

BBF.RetrieveWPrime