source: git/Tst/Manual/slimgb_BR_PLURAL_BR.tst @ 0d6b7fc

spielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc 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: 438 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "nctools.lib";
3LIB "ncalg.lib";
4def U = makeUsl(2);
5// U is the U(sl_2) algebra
6setring U;
7ideal I = e^3, f^3, h^3-4*h;
8option(redSB);
9ideal J = slimgb(I);
10J;
11// compare slimgb with std:
12ideal K = std(I);
13print(matrix(NF(K,J)));
14print(matrix(NF(J,K)));
15// hence both Groebner bases are equal
16;
17// another example for exterior algebras
18ring r;
19def E = Exterior();
20setring E; E;
21slimgb(xy+z);
22tst_status(1);$
Note: See TracBrowser for help on using the repository browser.