ApCoCoA-1:BBF.RetrieveBorderBasisLTs

From ApCoCoAWiki
This article is about a function from ApCoCoA-1.

BBF.RetrieveBorderBasisLTs

Retrieves leading terms of a computed border basis.

Syntax

BBF.RetrieveBorderBasisLTs():LIST
BBF.RetrieveBorderBasisLTs(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 computed border basis polynomials from the ApCoCoABBFServer.

The second variant with the parameter Degree >= 0 retrieves the leading terms of degree Degree of the computed border basis polynomials.

  • @return List of border basis leading terms.

The following parameter is optional.

  • @param Degree Retrieve the border basis leading terms of degree Degree.

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

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

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.Finish();
-- After computation has finished:
BBF.RetrieveBorderBasisLTs(2);

Output:
[z^2, y^2, x^2]

BBF.RetrieveBorderBasis

BBF.RetrieveBorderBasisPolyByLT

BB.BBasis