source: git/Tst/Manual/twostd.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: 535 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ncalg.lib";
3def U = makeUsl2(); // this algebra is U(sl_2)
4setring U;
5ideal i= e^3, f^3, h^3 - 4*h;
6option(redSB);
7option(redTail);
8ideal I = std(i);
9print(matrix(I)); // print a compact presentation of I
10ideal J = twostd(i);
11// print a compact presentation of J:
12print(matrix(ideal(J[1..6]))); // first 6 gen's
13print(matrix(ideal(J[7..size(J)]))); // the rest of gen's
14// compute the set of elements present in J but not in I
15ideal K = NF(J,I);
16K = K+0; // simplify K
17print(matrix(K));
18tst_status(1);$
Note: See TracBrowser for help on using the repository browser.