source: git/Tst/Manual/freerank.tst @ 4689d0

fieker-DuValspielwiese
Last change on this file since 4689d0 was 4689d0, checked in by Hans Schoenemann <hannes@…>, 3 years ago
rename poly.lib to polylib.lib
  • Property mode set to 100644
File size: 384 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "polylib.lib";
3ring r;
4ideal i=x;
5module M=[x,0,1],[-x,0,-1];
6freerank(M);          // should be 2, coker(M) is not free
7freerank(syz (M),"");
8// [1] should be 1, coker(syz(M))=M is free of rank 1
9// [2] should be gen(2)+gen(1) (minimal relation of M)
10freerank(i);
11freerank(syz(i));     // should be 1, coker(syz(i))=i is free of rank 1
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.