source: git/Tst/Short/bug_ringlist_M.tst

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 
1LIB "tst.lib";
2tst_init();
3
4int nx = 2;
5int ny = 2;
6int i,j,k,l;
7
8intmat imat[nx+ny][nx+ny];
9for(i=1;i<=nx+ny;i++){
10        imat[1,i] = -1;
11}
12for(i=1;i<=ny;i++){
13        imat[i+1,ny+nx-i+1] = 1;
14}
15for(i=1;i<=nx-1;i++){
16        imat[i+ny+1,nx-i+1] = 1;
17}
18
19ring R = (0,a), (x(1..2),y(1..2)), (M(imat),C);
20
21ideal E = 0;
22ideal N = 1;
23par2varRing(list(E,N));
24
25tst_status(1);$
26
27
Note: See TracBrowser for help on using the repository browser.