next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
GlicciPointsInP3 :: testSplitting

testSplitting -- test a random Gorenstein set of points in P^3 for a factor

Synopsis

Description

A random Gorenstein collection of points splits of subset of k points quite frequently. The only purpose of this function is to illustrate this fact.
i1 : S=ZZ/10009[x_0..x_3]

o1 = S

o1 : PolynomialRing
i2 : hV={1,3,6,10,6,3,1}

o2 = {1, 3, 6, 10, 6, 3, 1}

o2 : List
i3 : time tally apply(10,i->testSplitting(S,hV,10))
     -- used 0.214318 seconds

o3 = Tally{false => 6}
           true => 4

o3 : Tally

Ways to use testSplitting :