4
#include "polynomial.h"
5
#include "mixedvolume.h"
6
#include "gfanapplication.h"
8
class MixedVolumeApplication : public GFanApplication
11
const char *helpText()
13
return "This program computes the mixed volume of the Newton polytopes of a list of polynomials. The ring is specified on the input. After this follows the list of polynomials.\n";
15
MixedVolumeApplication()
21
return "_mixedvolume";
26
PolynomialSet s=P.parsePolynomialSetWithRing();
27
cout << mixedVolume(s) << endl;
32
static MixedVolumeApplication theApplication;