next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SpaceCurves :: genus(Curve)

genus(Curve) -- computes the genus of a Curve

Synopsis

Description

Computes the genus of a Curve.
i1 : C = curve(5,2);
i2 : genus C

o2 = 2

Ways to use this method: