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:
424 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "sheafcoh.lib"; |
---|
3 | ring R=0,(x,y,z),dp; |
---|
4 | module M=maxideal(3); |
---|
5 | homog(M); |
---|
6 | // compute presentation matrix for truncated module (R/<x,y,z>^3)_(>=2) |
---|
7 | module M2=truncate(M,2); |
---|
8 | print(M2); |
---|
9 | dimGradedPart(M2,1); |
---|
10 | dimGradedPart(M2,2); |
---|
11 | // this should coincide with: |
---|
12 | dimGradedPart(M,2); |
---|
13 | // shift grading by 1: |
---|
14 | intvec v=1; |
---|
15 | attrib(M,"isHomog",v); |
---|
16 | M2=truncate(M,2); |
---|
17 | print(M2); |
---|
18 | dimGradedPart(M2,3); |
---|
19 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.