betti f -- display the graded Betti numbers for a Matrix f, regarding it as a complex of length one.
betti G -- display the graded Betti numbers for the matrix of generators of a GroebnerBasis G.
Here is a sample display:
| i1 : R = ZZ/101[a..h] | 
| i2 : p = genericMatrix(R,a,2,4) | 
| i3 : q = generators gb p | 
| i4 : C = resolution cokernel leadTerm q | 
| i5 : betti C | 
If these numbers are needed in a program, one way to get them is with tally.
| i6 : degrees C_2 | 
| i7 : t2 = tally degrees C_2 | 
| i8 : peek t2 | 
| i9 : t2_{2} | 
| i10 : t2_{3} | 




