Sophie

Sophie

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

Macaulay2-1.3.1-8.fc15.i686.rpm

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

i1 : set{a,b,c} + set{a,d,f}

o1 = set {a, b, c, d, f}

o1 : Set

i2 : x = apply(3, i -> set apply(3, j -> 10*i+j))

o2 = {set {0, 1, 2}, set {10, 11, 12}, set {20, 21, 22}}

o2 : List

i3 : sum x

o3 = set {0, 1, 2, 10, 11, 12, 20, 21, 22}

o3 : Set

i4 :