Macaulay2 » Documentation
Packages » PencilsOfQuadrics :: degOnE
next | previous | forward | backward | up | index | toc

degOnE -- degree of a vector bundle on E

Synopsis

Description

Computes the degree of a vector bundle L on the hyperelliptic curve E.

i1 : kk=ZZ/101;
i2 : setRandomSeed 0

o2 = 0
i3 : g=1;
i4 : rNP=randNicePencil(kk,g);
i5 : f=(cliffordModule(rNP.matFact1,rNP.matFact2,rNP.baseRing)).hyperellipticBranchEquation;
i6 : L0=randomLineBundle(0,f)

o6 = VectorBundleOnE{...1...}

o6 : VectorBundleOnE
i7 : degOnE L0

o7 = 0
i8 : L1=randomLineBundle(1,f)

o8 = VectorBundleOnE{...1...}

o8 : VectorBundleOnE
i9 : degOnE L1

o9 = 1
i10 : Lm1=randomLineBundle(-1,f)

o10 = VectorBundleOnE{...1...}

o10 : VectorBundleOnE
i11 : degOnE Lm1

o11 = -1

See also

Ways to use degOnE:

For the programmer

The object degOnE is a method function.