Macaulay2 » Documentation
Packages » RandomPlaneCurves :: distinctPlanePoints
next | previous | forward | backward | up | index | toc

distinctPlanePoints -- Generates the ideal of k random points in the coordinate ring $R$ of $\\P^{ 2}$

Synopsis

Description

Creates the ideal of the points via a random choice of their Hilbert-Burch matrix, which is taken to be of generic shape.

i1 : setRandomSeed("alpha");
i2 : R=ZZ/32003[x_0..x_2];
i3 : Ipts=(random distinctPlanePoints)(10,R);

o3 : Ideal of R
i4 : betti res Ipts

            0 1 2
o4 = total: 1 5 4
         0: 1 . .
         1: . . .
         2: . . .
         3: . 5 4

o4 : BettiTally

For the programmer

The object distinctPlanePoints is an instance of the type RandomObject.