spielwiese
Last change
on this file since 951db29 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:
427 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y),dp; |
---|
3 | def R=nc_algebra(-1,0); //anti-commutative algebra |
---|
4 | setring R; |
---|
5 | module M=[x,x],[y,0]; |
---|
6 | module N=[0,y^2],[y,x]; |
---|
7 | option(redSB); |
---|
8 | module Res; |
---|
9 | Res=intersect(M,N); |
---|
10 | print(Res); |
---|
11 | kill r,R; |
---|
12 | //-------------------------------- |
---|
13 | LIB "ncalg.lib"; |
---|
14 | ring r=0,(x,d),dp; |
---|
15 | def RR=Weyl(); // make r into Weyl algebra |
---|
16 | setring RR; |
---|
17 | ideal I = x+d^2; |
---|
18 | ideal J = d-1; |
---|
19 | ideal H = intersect(I,J); |
---|
20 | H; |
---|
21 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.