monomialCurveIdeal(R,a) -- yields the defining ideal of the projective curve given parametrically on an affine piece by t |---> (t^a1, ..., t^an).
The ideal is defined in the polynomial ring R, which must have at least n+1 variables, preferably all of equal degree. The first n+1 variables in the ring are usedFor example, the following defines a plane quintic curve of genus 6.
i1 : R = ZZ/101[a..f] |
i2 : monomialCurveIdeal(R,{3,5}) |
Here is a genus 2 curve with one singular point.
i3 : monomialCurveIdeal(R,{3,4,5}) |
Here is one with two singular points, genus 7.
i4 : monomialCurveIdeal(R,{6,7,8,9,11}) |
Finally, here is the smooth rational quartic in P^3.
i5 : monomialCurveIdeal(R,{1,3,4}) |