ApCoCoA-1:BBF.RetrieveWPrimeLTs: Difference between revisions

From ApCoCoAWiki
Skaspar (talk | contribs)
Added parameter and return value list.
m insert version info
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Version|1}}
<command>
<command>
    <title>BBF.RetrieveWPrimeLTs</title>
  <title>BBF.RetrieveWPrimeLTs</title>
    <short_description>Retrieve leading terms of polynomials of W'.</short_description>
  <short_description>Retrieves leading terms of polynomials of <tt>W'</tt>.</short_description>
 
<syntax>
<syntax>
BBF.RetrieveWPrimeLTs():LIST
BBF.RetrieveWPrimeLTs():LIST
BBF.RetrieveWPrimeLTs(Degree:INT):LIST
BBF.RetrieveWPrimeLTs(Degree:INT):LIST
</syntax>
</syntax>
    <description>
  <description>
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'. Please note that in order to use this function you have to start the ApCoCoABBFServer.
<em>Please note:</em> The function(s) explained on this page is/are using the <em>ApCoCoABBFServer</em>. You will have to start the ApCoCoABBFServer in order to use it/them.
<par/>
The first variant of this command without parameter retrieves the leading terms of the polynomials of <tt>W'</tt> from the ApCoCoABBFServer. The second variant with parameter <tt>Degree</tt> >= 0 retrieves the leading terms of degree <tt>Degree</tt> of the polynomials of <tt>W'</tt>.
<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 <tt>W'</tt>.</item>
  <item>@return List of leading terms from polynomials of set W'.</item>
</itemize>
</itemize>  
The following parameter is optional.
<itemize>
    <item>@param <em>Degree</em> Retrieves the leading terms of degree <tt>Degree</tt> from the polynomials of set <tt>W'</tt>.</item>
</itemize>
<example>
<example>
Use Z/(32003)[x, y, z],DegLex;
Use ZZ/(32003)[x, y, z],DegLex;
I:=Ideal(-4*x^2 + 1, -4*y^2 - 1, 5*z^2);
I:=Ideal(-4*x^2 + 1, -4*y^2 - 1, 5*z^2);
BBF.Init(I);
BBF.Init(I);
Line 25: Line 32:


<example>
<example>
Use Z/(32003)[x, y, z],DegLex;
Use ZZ/(32003)[x, y, z],DegLex;
I:=Ideal(-4*x^2 + 1, -4*y^2 - 1, 5*z^2);
I:=Ideal(-4*x^2 + 1, -4*y^2 - 1, 5*z^2);
BBF.Init(I);
BBF.Init(I);
Line 35: Line 42:
[ ]
[ ]
</example>
</example>
    </description>
  </description>
     <see>Border Basis Framework overview</see>
  <types>
    <see>BBF.RetrieveWPrime</see>
     <type>borderbasis</type>
    <key>bbf.retrievewprimelts</key>
  </types>
    <wiki-category>Package_bbf</wiki-category>
  <see>ApCoCoA-1:BBF.Explanation of BBF variables and structures|BBF.Explanation of BBF variables and structures</see>
  <see>ApCoCoA-1:BBF.RetrieveWPrime|BBF.RetrieveWPrime</see>
  <key>RetrieveWPrimeLTs</key>
  <key>BBF.RetrieveWPrimeLTs</key>
  <wiki-category>ApCoCoA-1:Package_bbf</wiki-category>
</command>
</command>

Latest revision as of 09:49, 7 October 2020

This article is about a function from ApCoCoA-1.

BBF.RetrieveWPrimeLTs

Retrieves 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 variant of this command without parameter retrieves the leading terms of the polynomials of W' from the ApCoCoABBFServer. The second variant 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'.

The following parameter is optional.

  • @param Degree Retrieves 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