Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/forms/examples/gap/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 5.4.2025 mit Größe 302 B image not shown  

Quelle  quadformfields.g   Sprache: unbekannt

 
#constructing the same form over different fields
mat := 
[[Z(2)^0,Z(2)^0,0*Z(2),0*Z(2)],[0*Z(2),Z(2)^0,0*Z(2),0*Z(2)], 
 [0*Z(2),0*Z(2),0*Z(2),Z(2)^0],[0*Z(2),0*Z(2),0*Z(2),0*Z(2)]];
form := QuadraticFormByMatrix(mat);
WittIndex(form);
form := QuadraticFormByMatrix(mat,GF(4));
WittIndex(form);
quit;

[ Dauer der Verarbeitung: 0.18 Sekunden  (vorverarbeitet)  ]