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 496 B image not shown  

Quelle  BC.g   Sprache: unbekannt

 
LoadPackage( "Modules" );

zz := HomalgRingOfIntegers( );

C0 := HomalgComplex( 3 * zz );

Add( C0, HomalgMatrix( "[ 0, 1, 0,   0, 0, 1,   0, 0, 0,   0, 0, 0 ]", 4, 3, zz ) );

C1 := HomalgComplex( 0 * zz );

Add( C1, 2 * zz );

cm := HomalgChainMorphism( HomalgZeroMatrix( 3, 0, zz ), C0, C1 );

Add( cm, HomalgMatrix( "[ -1, 0,   0, -1,   2, 0,   0, 12 ]", 4, 2, zz ) );

C := HomalgCocomplex( cm );

Assert( 0, IsComplex( C ) );

BC := HomalgBicomplex( C );

tBC := TransposedBicomplex( BC );

[ Dauer der Verarbeitung: 0.5 Sekunden  (vorverarbeitet)  ]