spielwiese
Last change
on this file since 0054e7 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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | ring R = 0, (x,y,z), dp; |
---|
5 | matrix m1[3][2] = 3,4,5,6,7,1; |
---|
6 | matrix m2[3][2] = 8,2,667,64,7,4; |
---|
7 | matrix m3[3][2] = z,y,x,64,7,1; |
---|
8 | list T1 = m1,m2,m3; |
---|
9 | matrix trans = chinrem(T1,intvec(3,7,13)); |
---|
10 | trans; |
---|
11 | print(trans); |
---|
12 | |
---|
13 | bigint N = 3*7*13; |
---|
14 | matrix M = farey(trans,N); |
---|
15 | print(M); |
---|
16 | |
---|
17 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.