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

Quelle  nconvex03.tst   Sprache: unbekannt

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

# NConvex, single 3
#
# 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("nconvex03.tst");

# doc/_Chunks.xml:205-224
gap> rays := [ [ 100 ], [ -100 ], [ 010 ], [ 0, -10 ], 
> [ 001 ], [ 00, -1 ], [ 211 ], [ 121 ], [ 112 ], 
> [ 111 ] ];;
gap> cones := [ [ 136 ], [ 146 ], [ 145 ], [ 236 ], 
> [ 246 ], [ 235 ], [ 245 ], [ 159 ], [ 358 ], 
> [ 137 ], [ 179 ], [ 589 ], [ 378 ], [ 7910 ], 
> [ 8910 ], [ 7810 ] ];;
gap> F := Fan( rays, cones );
<A fan in |R^3>
gap> IsComplete( F );
true
gap> IsNormalFan( F );
false
gap> PrimitiveCollections( F );
[ [ 71 ], [ 72 ], [ 73 ], [ 74 ], [ 75 ], [ 76 ], 
  [ 91 ], [ 92 ], [ 93 ], [ 96 ], [ 101 ], [ 102 ], 
  [ 103 ], [ 104 ], [ 81 ], [ 82 ], [ 83 ], [ 85 ], 
  [ 61 ], [ 52 ], [ 43 ], [ 9108 ], [ 564 ] ]

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

[Dauer der Verarbeitung: 0.14 Sekunden, vorverarbeitet 2026-06-07]