fieker-DuValspielwiese
Last change
on this file since 159ca3 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:
405 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "multigrading.lib"; |
---|
3 | ring r = 0,(x,y,z),dp; |
---|
4 | intmat MM[2][3]= |
---|
5 | -1,1,1, |
---|
6 | 0,1,3; |
---|
7 | setBaseMultigrading(MM); |
---|
8 | ideal h1 = x, y, z; |
---|
9 | ideal h2 = x; |
---|
10 | "Multidegrees: "; print(multiDeg(h1)); |
---|
11 | // Let's compute modulo(h1, h2): |
---|
12 | def K = multiDegModulo(h1, h2); K; |
---|
13 | "Module Units Multigrading: "; print( getModuleGrading(K) ); |
---|
14 | "Multidegrees: "; print(multiDeg(K)); |
---|
15 | isHomogeneous(K); |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.