source: git/Tst/Manual/algebraicDependence.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: 591 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "sagbi.lib";
3ring r= 0,(x,y),dp;
4//The following algebra does not have a finite SAGBI basis.
5ideal I=x^2, xy-y2, xy2;
6//---------------------------------------------------
7//Call with two iterations
8def DI = algebraicDependence(I,2);
9setring DI; algDep;
10// we see that no dependency has been seen so far
11//---------------------------------------------------
12//Call with two iterations
13setring r; kill DI;
14def DI = algebraicDependence(I,3);
15setring DI; algDep;
16map F = DI,x,y,x^2, xy-y2, xy2;
17F(algDep); // we see that it is a dependence indeed
18tst_status(1);$
Note: See TracBrowser for help on using the repository browser.