Package sagbi/SB.GetInDeg

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


This function computes a vector space basis of a homogeneous component of a given degree of a given standard-graded subalgebra.


SB.GetInDeg(S: TAGGED("$apcocoa/sagbi.Subalgebra"),d: INT): LIST of POLY


This function computes a vector space basis of the set {f in S | deg(t) = d for all t in the support of f}, i.e. the set of all homogeneous polynomials in S of degree d.

  • @param S A standard graded subalgebra, i.e. a subalgebra generated by homogeneous polynomials

  • @param d The desired degree

  • @return A vector space basis of S_d


Use R ::= QQ[x,y,z];
S := SB.Subalgebra(R,[x^2,y+z]);
PrintLn SB.GetInDeg(S,3);
-- [y^3 +3*y^2*z +3*y*z^2 +z^3,  x^2*y +x^2*z]

See also

Package sagbi/SB.GetID

Package sagbi/SB.GetRing

Package sagbi/SB.GetGens

Package sagbi/SB.GetCoeffRing

Package sagbi/SB.GetSAGBI

Package sagbi/SB.GetTruncSAGBI

Package sagbi/SB.GetTruncDeg

Package sagbi/SB.GetLTSA

Package sagbi/SB.GetHS