Macaulay2 » Documentation
Packages » SpaceCurves :: divisor
next | previous | forward | backward | up | index | toc

divisor -- creates a Divisor

Description

Creates a Divisor from a given List of coordinates and a surface.

Synopsis

  • Usage:
    D = divisor(L,X)
  • Inputs:
  • Outputs:
    • D, an instance of the type Divisor
i1 : X = quadricSurface(ZZ/101[x,y,z,w]);
i2 : D = divisor({3,2},X)

o2 = {3, 2}

o2 : Divisor

Synopsis

  • Usage:
    D = divisor(L,X)
  • Inputs:
  • Outputs:
    • D, an instance of the type Divisor
i3 : X = cubicSurface(ZZ/101[x,y,z,w]);
i4 : D = divisor({3,1,1,1,1,1,1},X)

o4 = {3, 1, 1, 1, 1, 1, 1}

o4 : Divisor

Synopsis

i5 : X = quarticSurfaceRational(ZZ/101[x,y,z,w]);
i6 : D = divisor(splice{3,9:1},X)

o6 = {3, 1, 1, 1, 1, 1, 1, 1, 1, 1}

o6 : Divisor

Ways to use divisor:

For the programmer

The object divisor is a method function.