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

negativeSum -- sum of the negative coefficients in CurveClassRepresentativeM0nbar

Synopsis

Description

This function sums the negative coefficients in an object of type CurveClassRepresentativeM0nbar. This is a measure of how far the expression is from being an effective sum of F curves.

i1 : L= { {{{2,1},{3},{4},{5}},-2}, {{{1,3},{2},{4},{5}},-7}, {{{1,4},{2},{3},{5}},1}};
i2 : C=curveClassRepresentativeM0nbar(5,L);
i3 : negativeSum C

o3 = -9

Ways to use negativeSum :

For the programmer

The object negativeSum is a method function.