CASA Function: genus
Computes the genus of an algebraic set defining a plane curve.
Calling Sequence:
Parameters:
 A : planecurve

Result:
 g : integer
 The genus of the planecurve.
Description:
 This procedure computes the genus g of an algebraic curve in implicit representation. An entry 'genus' = g is added to the list of attributes.
 If the second argument ntree is used, it will be assigned the neighboring tree of the algebraic curve.
Examples:
> a:=mkImplAlgSet([y^3+y^2x^2],[x,y]);
> genus(a);
See Also:
[CASA]
[singularities]
[neighbGraph]