source: git/Tst/New/qring_ZtoZm.tst @ 8ca38a7

spielwiese
Last change on this file since 8ca38a7 was 8ca38a7, checked in by Adi Popescu <adi_popescum@…>, 10 years ago
Added qrings feature for constant in ideal
  • Property mode set to 100644
File size: 277 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4ring rng = (integer),(x,y,z),dp;
5
6ideal iq = 20,2*y, 4*x*z+3*y, y^2-2*x*z-y;
7iq = std(iq);
8iq;
9
10qring rngQ = iq;
11
12ideal J = 3, y-4, x*z;
13
14ideal stdJ =  groebner(J);
15stdJ;
16def reduceRes = reduce( J, stdJ);
17
18std(reduceRes);
19rngQ;
20
21
22tst_status(1);
23$
Note: See TracBrowser for help on using the repository browser.