Difference between revisions of "Package sagbi/SB.GetID"

From ApCoCoAWiki
(replaced quotes by <qoutes> tag)
m (replaced <quotes> tags by real quotes)
 
(One intermediate revision by one other user not shown)
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(<quotes>$apcocoa/sagbi.Subalgebra</quotes>)): INT</syntax>
+
   <syntax>SB.GetID(S: TAGGED("$apcocoa/sagbi.Subalgebra")): INT</syntax>
 
   <description>
 
   <description>
 
     <itemize>
 
     <itemize>
Line 19: Line 19:
  
 
   <seealso>
 
   <seealso>
 +
    <see>Package sagbi/SB.Subalgebra</see>
 
     <see>Package sagbi/SB.GetRing</see>
 
     <see>Package sagbi/SB.GetRing</see>
 
     <see>Package sagbi/SB.GetGens</see>
 
     <see>Package sagbi/SB.GetGens</see>

Latest revision as of 13:20, 29 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("$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.Subalgebra

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.GetInDeg

Package sagbi/SB.GetHS