source: git/Tst/Short/bug_tr306.tst @ 29fc843

spielwiese
Last change on this file since 29fc843 was 4eaf9ab, checked in by Hans Schoenemann <hannes@…>, 13 years ago
test tr.306 git-svn-id: file:///usr/local/Singular/svn/trunk@13790 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 352 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// resultant should not change its input arguments:
5ring rb =(0,b),x,dp;
6poly f = 2/3*x+7/5;
7resultant (x,f,x);
8f;
9
10// Other example
11f = 2/3x+5;
12poly g = 7/11x-3/8;
13resultant (f,g,x);
14-7/11*subst(2/3x+5,x,3/8*11/7);  // check by hand (product formula for resultant)
15
16f;
17g;
18
19f = x/b+1;
20resultant (x,f,x);
21f;
22
23tst_status(1);$
Note: See TracBrowser for help on using the repository browser.