Gives at most $n$ many point in a variety $V(I)$.
i1 : R = ZZ/5[t_1..t_3]; |
i2 : I = ideal(t_1,t_2+t_3); o2 : Ideal of R |
i3 : randomPoints(3, I)
o3 = {{0, -2, 2}, {0, 1, -1}, {0, 2, -2}}
o3 : List
|
i4 : randomPoints(4, I, Strategy => Default)
o4 = {{0, -1, 1}, {0, 1, -1}, {0, -2, 2}, {0, -1, 1}}
o4 : List
|
i5 : randomPoints(4, I, Strategy => GenericProjection)
o5 = {{0, -1, 1}, {0, 1, -1}, {0, -1, 1}, {0, -1, 1}}
o5 : List
|
i6 : randomPoints(4, I, Strategy => LinearIntersection)
o6 = {{0, -2, 2}, {0, -2, 2}, {0, -1, 1}, {0, 2, -2}}
o6 : List
|
The object randomPoints is a method function with options.