Difference between revisions of "Package sagbi/SB.GetID"
From ApCoCoAWiki
Andraschko (talk | contribs) (Created page with "{{Version|2}} <command> <title>SB.GetID</title> <short_description>This function returns the ID of a given subalgebra similar to the CoCoA function RingID.</short_descript...") |
Andraschko (talk | contribs) (replaced quotes by <qoutes> tag) |
||
Line 4: | Line 4: | ||
<short_description>This function returns the ID of a given subalgebra similar to the CoCoA function RingID.</short_description> | <short_description>This function returns the ID of a given subalgebra similar to the CoCoA function RingID.</short_description> | ||
− | <syntax>SB.GetID(S: TAGGED( | + | <syntax>SB.GetID(S: TAGGED(<quotes>$apcocoa/sagbi.Subalgebra</quotes>)): INT</syntax> |
<description> | <description> | ||
<itemize> | <itemize> |
Revision as of 14:16, 26 October 2020
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(<quotes>$apcocoa/sagbi.Subalgebra</quotes>)): 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