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

Quelle  MatrixCategory.g   Sprache: unbekannt

 
LoadPackage( "LinearAlgebraForCAP" );

Q := HomalgFieldOfRationals( );

vec := MatrixCategory( Q );

a := MatrixCategoryObject( vec, 3 );

b := MatrixCategoryObject( vec, 4 );

homalg_matrix := HomalgMatrix( [ [ 1, 0, 0, 0 ], [ 0, 1, 0, -1 ], [ -1, 0, 2, 1 ] ], 3, 4, Q );

alpha := VectorSpaceMorphism( a, homalg_matrix, b );

homalg_matrix := HomalgMatrix( [ [ 1, 1, 0, 0 ], [ 0, 1, 0, -1 ], [ -1, 0, 2, 1 ] ], 3, 4, Q );

beta := VectorSpaceMorphism( a, homalg_matrix, b );

[ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ]