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

Quelle  gpolygons_span.include  Sprache: unbekannt

 
Spracherkennung für: .include vermutete Sprache: Abap {ABAP[186] Lisp[80] Masm[80]} [Methode: maximale Elemente, drei Dimensionen]

gap> 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 ] ];
[ [ 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 ] ]
gap> gp := GeneralisedPolygonByIncidenceMatrix(mat);
<projective plane order 2>
gap> p := Random(Points(gp));
<a point in <projective plane order 2>>
gap> q := Random(Points(gp));
<a point in <projective plane order 2>>
gap> Span(p,q);
&lt;a line in &lt;projective plane order 2&<span style='color:red'>gt;&gt;
gap&gt; ps := ParabolicQuadric(4,3);
Q(4, 3)
gap&gt; gp := GeneralisedPolygonByElements(Set(Points(ps)),Set(Lines(ps)),\*);
&lt;generalised quadrangle of order [ 3, 3 ]&gt;
gap&gt; p := Random(Points(gp));
&lt;a point in &lt;generalised quadrangle of order [ 3, 3 ]&gt;&gt;
gap&gt; q := Random(Points(gp));
&lt;a point in &lt;generalised quadrangle of order [ 3, 3 ]&gt;&gt;
gap&gt; Span(p,q);
#I  &lt;x&gt; and &>lt;y&gt; do not span a line of gp
fail

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