source: git/Tst/Manual/qring_declaration_BR_PLURAL_BR.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: 476 bytes
Line 
1LIB "tst.lib"; tst_init();
2ring r=0,(z,u,v,w),dp;
3def R=nc_algebra(-1,0); // an anticommutative algebra
4setring R;
5option(redSB);
6option(redTail);
7ideal i=z^2,u^2,v^2,w^2, zuv-w;
8qring Q = i;  // incorrect call produces error
9kill Q;
10setring R;  // go back to the ring R
11qring q=twostd(i); // now it is an exterior algebra modulo <zuv-w>
12q;
13poly k = (v-u)*(zv+u-w);
14k; // the output is not yet totally reduced
15poly ek=reduce(k,std(0));
16ek; // the reduced form
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.