Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  nconvex05.tst   Sprache: unbekannt

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

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

# doc/_Chunks.xml:275-313
gap> P := Polyhedron( [ [ 11 ], [ 47 ] ], [ [ 1, -1 ], [ 11 ] ] );
<A polyhedron in |R^2>
gap> VerticesOfMainRatPolytope( P );
[ [ 11 ], [ 47 ] ]
gap> VerticesOfMainPolytope( P );
[ [ 11 ], [ 47 ] ]
gap> P := Polyhedron( [ [ 1/21/2 ] ], [ [ 11 ] ] );
<A polyhedron in |R^2>
gap> VerticesOfMainRatPolytope( P );
[ [ 1/21/2 ] ]
gap> VerticesOfMainPolytope( P );
[ [ 11 ] ]
gap> LatticePointsGenerators( P );
[ [ [ 11 ] ], [ [ 11 ] ], [  ] ]
gap> Dimension( P );
1
gap> Q := Polyhedron( [ [ 50 ], [ 06 ] ], [ [ 12 ] , [ -1, -2 ] ] );
<A polyhedron in |R^2>
gap> VerticesOfMainRatPolytope( Q );
[ [ 06 ], [ 50 ] ]
gap> V := VerticesOfMainPolytope( Q );
[ [ 06 ], [ 50 ] ]
gap> L := LatticePointsGenerators( Q );
[ [ [ 0, -10 ], [ 0, -9 ], [ 0, -8 ], [ 0, -7 ], [ 0, -6 ],
0, -5 ], [ 0, -4 ], [ 0, -3 ], [ 0, -2 ], [ 0, -1 ],
00 ], [ 01 ], [ 02 ], [ 03 ], [ 04 ],
05 ], [ 06 ] ], [  ], [ [ 12 ] ] ]
gap> Dimension( Q );
2
gap> RayGeneratorsOfTailCone( Q );
[ [ -1, -2 ], [ 12 ] ]
gap> BasisOfLinealitySpace( Q );
[ [ 12 ] ]
gap> DefiningInequalities( Q );
[ [ 62, -1 ], [ 10, -21 ] ]
gap> Q;
<A polyhedron in |R^2 of dimension 2>

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

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-06-28]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=492969
#Domains=607362