Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/simpcomp/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.2.2022 mit Größe 6 kB image not shown  

Quelle  basic.tst   Sprache: unbekannt

 
gap> START_TEST( "basic" );

#
gap> LoadPackage( "ModulePresentationsForCAP", false );
true

#
gap> R := HomalgRingOfIntegers( );;
gap> fpres := LeftPresentations( R );;
gap> M := AsLeftPresentation( fpres, HomalgMatrix( [ [ 2 ] ], 1, 1, R ) );
<An object in Category of left presentations of Z>
gap> N := AsLeftPresentation( fpres, HomalgMatrix( [ [ 3 ] ], 1, 1, R ) );
<An object in Category of left presentations of Z>
gap> id := IdentityMorphism( M );
<An identity morphism in Category of left presentations of Z>
gap> IsEqualForMorphisms( id, PreCompose( id, id ) );
true

#
gap> STOP_TEST( "basic" );

[ Dauer der Verarbeitung: 0.20 Sekunden  (vorverarbeitet)  ]