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

M0nbar -- calculations for divisors and curves on the moduli space of stable n-pointed genus zero curves

Description

This package contains two types for working with divisor classes and curve classes on $\bar{M}_{0,n}$, the moduli space of stable n-pointed genus zero curves. The basic types are DivisorClassRepresentativeM0nbar and CurveClassRepresentativeM0nbar.

i1 : L1= { {{{2,1},{3},{4},{5}},-2}, {{{1,3},{2},{4},{5}},-7}, {{{1,4},{2},{3},{5}},1}};
i2 : C=curveClassRepresentativeM0nbar(5,L1);
i3 : L2=new HashTable from { {{1,3},1}, {{1,4},1}};
i4 : D=divisorClassRepresentativeM0nbar(5,L2);
i5 : intersection(C,D)

o5 = 6

Authors

Version

This documentation describes version 0.3 of M0nbar.

Source code

The source code from which this documentation is derived is in the file M0nbar.m2.

Exports

For the programmer

The object M0nbar is a package.