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

From ApCoCoAWiki
(Description update.)
Line 11: Line 11:
 
<par/>
 
<par/>
 
The first function without parameter retrieves the leading terms of the polynomials of V from the ApCoCoABBFServer. The second function with parameter <tt>Degree</tt> &gt;= 0 retrieves the leading terms of degree <tt>Degree</tt> of the polynomials of V.
 
The first function without parameter retrieves the leading terms of the polynomials of V from the ApCoCoABBFServer. The second function with parameter <tt>Degree</tt> &gt;= 0 retrieves the leading terms of degree <tt>Degree</tt> of the polynomials of V.
 +
<itemize>
 +
  <item>@return List of leading terms from polynomials of set V.</item>
 +
</itemize>
 +
The following parameter is optional.
 
<itemize>
 
<itemize>
 
   <item>@param <em>Degree</em> Retrieve the leading terms of degree Degree from the polynomials of set V.</item>
 
   <item>@param <em>Degree</em> Retrieve the leading terms of degree Degree from the polynomials of set V.</item>
  <item>@return List of leading terms from polynomials of set V.</item>
 
 
</itemize>
 
</itemize>
 
<example>
 
<example>

Revision as of 13:18, 28 April 2009

BBF.RetrieveVLTs

Retrieve leading terms of polynomials of V.

Syntax

BBF.RetrieveVLTs():LIST
BBF.RetrieveVLTs(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 V from the ApCoCoABBFServer. The second function with parameter Degree >= 0 retrieves the leading terms of degree Degree of the polynomials of V.

  • @return List of leading terms from polynomials of set V.

The following parameter is optional.

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

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(20);
-- After computation has finished:
BBF.RetrieveVLTs();

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

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(20);
-- After computation has finished:
BBF.RetrieveVLTs(3);

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

BBF.Explanation of BBF variables and structures

BBF.RetrieveV

BBF.RetrieveVPolysWithTermInSupport