source: git/Tst/Short/bug_12.tst @ 09cb443

spielwiese
Last change on this file since 09cb443 was 7c99d0, checked in by Hans Schönemann <hannes@…>, 18 years ago
*hannes: SORT for factorize git-svn-id: file:///usr/local/Singular/svn/trunk@8836 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 501 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4//input script that crashes Singular
5//  neumann@ms.unimelb.edu.au (Walter D. Neumann)
6ring r=0,(x,y,z,u,v,a,b),lp;
7option(prot);
8poly f=x6y4-x-a;poly g=x9y6-x-b;
9poly s=z-ux-vy;
10ideal id=s,f;
11poly f1=eliminate(id,y)[1];f1;
12ideal id=s,g;
13poly g1=eliminate(id,y)[1];g1;
14poly h=resultant(f1,g1,x);h;
15factorize(h);
16poly zpol=_[1][2];
17int i; int j; int k;
18for (i=6; i>=0; i=i-1)
19{
20for( j=0; j<=6-i; j=j+1)
21{
22k=6-i-j;
23i,j,k;
24factorize(zpol/(z^i*u^j*v^k));
25}
26}
27
28tst_status(1);$
Note: See TracBrowser for help on using the repository browser.