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_shadow.include   Sprache: unbekannt

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

gap> blocks := [
>   [ 12345 ], [ 16789 ], [ 110111213 ],
>   [ 114151617 ], [ 118192021 ], [ 26101418 ],
>   [ 27111519 ], [ 28121620 ], [ 29131721 ],
>   [ 36111621 ], [ 37101720 ], [ 38131419 ],
>   [ 39121518 ], [ 46121719 ], [ 47131618 ],
>   [ 48101521 ], [ 49111420 ], [ 56131520 ],
>   [ 57121421 ], [ 58111718 ], [ 59101619 ] ];; 
gap> gp := GeneralisedPolygonByBlocks( blocks ); 
<projective plane order 4>
gap> l := Random(Lines(gp)); 
<a line in <projective plane order 4>>
gap> pts := ShadowOfElement(gp,l,1);
<shadow points in <projective plane order 4>>
gap> List(pts);
[ <a point in <projective plane order 4>>, 
  <a point in <projective plane order 4>>, 
  <a point in <projective plane order 4>>, 
  <a point in <projective plane order 4>>, 
  <a point in <projective plane order 4>> ]
gap> p := Random(Points(gp));
<a point in <projective plane order 4>>
gap> lines := Lines(p);
<shadow lines in <projective plane order 4>>
gap> List(lines);
[ <a line in <projective plane order 4>>, <a line in <projective plane order 
    4>>, <a line in <projective plane order 4>>, 
  <a line in <projective plane order 4>>, <a line in <projective plane order 
    4>> ]

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