source: git/Tst/Manual/coeffs.tst @ 36bbdc

spielwiese
Last change on this file since 36bbdc 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: 205 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r;
3  poly f = (x+y)^3;
4  poly g = xyz+z10y4;
5  ideal i = f, g;
6  matrix M = coeffs(i, y);
7  print(M);
8  vector v = [f, g];
9  M = coeffs(v, y);
10  print(M);
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.