spielwiese
Last change
on this file since 76ce4e6 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:
697 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "multigrading.lib"; |
---|
3 | ring r = 0, (x, y, z), dp; |
---|
4 | intmat S1[3][3] = |
---|
5 | 1, 0, 0, |
---|
6 | 0, 1, 0, |
---|
7 | 0, 0, 1; |
---|
8 | intmat L1[3][1] = |
---|
9 | 0, |
---|
10 | 0, |
---|
11 | 0; |
---|
12 | def G1 = createGroup(S1, L1); // (S1 + L1)/L1 |
---|
13 | printGroup(G1); |
---|
14 | setBaseMultigrading(S1, L1); // to change... |
---|
15 | ring R = 0, (a, b, c), dp; |
---|
16 | intmat S2[2][3] = |
---|
17 | 1, 0, |
---|
18 | 0, 1; |
---|
19 | intmat L2[2][1] = |
---|
20 | 0, |
---|
21 | 2; |
---|
22 | def G2 = createGroup(S2, L2); |
---|
23 | printGroup(G2); |
---|
24 | setBaseMultigrading(S2, L2); // to change... |
---|
25 | map F = r, a, b, c; |
---|
26 | intmat A[nrows(L2)][nrows(L1)] = |
---|
27 | 1, 0, 0, |
---|
28 | 3, 2, -6; |
---|
29 | // graded ring homomorphism is given by (compatible): |
---|
30 | print(F); |
---|
31 | print(A); |
---|
32 | isGradedRingHomomorphism(r, ideal(F), A); |
---|
33 | def h = createGradedRingHomomorphism(r, ideal(F), A); |
---|
34 | print(h); |
---|
35 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.