Package sagbi/SB.GetLTSA
From ApCoCoAWiki
< Package sagbi
Revision as of 15:13, 26 October 2020 by Andraschko (talk | contribs) (Created page with "{{Version|2}} <command> <title>SB.GetLTSA</title> <short_description>This function returns the leading term subalgebra of a given Subalgebra.</short_description> <syn...")
This article is about a function from ApCoCoA-2. |
SB.GetLTSA
This function returns the leading term subalgebra of a given Subalgebra.
Syntax
SB.GetLTSA(ref S: TAGGED(<quotes>$apcocoa/sagbi.Subalgebra</quotes>)): TAGGED(<quotes>$apcocoa/sagbi.Subalgebra</quotes>)
Description
Returns the leading term subalgebra of S, i.e. the subalgebra generated by all terms appearing as the leading term of a polynomial in S.
Note: Calling the function more than once results in equal subalgebras with different IDs.
@param S A subalgebra
@return the leading term subalgebra of S
Example
Use R ::= QQ[x,y,z]; S := SB.Subalgebra(R,[x^2,y+z]); PrintLn SB.GetLTSA(ref S); -- SubalgebraWithID(2, QQ[x^2, y]) of RingWithID(1311, "QQ[x,y,z]") PrintLn SB.GetLTSA(ref S); -- SubalgebraWithID(3, QQ[x^2, y]) of RingWithID(1311, "QQ[x,y,z]")
See also
Package sagbi/SB.GetTruncSAGBI