Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/fining/examples/gap/   (GAP Algebra Version 4.15.1©)  Datei vom 27.6.2023 mit Größe 497 B image not shown  

Quelle  gpolygons_span.g  Sprache: unbekannt

 
Spracherkennung für: .g vermutete Sprache: Lisp {Lisp[68] Masm[68] ABAP[18]} [Methode: maximale Elemente, drei Dimensionen]

# span
mat := [ [ 1, 1, 0, 0, 0, 1, 0 ], [ 1, 0, 0, 1, 1, 0, 0 ],
         [ 1, 0, 1, 0, 0, 0, 1 ], [ 0, 1, 1, 1, 0, 0, 0 ],
         [ 0, 1, 0, 0, 1, 0, 1 ], [ 0, 0, 0, 1, 0, 1, 1 ],
         [ 0, 0, 1, 0, 1, 1, 0 ] ];
gp := GeneralisedPolygonByIncidenceMatrix(mat);
p := Random(Points(gp));
q := Random(Points(gp));
Span(p,q);
ps := ParabolicQuadric(4,3);
gp := GeneralisedPolygonByElements(Set(Points(ps)),Set(Lines(ps)),\*);
p := Random(Points(gp));
q := Random(Points(gp));
Span(p,q);
quit;


[Dauer der Verarbeitung: 0.1 Sekunden, vorverarbeitet 2026-10-24]