Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/cvec/gap/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 20.5.2025 mit Größe 85 kB image not shown  

SSL HilbertBasis2.g   Sprache: unbekannt

 
rahmenlose Ansicht.g DruckansichtUnknown {[0] [0] [0]}diese Dinge liegen außhalb unserer Verantwortung

#! @Chunk HilbertBasis2

LoadPackage( "4ti2Interface" );

#! 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
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 ] ]
basis := 4ti2Interface_hilbert_inequalities( inequalities );;
Length( basis );
#! 29
#! @EndExample

[ Verzeichnis aufwärts0.93unsichere Verbindung  ]