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