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