source: git/Tst/Short/lift_s.tst @ b1ac99

spielwiese
Last change on this file since b1ac99 was b1ac99, checked in by Thomas Siebert <siebert@…>, 26 years ago
*** empty log message *** git-svn-id: file:///usr/local/Singular/svn/trunk@1529 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 962 bytes
Line 
1LIB "tst.lib";
2tst_init();
3//
4// test script for lift command
5//
6pagelength = 10000;
7ring r1 = 32003,(x,y,z),(c,dp);
8r1;
9"-------------------------------";
10poly s1=y7+x3+xyz+z2;
11ideal i1=jacob(s1);
12ideal i2=std(i1);
13ideal i=3x2+yz,7y6+2x2y+5xz;
14i;
15i1;
16i2;
17s1;
18matrix T=lift(i2,i);
19T;
20matrix(i)-matrix(i2)*T;
21"-----------------------------";
22poly s2=x4+y3+z6+2xyz;
23ideal i3=jacob(s2);
24ideal i4=std(i3);
25s2;
26i3;
27i4;
28matrix T1=lift(i4,i);
29T1;
30matrix(i)-matrix(i4)*T1;
31"-------------------------------";
32listvar(all);
33kill r1;
34//From:    Trond St|len Gustavsen <stolen@math.uio.no>
35
36ring r = 0, (x(1..5)), ds;
37matrix m[2][4]= x(1), x(2), x(3), x(4), x(2), x(3), x(4), x(5);
38
39ideal j = minor(m, 2);
40ideal i = std(j);
41
42mres(i, 2, ires);
43matrix jaco = jacob(ires(1));
44qring s = i;
45s;
46matrix mat = matrix(fetch(r,ires(2)));
47matrix imat = transpose(mat);
48matrix jac = fetch(r, jaco);
49
50res(module(imat),3,imatres);
51
52matrix T = lift(imatres(2), module(jac));
53T;
54kill r;
55$;
Note: See TracBrowser for help on using the repository browser.