spielwiese
Last change
on this file since ef52d6 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:
353 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "inout.lib"; |
---|
3 | ring r= 0,(x,y,z),ds; |
---|
4 | poly f=((x+y)*(x-y)*(x+z)*(y+z)^2); |
---|
5 | lprint(f,40); |
---|
6 | module m = [f*(x-y)],[0,f*(x-y)]; |
---|
7 | string s=lprint(m); s;""; |
---|
8 | execute("matrix M[2][2]="+s+";"); //use the string s as input |
---|
9 | module m1 = transpose(M); //should be the same as m |
---|
10 | print(matrix(m)-matrix(m1)); |
---|
11 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.