source: git/Tst/Manual/isLocallyFree.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 332 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "homolog.lib";
3ring R=0,(x,y,z),dp;
4matrix M[2][3];     // the presentation matrix
5M=x-1,y-1,z,y-1,x-2,x;
6ideal I=fitting(M,0); // 0-th Fitting ideal of coker(M)
7qring Q=I;
8matrix M=fetch(R,M);
9isLocallyFree(M,1); // as R/I-module, coker(M) is locally free of rk 1
10isLocallyFree(M,0);
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.