Macaulay2 » Documentation
Packages » AdjunctionForSurfaces :: linearSystemOnRationalSurface
next | previous | forward | backward | up | index | toc

linearSystemOnRationalSurface -- compute a linear system on a rational surface

Synopsis

Description

The function chooses randomly s point p_i in P2 and computes the linear system of form of degree d which have multiplicity r_i at the point p_i

i1 : kk=ZZ/nextPrime(10^3)

o1 = kk

o1 : QuotientRing
i2 : t=symbol t

o2 = t

o2 : Symbol
i3 : P2=kk[t_0..t_2]

o3 = P2

o3 : PolynomialRing
i4 : d=8

o4 = 8
i5 : L=toList(3:3)|toList(2:4)|{1}

o5 = {3, 3, 3, 4, 4, 1}

o5 : List
i6 : expectedDimension(d,L)

o6 = 6
i7 : betti(H=linearSystemOnRationalSurface(P2,d,L))

            0 1
o7 = total: 1 6
         0: 1 .
         1: . .
         2: . .
         3: . .
         4: . .
         5: . .
         6: . .
         7: . 6

o7 : BettiTally

Ways to use linearSystemOnRationalSurface :

For the programmer

The object linearSystemOnRationalSurface is a method function.