Macaulay2 » Documentation
Packages » NongeneralTypeSurfacesInP4 :: HdotK
next | previous | forward | backward | up | index | toc

HdotK -- compute the intersection number H.K

Description

Let H denote the hyperplane class and K the canonical divisor class on a smooth projective surface. By the adjunction formula

2sg-2=H.(H+K),

one can compute H.K from the degree d=H.H and the sectional genus sg.

i1 : kk=ZZ/nextPrime 10^4

o1 = kk

o1 : QuotientRing
i2 : P4=kk[x_0..x_4]

o2 = P4

o2 : PolynomialRing
i3 : X=bordigaSurface P4;

o3 : Ideal of P4
i4 : d=degree X

o4 = 6
i5 : sg=sectionalGenus X

o5 = 3
i6 : HdotK(d,sg)

o6 = -2

See also

Ways to use HdotK:

  • HdotK(ZZ,ZZ)

For the programmer

The object HdotK is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/NongeneralTypeSurfacesInP4.m2:6536:0.