source: git/Tst/Old/moralex.tst @ e706ff

spielwiese
Last change on this file since e706ff 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: 571 bytes
Line 
1ring sr=0,(x,y,z),(c,ls);
2ideal j=x2+y2+z2,x4+y5+z6;
3sr;
4// std von jacob(j) klemmte
5proc mi
6{
7 ideal @id=#[1];
8 string @s;
9 int @n=size(@id);
10 matrix @mat[1][@n]=@id;
11 int @mnr;
12 matrix @ff[1][@n]=@mat;
13 ideal @tid;
14 ideal @tmod;
15 matrix @tmat[1][1];
16 for (int @l=@n; @l>0; @l=@l-1)
17 {
18    @tid=@ff;
19    @tmat=jacob(@tid);
20    @tmod=minor(@tmat,@l);
21    @ff[1,@l]=0;
22    @tmod=@tmod,@ff;
23    "jetzt kommt std von";
24    @tmod;
25    @tmod=std(@tmod);
26    "geschafft";
27    vdim(@tmod);
28    @mnr=vdim(@tmod)-@mnr;
29    return(@tmod);
30 }
31}
32mi(j);
33LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.