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