Macaulay2 » Documentation
Packages » Points :: randomPoints
next | previous | forward | backward | up | index | toc

randomPoints -- ideal of a random set of points

Synopsis

Description

The script defines a ring R with r+1 variables, and calls points(R,randomPointsMat(R, n))

i1 : betti res randomPoints(11,5)

            0  1   2   3   4    5    6    7   8   9 10 11
o1 = total: 1 17 111 400 914 1414 1526 1156 605 209 43  4
         0: 1  7  21  35  35   21    7    1   .   .  .  .
         1: . 10  90 365 879 1393 1519 1155 605 209 43  4

o1 : BettiTally

See also

For the programmer

The object randomPoints is a function closure.