next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 website
SpaceCurves
::
Divisor
Divisor -- type of HashTable
Description
Divisor
is a type of
HashTable
that specifies a divisor class on a surface. The keys are
Coordinate
and
Surface
.
See also
Curve
-- type of HashTable
Methods that use an object of class Divisor :
"curve(Divisor)"
-- see
curve
-- generates a random curve
degree(Divisor)
-- computes the degree of a Divisor
Divisor * Divisor
-- intersection number of two Divisors
Divisor + Divisor
-- sum of two Divisors
Divisor - Divisor
-- difference of two Divisors
genus(Divisor)
-- computes the genus of a Divisor
net(Divisor)
-- displays the coordinates of the Divisor
"surface(Divisor)"
-- see
surface
-- the surface key of a Divisor or a Curve
ZZ * Divisor
-- multiply a Divisor by an integer
For the programmer
The object
Divisor
is
a
type
, with ancestor classes
HashTable
<
Thing
.