source: git/Tst/Manual/homology.tst @ 0d6b7fc

fieker-DuValspielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc 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: 437 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "homolog.lib";
3ring r;
4ideal id=maxideal(4);
5qring qr=std(id);
6module N=maxideal(3)*freemodule(2);
7module M=maxideal(2)*freemodule(2);
8module B=[2x,0],[x,y],[z2,y];
9module A=M;
10module H=homology(A,B,M,N);
11H=std(H);
12// dimension of homology:
13dim(H);
14// vector space dimension:
15vdim(H);
16ring s=0,x,ds;
17qring qs=std(x4);
18module A=[x];
19module B=A;
20module M=[x3];
21module N=M;
22homology(A,B,M,N);
23tst_status(1);$
Note: See TracBrowser for help on using the repository browser.