Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 6038

Macaulay2-1.3.1-8.fc15.i686.rpm

-- -*- M2-comint -*- {* hash: 434081788 *}

i1 : R=QQ[x_0..x_4]

o1 = R

o1 : PolynomialRing

i2 : I=ideal(x_0*x_1,x_1*x_2,x_2*x_3,x_3*x_4,x_4*x_0)

o2 = ideal (x x , x x , x x , x x , x x )
             0 1   1 2   2 3   3 4   0 4

o2 : Ideal of R

i3 : C=idealToComplex I;

i4 : grading C

o4 = | -1 -1 -1 -1 |
     | 1  0  0  0  |
     | 0  1  0  0  |
     | 0  0  1  0  |
     | 0  0  0  1  |

              5        4
o4 : Matrix ZZ  <--- ZZ

i5 :