source: git/Tst/Manual/mindeg.tst @ 951db29

spielwiese
Last change on this file since 951db29 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: 316 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "poly.lib";
3ring r = 0,(x,y,z),ls;
4poly f = x5+y2+z3;
5ord(f);                  // ord returns weighted order of leading term!
6mindeg(f);               // computes minimal degree
7matrix m[2][2]=x10,1,0,f^2;
8mindeg(m);               // computes matrix of minimum degrees
9tst_status(1);$
Note: See TracBrowser for help on using the repository browser.