spielwiese
Last change
on this file since 971e31 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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | // resultant should not change its input arguments: |
---|
5 | ring rb =(0,b),x,dp; |
---|
6 | poly f = 2/3*x+7/5; |
---|
7 | resultant (x,f,x); |
---|
8 | f; |
---|
9 | |
---|
10 | // Other example |
---|
11 | f = 2/3x+5; |
---|
12 | poly g = 7/11x-3/8; |
---|
13 | resultant (f,g,x); |
---|
14 | -7/11*subst(2/3x+5,x,3/8*11/7); // check by hand (product formula for resultant) |
---|
15 | |
---|
16 | f; |
---|
17 | g; |
---|
18 | |
---|
19 | f = x/b+1; |
---|
20 | resultant (x,f,x); |
---|
21 | f; |
---|
22 | |
---|
23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.