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

gfanFanProduct -- computes the product of polyhedral fans

Synopsis

Description

This method computes the product of two polyhedral fans. The arguments i1 and i2 are automatically set.

i1 : QQ[x,y];
i2 : F = gfanToPolyhedralFan {markedPolynomialList{{x}, {x+y}}}

o2 = F

o2 : Fan
i3 : G = gfanToPolyhedralFan {markedPolynomialList{{y^2}, {x+y^2}}}

o3 = G

o3 : Fan
i4 : gfanFanProduct(F,G)

o4 = (Fan{...1...}, {1})

o4 : Sequence

gfan Documentation

This program takes two polyhedral fans and computes their product.
Options:
-i1 value:
 Specify the name of the first input file.
-i2 value:
 Specify the name of the second input file.

Ways to use gfanFanProduct:

For the programmer

The object gfanFanProduct is a method function with options.