source: git/Tst/Manual/restrictionIdeal.tst @ 951db29

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: 331 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "dmodapp.lib";
3ring r = 0,(a,x,b,Da,Dx,Db),dp;
4def D3 = Weyl();
5setring D3;
6ideal I = a*Db-Dx+2*Da,
7x*Db-Da,
8x*Da+a*Da+b*Db+1,
9x*Dx-2*x*Da-a*Da,
10b*Db^2+Dx*Da-Da^2+Db,
11a*Dx*Da+2*x*Da^2+a*Da^2+b*Dx*Db+Dx+2*Da;
12intvec w = 1,0,0;
13def D2 = restrictionIdeal(I,w);
14setring D2; D2;
15resIdeal;
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.