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

Quelle  homalg.g   Sprache: unbekannt

 
LoadPackage( "Modules" );
R := HOMALG_MATRICES.ZZ; ## HomalgRingOfIntegers( );
mm1 := [[262, -33, 75, -40],
        [682, -86, 196, -104],
        [1186, -151, 341, -180],
        [-1932,248,-556,292 ],
        [1018,-127,293,-156 ]
       ];
mm2 := [[1,0,0],[1,1,0],[2,1,0]];
M := LeftPresentation( mm1, R );
imat := MatrixOfRelations( M );
z := LeftPresentation( [], R );
M2 := LeftPresentation( mm2, [], R );
#SetRingRelations( R, HomalgRelationsForLeftModule( [[ 1148 ]], R ) );
S := HomalgRingOfIntegers( );
N := RightPresentation( TransposedMat( mm1 ), S );
y := RightPresentation( [], S );
N2 := RightPresentation( TransposedMat( mm2 ), [], S );
#SetRingRelations( R, HomalgRelationsForRightModule( [[ 1148 ]], S ) );

[ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet)  ]