Macaulay2 » Documentation
Packages » SpaceCurves :: degree(Divisor)
next | previous | forward | backward | up | index | toc

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

Ways to use this method: