spielwiese
Last change
on this file was
313806,
checked in by Hans Schoenemann <hannes@…>, 2 months ago
|
fix: ring from list with ordering M
|
-
Property mode set to
100644
|
File size:
373 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | int nx = 2; |
---|
5 | int ny = 2; |
---|
6 | int i,j,k,l; |
---|
7 | |
---|
8 | intmat imat[nx+ny][nx+ny]; |
---|
9 | for(i=1;i<=nx+ny;i++){ |
---|
10 | imat[1,i] = -1; |
---|
11 | } |
---|
12 | for(i=1;i<=ny;i++){ |
---|
13 | imat[i+1,ny+nx-i+1] = 1; |
---|
14 | } |
---|
15 | for(i=1;i<=nx-1;i++){ |
---|
16 | imat[i+ny+1,nx-i+1] = 1; |
---|
17 | } |
---|
18 | |
---|
19 | ring R = (0,a), (x(1..2),y(1..2)), (M(imat),C); |
---|
20 | |
---|
21 | ideal E = 0; |
---|
22 | ideal N = 1; |
---|
23 | par2varRing(list(E,N)); |
---|
24 | |
---|
25 | tst_status(1);$ |
---|
26 | |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.