source: git/Tst/Old/m1ex.tst @ 85d15b1

spielwiese
Last change on this file since 85d15b1 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: 662 bytes
Line 
1  option(prot);
2  ring r1 = 32003,(x,y,z),ds;
3  r1;
4  int a,b,c,t=11,5,3,0;
5  poly f = x^a+y^b+z^(3*c)+x^(c+2)*y^(c-1)+x^(c-1)*y^(c-1)*z3+
6           x^(c-2)*y^c*(y^2+t*x)^2;
7  f;
8  ideal i=jacob(f);
9  i;
10  ideal j=std(i);
11  "The Milnor number of f(11,5,3) for t=0 is", vdim(j);
12  j=i+f;    // overwrite j
13  j=std(j);
14  vdim(j);  // compute the Tjurina number for t=0
15  t=1;
16  f=x^a+y^b+z^(3*c)+x^(c+2)*y^(c-1)+x^(c-1)*y^(c-1)*z3
17    +x^(c-2)*y^c*(y^2+t*x)^2;
18  ideal i1=jacob(f);
19  ideal j1=std(i1);
20  "The Milnor number of f(11,5,3) for t=1:",vdim(j1);
21  vdim(std(j1+f));   // compute the Tjurina number for t=1
22  option(noprot);
23LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.