source: git/Tst/Manual/hom_kernel.tst @ 951db29

spielwiese
Last change on this file since 951db29 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: 285 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "homolog.lib";
3ring r;
4module N=[2x,x],[0,y];
5module M=maxideal(1)*freemodule(2);
6matrix A[2][3]=2x,0,x,y,z2,y;
7module K=hom_kernel(A,M,N);
8// dimension of kernel:
9dim(std(K));
10// vector space dimension of kernel:
11vdim(std(K));
12print(K);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.