Macaulay2 » Documentation
Packages » SpaceCurves :: smoothDivisors(ZZ,ZZ)
next | previous | forward | backward | up | index | toc

smoothDivisors(ZZ,ZZ) -- produces a list of smooth divisors of given degree and genus

Synopsis

Description

This method produces a list of Divisors of a given degree and genus, one may also pass Ring as the ambient ring of P3.
i1 : smoothDivisors(5,2)

o1 = {{2, 3}, {4, 2, 1, 1, 1, 1, 1}, {4, 1, 2, 1, 1, 1, 1, 1, 1, 1}}

o1 : List
i2 : smoothDivisors(5,2,ZZ/101[x,y,z,w])

o2 = {{2, 3}, {4, 2, 1, 1, 1, 1, 1}, {4, 1, 2, 1, 1, 1, 1, 1, 1, 1}}

o2 : List

Ways to use this method: