source: git/Tst/Old/err5.tst @ 267fe2d

spielwiese
Last change on this file since 267fe2d was 97d5bb, checked in by Olaf Bachmann <obachman@…>, 24 years ago
* cleaned up tst stuff git-svn-id: file:///usr/local/Singular/svn/trunk@3893 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 955 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);
19imatres;
20def imatres(1..3)=imatres[1..3];
21
22matrix T = lift(imatres(2), module(jac));
23T;
24std(module(T));
25std(imatres(3));
26module P=std(module(T))+std(imatres(3));
27
28module Q=std(P);
29Q;
30kbase(Q);
31vdim(Q);
32degree(Q);
33
34//When executing the kbase(Q) gives 4 elements in Q, but vdim returns -1.
35//----------------------------------------------------------------------------
36// incorrect kbase and vdim (0.8.9f) (anne)
37ring rr=32003,(x,y),dp;
38module i=
391*gen(1),
40x*gen(2),
41y^3*gen(2);
42vdim(i);
43kbase(i);
44LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.