Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/normalizinterface/tst/   (GAP Algebra Version 4.15.1©)  Datei vom 20.5.2025 mit Größe 809 B image not shown  

Quelle  fractions.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

gap> START_TEST("fractions.tst");

#
gap> M:=[[00], [7/20], [09/4]];
[ [ 00 ], [ 7/20 ], [ 09/4 ] ]
gap> cone := NmzCone(["polytope", M]);
<a Normaliz cone>
gap> NmzCompute(cone);
true
gap> NmzDeg1Elements(cone);
[ [ 001 ], [ 011 ], [ 021 ], [ 101 ], [ 111 ], 
  [ 201 ], [ 301 ] ]

#
gap> NmzVolume(cone);
63/8
gap> NmzEuclideanVolume(cone);
3.9375
gap> Display(NmzSupportHyperplanes(cone));
[ [  -18,  -28,   63 ],
  [    0,    1,    0 ],
  [    1,    0,    0 ] ]
gap> Display(NmzSuppHypsFloat(cone));
[ [   -0.2857142857142857,  -0.44444444444444442,                    1. ],
  [                    0.,                    1.,                    0. ],
  [                    1.,                    0.,                    0. ] ]

#
gap> STOP_TEST("fractions.tst", 0);

[Dauer der Verarbeitung: 0.12 Sekunden, vorverarbeitet 2026-06-13]