ApCoCoA-1:BBF.RetrieveVLTs

From ApCoCoAWiki
Revision as of 15:50, 27 March 2009 by Skaspar (talk | contribs) (Corrected syntax and description.)

BBF.RetrieveVLTs

Retrieve leading terms of polynomials of V.

Syntax

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

Description

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. Please note that in order to use this function you have to start the ApCoCoABBFServer.

Example

Use Z/(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 Z/(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]

Border Basis Framework overview

BBF.RetrieveV

BBF.RetrieveVPolysWithTermInSupport