up previous next
NC.HF

Hilbert function of K-algebra.
Syntax
          
NC.HF(Gb:LIST):LIST
NC.HF(Gb:LIST, DegreeBound:INT):LIST

          

Description
Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them.

Please set ring environment coefficient field K, alphabet (or indeterminates) X and ordering through the functions NC.SetFp(Prime), NC.SetX(X) and NC.SetOrdering(Ordering), respectively, before calling the function. Default coefficient field is Q. Default ordering is length-lexicographic ordering ("LLEX"). For more information, please check the relevant functions.

Example
NC.SetX("xyzt"); 
NC.SetOrdering("LLEX"); 
Gb:= [[[1, "yt"], [-1, "ty"]], [[1, "xt"], [-1, "tx"]], [[1, "xy"], [-1, "ty"]], [[1, "xx"], [-1, "yx"]],  
[[1, "tyy"], [-1, "tty"]], [[1, "yyx"], [-1, "tyx"]]]; 
NC.HF(Gb, 5);
[1, 4, 12, 34, 100, 292]
-------------------------------


See Also