Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/tst/testinstall/MatrixObj/   (GAP Algebra Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 400 B image not shown  

Quelle  Unpack.tst  Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Lisp {Lisp[58] Masm[58] ABAP[50]} [Methode: maximale Elemente, drei Dimensionen]

gap> START_TEST("Unpack.tst");
gap> ll := [1,2,3,4,5,6];
[ 1, 2, 3, 4, 5, 6 ]
gap> v1 := Vector(IsPlistVectorRep, Rationals, ll);
<plist vector over Rationals of length 6>
gap> Unpack( v1 );
[ 1, 2, 3, 4, 5, 6 ]
gap> v5 := Vector(GF(5), ll*One(GF(5)));
[ Z(5)^0, Z(5), Z(5)^3, Z(5)^2, 0*Z(5), Z(5)^0 ]
gap> Unpack( v5 );
[ Z(5)^0, Z(5), Z(5)^3, Z(5)^2, 0*Z(5), Z(5)^0 ]
gap> STOP_TEST("Unpack.tst");

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