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

gfanMixedVolume -- mixed volume of a list of polynomials

Synopsis

Description

The method outputs mixed volume for the Newton polytopes associated to the input polynomials. The optional argument j allows the user to set the number of threads to be used; by default, one thread is used.

i1 : QQ[x1,x2,x3]

o1 = QQ[x1, x2, x3]

o1 : PolynomialRing
i2 : gfanMixedVolume({x1+x2+x3,x1*x2+x2*x3+x3*x1,x1*x2*x3-1})

o2 = 6

gfan Documentation

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.
Options:
--vectorinput:
 Read in a list of point configurations instead of a polynomial ring and a list of polynomials.
--cyclic value:
 Use cyclic-n example instead of reading input.
--noon value:
 Use Noonburg-n example instead of reading input.
--chandra value:
 Use Chandrasekhar-n example instead of reading input.
--katsura value:
 Use Katsura-n example instead of reading input.
--gaukwa value:
 Use Gaukwa-n example instead of reading input.
--eco value:
 Use Eco-n example instead of reading input.
-j value:
 Number of threads

Ways to use gfanMixedVolume :

For the programmer

The object gfanMixedVolume is a method function with options.