source: git/Tst/Manual/dimGradedPart.tst

spielwiese
Last change on this file 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: 365 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "sheafcoh.lib";
3ring R=0,(x,y,z),dp;
4module M=maxideal(3);
5// assign compatible weight vector (here: 0)
6homog(M);
7// compute dimension of graded pieces of R/<x,y,z>^3 :
8dimGradedPart(M,0);
9dimGradedPart(M,1);
10dimGradedPart(M,2);
11dimGradedPart(M,3);
12// shift grading:
13attrib(M,"isHomog",intvec(2));
14dimGradedPart(M,2);
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.