Sophie

Sophie

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

Macaulay2-1.3.1-8.fc15.i686.rpm

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

i1 : R = QQ[a..f];

i2 : G = cycle(R,4)

o2 = Graph{edges => {{a, b}, {b, c}, {c, d}, {a, d}}}
           ring => R
           vertices => {a, b, c, d, e, f}

o2 : Graph

i3 : isSCM G

o3 = false

i4 : H = graph(monomialIdeal(a*b,b*c,c*d,a*d,a*e)); --4-cycle with whisker

i5 : isSCM H

o5 = true

i6 : isSCM(H,Gins=>true) --use Gins technique

o6 = true

i7 :