source: git/Tst/Old/err3.tst @ 46976a6

spielwiese
Last change on this file since 46976a6 was 46976a6, checked in by Olaf Bachmann <obachman@…>, 26 years ago
* added status check to regress.cmd * added tst_status(1); call to each tst file, just before quit git-svn-id: file:///usr/local/Singular/svn/trunk@2271 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.4 KB
Line 
1//-------------------------------------------------
2//an error of 0.8.5b: donati@hera.unice.fr
3ring r = 0, (x,y), ds;
4poly f = x4+y5+x2y3;
5ideal i = jacob(f);
6ideal j = std(i);
7j;
8//j[1]=2x3+1xy3
9//j[2]=3x2y2+5y4
10//j[3]=10xy4
11//j[4]=1y6
12
13reduce(x4+y5+x2y3, j);
14//-----------------------------------------------
15//an error of 0.8.6: (ralf) div by zero -> abort
16random(5,5);
17//------------------------------------------------
18//an error of 0.8.6: (gerik) result was false:
19f=0;
20f==0;
21//------------------------------------------------
22//an error of 0.8.7: (hgrass) core dump
23matrix a[2][2]=1,2,3,4;
24matrix b[1][0];
25b; // could not display strange matrices
26a=b; //could not assign strange matrices
27listvar(all);
28//-----------------------------------------------
29//an error of 0.8.7d (hannes) ordering a incorrect
30ring hs=0,(x,y),(c,a(5,3),dp);
31hs;
32poly f=x2+y3;
33f;
34ord(f);
35deg(f);
36//----------------------------------------------
37//an error of 0.8.7d (gmg) jump to undefined address
38ring r=0,(x,y),a(2,3);
39poly f=x,y;
40f;
41//---------------------------------------------
42//an error of 0.8.8c (thomas) (last entry missing)
43ring r;
44ideal i1=x,0,y;
45ideal i2;
46i1+i2;
47kill r;
48//---------------------------------------------
49//an error of 0.8.8c (greuel) result was 0y
50ring r0=0,(x,y),dp;
51poly f=100x+101y;
52subst(f,x,0);
53//---------------------------------------------
54//an error of 0.8.8d (greuel) result was totally wrong
55// for mixed orderings
56ring r3 = 32003,(t,x,y),(lp(1),ds);
57ideal i = x-t3-t5, y-t10;
58ideal is = std(i);
59is;
60//---------------------------------------------
61//an error of 0.8.8.f (greuel) segmentation fault
62ring r4 = 31,(t,x,y,z),dp;
63poly tau=(1/2)*(1+6);
64poly alpha=(1/4)*(2*tau+1);
65ideal pencil = (tau^6-1)*x2y2z2-tau^4*(x4y2+y4z2+z4x2)+tau^2*(x2y4+y2z4+z2x4),
66               -t2*(x2+y2+z2-t2)*2;
67matrix ppar[2][1] = 1, alpha;
68ideal f = minor(ppar*matrix(pencil),1);
69module jf = module(jacob(f));
70module kf =std(jf);
71dim(kf);
72mult(kf);
73degree(kf);
74kill r4;
75//---------------------------------------------
76//an error of 0.9.2d (gmg) input not a resolvente
77LIB "matrix.lib";LIB "homolog.lib";
78
79
80int n=5;             
81int m=3;
82int N=n*(n+1)/2;       //Anz. der Variablen
83ring R=32003,x(1..N),dp;
84matrix X=symmat(n);    //aus matrix.lib
85ideal J=minor(X,m+1);
86J=std(J);
87module D=J*freemodule(N)+transpose(jacob(J)); // der Differentialmodul
88D = transpose(D);
89ncols(D); nrows(D);
90option(prot);   
91
92module E=Ext(2,D,J);
93
94LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.