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