spielwiese
Last change
on this file was
c453b7d,
checked in by Hans Schoenemann <hannes@…>, 2 years ago
|
fix: tests
|
-
Property mode set to
100644
|
File size:
775 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y),dp; |
---|
3 | module mo=[x^2-y^2,1,0,0],[xy+y^2,0,1,0],[y^2,0,0,1]; |
---|
4 | print(mo); |
---|
5 | |
---|
6 | // load dynamic module - at the same time creating package Kstd |
---|
7 | // procedures will be available in the packages Top and Kstd |
---|
8 | LIB("partialgb.so"); |
---|
9 | listvar(package); |
---|
10 | |
---|
11 | // set the number of components to be considered to 1 |
---|
12 | module mostd=partialStd(mo,1); // calling procedure in Top |
---|
13 | // obviously computation ignored pairs with leading |
---|
14 | // term in the second entry |
---|
15 | print(mostd); |
---|
16 | |
---|
17 | // now consider 2 components |
---|
18 | module mostd2=Partialgb::partialStd(mo,2); // calling procedure in partialgb |
---|
19 | // this time the previously unconsidered pair was |
---|
20 | // treated too |
---|
21 | print(mostd2); |
---|
22 | |
---|
23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.