Sophie

Sophie

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

Macaulay2-1.3.1-8.fc15.i686.rpm

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

i1 : R = QQ[x_1..x_9];

i2 : randomUniformHyperGraph(R,3,4)

o2 = HyperGraph{edges => {{x , x , x }, {x , x , x }, {x , x , x }, {x , x , x }}}
                            3   4   7     4   5   6     7   8   9     3   7   9
                ring => R
                vertices => {x , x , x , x , x , x , x , x , x }
                              1   2   3   4   5   6   7   8   9

o2 : HyperGraph

i3 : randomUniformHyperGraph(R,4,2)

o3 = HyperGraph{edges => {{x , x , x , x }, {x , x , x , x }}   }
                            1   4   5   7     1   3   4   5
                ring => R
                vertices => {x , x , x , x , x , x , x , x , x }
                              1   2   3   4   5   6   7   8   9

o3 : HyperGraph

i4 :