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