next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
RandomCurvesOverVerySmallFiniteFields :: isSmoothCurve

isSmoothCurve -- Tests smoothness of a curve

Synopsis

Description

Checks whether a curve is smooth or not

i1 : S = QQ[x,y,z];
i2 : IC = ideal(x*y);

o2 : Ideal of S
i3 : isSmoothCurve(IC)

o3 = false
i4 : IC2 = ideal random(S^1,S^{1:-2});

o4 : Ideal of S
i5 : isSmoothCurve(IC2)

o5 = true

Ways to use isSmoothCurve :