source: git/Tst/Manual/convertdata.tst @ ef52d6

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: 266 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "resbinomial.lib";
3ring r = 0,(x(1..4),y(5)),dp;
4list M=identifyvar();
5ideal J=x(1)^2*y(5)^2-x(2)^2*x(3)^2,6*x(4)^2;
6list L=data(J,2,5);
7L[1]; // Coefficients
8L[2]; // Exponents
9ideal J2=convertdata(L[1],L[2],5,M);
10J2;
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.