source: git/Tst/Manual/vector_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: 322 bytes
Line 
1LIB "tst.lib"; tst_init();
2  // ordering gives priority to components:
3  ring rr=0,(x,y,z),(c,dp);
4  vector v=[x2+y3,2,0,x*y]+gen(6)*x6;
5  v;
6  vector w=[z3-x,3y];
7  v-w;
8  v*(z+x);
9  // ordering gives priority to monomials:
10  // this results in a different output
11  ring r=0,(x,y,z),(dp,c);
12  imap(rr,v);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.