Macaulay2 » Documentation
Packages » VirtualResolutions :: Attempt
next | previous | forward | backward | up | index | toc

Attempt -- limit number of attempts for randomCurveP1P2

Description

When randomCurveP1P2 generates a random curve in $\PP^3$ using the SpaceCurves package, it is possible the resulting curve will intersect the base loci of the projections used to construct the curve in $\PP^1\times\PP^2$. If the curve does intersect the base locusi it will generate a new random curve in $\PP^3$. The option Attempt limits the number of attempts to find a curve disjoint from the base loci before quitting. By default, Attempt is set to 1000.

See also

Functions with optional argument named Attempt :

For the programmer

The object Attempt is a symbol.