source: git/Tst/Short/bug_chinrem_mat.tst @ 4e59df4

spielwiese
Last change on this file since 4e59df4 was f7e52d, checked in by Hans Schönemann <hannes@…>, 14 years ago
farey for matrix git-svn-id: file:///usr/local/Singular/svn/trunk@12448 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 308 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4ring R = 0, (x,y,z), dp;
5matrix m1[3][2] = 3,4,5,6,7,1;
6matrix m2[3][2] = 8,2,667,64,7,4;
7matrix m3[3][2] = z,y,x,64,7,1;
8list T1 = m1,m2,m3;
9matrix trans = chinrem(T1,intvec(3,7,13));
10trans;
11print(trans);
12
13bigint N = 3*7*13;
14matrix M = farey(trans,N);
15print(M);
16
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.