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:
596 bytes
|
Rev | Line | |
---|
[b1ac99] | 1 | LIB "tst.lib"; |
---|
| 2 | tst_init(); |
---|
| 3 | // |
---|
| 4 | // test script for liftstd command |
---|
| 5 | // |
---|
| 6 | pagelength = 10000; |
---|
| 7 | ring r1 = 32003,(x,y,z),(c,ls); |
---|
| 8 | r1; |
---|
| 9 | LIB "lib0"; |
---|
| 10 | "-------------------------------"; |
---|
| 11 | ideal i1=maxideal(3); |
---|
| 12 | ideal i2=x6,y4,z5,xy,yz,xz; |
---|
| 13 | i2; |
---|
| 14 | matrix m1[3][3]=x,y,z,xz,yx,12zx,0,y2,3xy2; |
---|
| 15 | pmat(m1); |
---|
| 16 | liftstd(i2,m1); |
---|
| 17 | "---------------------------------"; |
---|
| 18 | vector v1=[x4,y2,xz2]; |
---|
| 19 | vector v2=[y3,x8,2z4]; |
---|
| 20 | module m=v1,v2; |
---|
| 21 | m; |
---|
| 22 | pmat(m1); |
---|
| 23 | liftstd(m,m1); |
---|
| 24 | "--------------------------------"; |
---|
| 25 | listvar(all); |
---|
| 26 | kill r1; |
---|
| 27 | ring R; |
---|
| 28 | poly f=x3+y7+z2+xyz; |
---|
| 29 | ideal i=jacob(f); |
---|
| 30 | matrix T; |
---|
| 31 | ideal sm=liftstd(i,T); |
---|
| 32 | matrix(sm)-matrix(i)*T; |
---|
| 33 | kill R; |
---|
| 34 | $; |
---|
Note: See
TracBrowser
for help on using the repository browser.