Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/4ti2interface/tst/   (GAP Algebra Version 4.15.1©)  Datei vom 23.10.2024 mit Größe 1 kB image not shown  

Quelle  4ti2interface01.tst   Sprache: unbekannt

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

4ti2Interface, single 1
#
# DO NOT EDIT THIS FILE - EDIT EXAMPLES IN THE SOURCE INSTEAD!
#
# This file has been generated by AutoDoc. It contains examples extracted from
# the package documentation. Each example is preceded by a comment which gives
# the name of a GAPDoc XML file and a line range from which the example were
# taken. Note that the XML file in turn may have been generated by AutoDoc
# from some other input.
#
gap> START_TEST("4ti2interface01.tst");

# doc/_Chunks.xml:6-30
gap> cone := [ [ 7, -1 ], [ 01 ] ];
[ [ 7, -1 ], [ 01 ] ]
gap> basis := 4ti2Interface_hilbert_inequalities( cone );;
gap> Sort( basis );
gap> basis;
[ [ 10 ], [ 11 ], [ 12 ], [ 13 ],
  [ 14 ], [ 15 ], [ 16 ], [ 17 ] ]
gap> groebner := 4ti2Interface_groebner_matrix( basis );;
gap> Sort( groebner );
gap> groebner;
[ [ -1001100, -1 ], [ -100200, -10 ],
  [ -1010010, -1 ], [ -101010, -10 ],
  [ -10110, -100 ], [ -1020, -1000 ],
  [ -1100001, -1 ], [ -110001, -10 ],
  [ -11001, -100 ], [ -1101, -1000 ],
  [ -111, -10000 ], [ -12, -100000 ],
  [ 0, -100200, -1 ], [ 0, -101010, -1 ],
  [ 0, -110001, -1 ], [ 00, -10110, -1 ],
  [ 00, -11001, -1 ], [ 000, -1020, -1 ],
  [ 000, -1101, -1 ], [ 0000, -111, -1 ],
  [ 00000, -12, -1 ] ]
gap> Length( groebner );
21

#
gap> STOP_TEST("4ti2interface01.tst", 1);

[Dauer der Verarbeitung: 0.16 Sekunden, vorverarbeitet 2026-06-17]