Package sagbi/SB.GetInDeg
From ApCoCoAWiki
< Package sagbi
Revision as of 15:19, 26 October 2020 by Andraschko (talk | contribs) (Created page with "{{Version|2}} <command> <title>SB.GetInDeg</title> <short_description>This function computes a vector space basis of a homogeneous component of a given degree of a given s...")
This article is about a function from ApCoCoA-2. |
SB.GetInDeg
This function computes a vector space basis of a homogeneous component of a given degree of a given standard-graded subalgebra.
Syntax
SB.GetInDeg(S: TAGGED(<quotes>$apcocoa/sagbi.Subalgebra</quotes>),d: INT): LIST of POLY
Description
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
Example
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.GetTruncSAGBI