<#/GAPDoc>
<#GAPDoc Label="HilbertBasis">
We want to compute the Hilbert basis of the cone obtained
by intersecting the positive orthant with the hyperplane
given by the equation below.
<Example><![CDATA[
gap> gens := [ 23, 25, 37, 49 ];
[ 23, 25, 37, 49 ]
gap> equation := [ Concatenation( gens, -gens ) ];
[ [ 23, 25, 37, 49, -23, -25, -37, -49 ] ]
gap> basis := 4ti2Interface_hilbert_equalities_in_positive_orthant( equation );;
gap> Length( basis );
436
]]></Example>
<#/GAPDoc>
<#GAPDoc Label="HilbertBasis2">
We want to compute the Hilbert basis of the cone which faces
are represented by the inequalities below. This example is
taken from the toric and the ToricVarieties package manual.
In both packages it is very slow with the internal algorithms.
<Example><![CDATA[
gap> inequalities := [ [1,2,3,4], [0,1,0,7], [3,1,0,2], [0,0,1,0] ];
[ [ 1, 2, 3, 4 ], [ 0, 1, 0, 7 ], [ 3, 1, 0, 2 ], [ 0, 0, 1, 0 ] ]
gap> basis := 4ti2Interface_hilbert_inequalities( inequalities );;
gap> Length( basis );
29
]]></Example>
<#/GAPDoc>
¤ Dauer der Verarbeitung: 0.20 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.