source: git/Tst/Manual/changeDenominator.tst @ ef52d6

spielwiese
Last change on this file since ef52d6 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: 329 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "normal.lib";
3ring s = 0,(x,y),dp;
4ideal I = y5-y4x+4y2x2-x4;
5ideal U1 = normal(I)[2][1];
6poly c1 = U1[4];
7U1;c1;
8// 1/c1 * U1 is the normalization of I.
9ideal U2 = changeDenominator(U1, c1, x3, I);
10U2;
11// 1/x3 * U2 is also the normalization of I, but with a different denominator.
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.