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

Quelle  Minors.g   Sprache: unbekannt

 
LoadPackage( "MatricesForHomalg" );

zz := HomalgRingOfIntegers( );

m := HomalgMatrix( "[ \
2,  0, 0, \
0, 12, 0  \
]", 2, 3, zz );

Assert( 0, Minors( -1, m ) = [ 1 ] );
Assert( 0, Minors( 0, m ) = [ 1 ] );
Assert( 0, Minors( 1, m ) = [ 2, 12 ] );
Assert( 0, Minors( 2, m ) = [ 24 ] );
Assert( 0, Minors( 3, m ) = [ 0 ] );
Assert( 0, Minors( 4, m ) = [ 0 ] );

[ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet)  ]