source: git/Tst/Manual/matrix_expressions.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: 246 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=0,(x,y),dp;
3  poly f= x3y2 + 2x2y2 +2;
4  matrix H = jacob(jacob(f));    // the Hessian of f
5  matrix mc = coef(f,y);
6  print(mc);
7  module MD = [x+y,1,x],[x+y,0,y];
8  matrix M = MD;
9  print(M);
10tst_status(1);$
Note: See TracBrowser for help on using the repository browser.