next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SpaceCurves :: degree(Divisor)

degree(Divisor) -- computes the degree of a Divisor

Synopsis

Description

Computes the degree of a Divisor using IntersectionPairing.
i1 : R = ZZ/101[x,y,z,w];
i2 : Q = quadricSurface(R);
i3 : D = divisor({3,4},Q);
i4 : degree D

o4 = 7