source: git/Tst/Manual/Dynamic_modules.tst @ 0d6b7fc

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