source: git/Tst/Old/err5.tst @ 2efb0e

spielwiese
Last change on this file since 2efb0e 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: 911 bytes
Line 
1//From:    Trond St|len Gustavsen <stolen@math.uio.no>
2
3ring r = 0, (x(1..5)), ds;
4matrix m[2][4]= x(1), x(2), x(3), x(4), x(2), x(3), x(4), x(5);
5
6ideal j = minor(m, 2);
7ideal i = std(j);
8
9list ires=mres(i, 2);
10def ires(1),ires(2)=ires[1],ires[2];
11matrix jaco = jacob(ires(1));
12qring s = i;
13s;
14matrix mat = matrix(fetch(r,ires(2)));
15matrix imat = transpose(mat);
16matrix jac = fetch(r, jaco);
17
18list imatres=nres(module(imat),3);
19def imatres(1..3)=imatres[1..3];
20
21matrix T = lift(imatres(2), module(jac));
22
23module P=std(module(T))+std(imatres(3));
24
25module Q=std(P);
26Q;
27kbase(Q);
28vdim(Q);
29degree(Q);
30
31//When executing the kbase(Q) gives 4 elements in Q, but vdim returns -1.
32//----------------------------------------------------------------------------
33// incorrect kbase and vdim (0.8.9f) (anne)
34ring rr=32003,(x,y),dp;
35module i=
361*gen(1),
37x*gen(2),
38y^3*gen(2);
39vdim(i);
40kbase(i);
41LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.