source: git/Tst/Manual/coef.tst @ c2f6bd

spielwiese
Last change on this file since c2f6bd 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: 282 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=32003,(x,y,z),dp;
3  poly f=x5+5x4y+10x2y3+y5;
4  matrix m=coef(f,y);
5  print(m);
6  f=x20+xyz+xy+x2y+z3;
7  print(coef(f,xy));
8  vector v=[f,zy+77+xy];
9  print(v);
10  matrix mc; matrix mm;
11  coef(v,y,mc,mm);
12  print(mc);
13  print(mm);
14tst_status(1);$
Note: See TracBrowser for help on using the repository browser.