Package sagbi/SB.GetInDeg

From ApCoCoAWiki
< Package sagbi
Revision as of 13:21, 29 October 2020 by AndraschkoBot (talk | contribs) (replaced <quotes> tags by real quotes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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("$apcocoa/sagbi.Subalgebra"),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.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