source: git/Tst/Manual/fetch_BR_PLURAL_BR.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 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: 585 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ncalg.lib";
3def Usl2 = makeUsl2(); // this algebra is U(sl_2)
4setring Usl2;
5option(redSB);
6option(redTail);
7poly  C  = 4*e*f+h^2-2*h; // the central element of Usl2
8ideal I  = e^3,f^3,h^3-4*h;
9ideal J  = twostd(I);
10 // print a compact presentation of J:
11print(matrix(ideal(J[1..5]))); // first 5 generators
12print(matrix(ideal(J[6..size(J)]))); // last generators
13ideal QC = twostd(C-8);
14qring Q  = QC;
15ideal QJ = fetch(Usl2,J);
16QJ = std(QJ);
17// thus QJ is the image of I in the factor-algebra QC
18print(matrix(QJ)); // print QJ compactly
19tst_status(1);$
Note: See TracBrowser for help on using the repository browser.