Package sagbi/SB.GetID
From ApCoCoAWiki
< Package sagbi
Revision as of 13:20, 29 October 2020 by AndraschkoBot (talk | contribs) (replaced <quotes> tags by real quotes)
This article is about a function from ApCoCoA-2. |
SB.GetID
This function returns the ID of a given subalgebra similar to the CoCoA function RingID.
Syntax
SB.GetID(S: TAGGED("$apcocoa/sagbi.Subalgebra")): INT
Description
@param S A subalgebra
@return The ID of S
Example
Use R ::= QQ[x,y,z]; S := SB.Subalgebra(R,[x^2,y+z]); PrintLn SB.GetID(S); -- 1
See also
Package sagbi/SB.GetTruncSAGBI