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

Quelle  singular_C_vs_c.g   Sprache: unbekannt

 
# This test finishes quickly with ordering (dp,c) but takes a very long time
# with ordering dp (which is equivalent to (dp,C)).

LoadPackage("RingsForHomalg");

QQ := HomalgFieldOfRationalsInSingular( );

M := HomalgIdentityMatrix( 1, QQ );
N := UnionOfColumns( ListWithIdenticalEntries( 10000, M ) );

Display( "If this test does not finish, Singular uses a bad ordering..." );

Eval( SyzygiesOfColumns( N ) );

[ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet)  ]