Sophie

Sophie

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

Macaulay2-1.3.1-8.fc15.i686.rpm

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

i1 : P = poset ({a,b,c,d,e,f},{(a,d),(d,f),(b,d),(b,e),(c,e),(e,f)});

i2 : P.Relations --note there is not a one to one correspondence between these and entries in the RelationMatrix

o2 = {(a, d), (d, f), (b, d), (b, e), (c, e), (e, f)}

o2 : List

i3 : P.RelationMatrix

o3 = | 1 0 0 1 0 1 |
     | 0 1 0 1 1 1 |
     | 0 0 1 0 1 1 |
     | 0 0 0 1 0 1 |
     | 0 0 0 0 1 1 |
     | 0 0 0 0 0 1 |

                6          6
o3 : Matrix RR    <--- RR
              53         53

i4 :