source: git/Tst/Manual/coeffs_1.tst @ 1ebec3

spielwiese
Last change on this file since 1ebec3 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: 321 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=32003,(x,y,z),dp;
3  module M = [y3+x2z, xy], [-xy, y2+x2z];
4  print(M);
5  module K = [x2, xy], [y3, xy], [xy, x];
6  print(K);
7  matrix A = coeffs(M, K, xy);   // leaving z as variable of interest
8  print(A);   // attention: only the first row of M is reproduced by K*A
9tst_status(1);$
Note: See TracBrowser for help on using the repository browser.