spielwiese
Last change
on this file since 882ae9c 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:
666 bytes
|
Line | |
---|
1 | intvec hi; |
---|
2 | ring r0=0,(x,y,z),dp; |
---|
3 | module mm= |
---|
4 | (x2z2-xy2z)*gen(1)-(x2zy2+xyz3)*gen(3)+(xy2+xyz)*gen(2), |
---|
5 | (xy+yz)*gen(1)-(xz2-xyz)*gen(3)+(y+z)*gen(2), |
---|
6 | (x3y2z+xy3z2)*gen(1)-(x3y2+y3z2)*gen(2), |
---|
7 | (x3+y3+z3)*gen(1)+(x3y-y2z2)*gen(3)-(xy+yz+xz)*gen(2); |
---|
8 | module nn=std(mm); |
---|
9 | attrib(nn,"isHomog"); |
---|
10 | intvec we=-9,-8,-10; |
---|
11 | hi=hilb(nn,1); |
---|
12 | hi; |
---|
13 | ring r1=0,(x,y,z),(C,lp); |
---|
14 | module mm=fetch(r0,mm); |
---|
15 | module nn=std(mm); |
---|
16 | module nm=std(mm,hi); |
---|
17 | int i; |
---|
18 | for(i=1;i<=size(nn);i++) |
---|
19 | { |
---|
20 | nn[i]-nm[i]; |
---|
21 | } |
---|
22 | setring r0; |
---|
23 | attrib(nn,"isHomog",we); |
---|
24 | hi=hilb(nn,1); |
---|
25 | hi; |
---|
26 | setring r1; |
---|
27 | mm=fetch(r0,mm); |
---|
28 | attrib(mm,"isHomog",we); |
---|
29 | nm=std(mm,hi); |
---|
30 | for(i=1;i<=size(nn);i++) |
---|
31 | { |
---|
32 | nn[i]-nm[i]; |
---|
33 | } |
---|
34 | LIB "tst.lib";tst_status(1);$ |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.