source: git/Tst/Old/normalf.tst @ 6a6276

fieker-DuValspielwiese
Last change on this file since 6a6276 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: 715 bytes
Line 
1//
2// test script for reduce command
3//
4pagelength = 10000;
5ring r1 = 32003,(x,y,z),(c,ds);
6r1;
7"-------------------------------";
8poly s1=x2+xyz;
9poly s2=x5z+y6z+xz3;
10poly s3=xy+xz+yz;
11ideal i1=x2+xyz,y2-z3y,z3+y5xz;
12ideal i2=maxideal(3)+i1;
13reduce(s1,i1);
14"---------------------------------";
15reduce(s2,i1);
16"-------------------------------";
17reduce(s3,i2);
18"-------------------------------";
19vector v1=[s1,s2-s1,s3-s1]+s1*gen(5);
20vector v2=[s1,s2,s3]+s2*gen(5);
21vector v3=[s1,s2-s1,s3]+s1*gen(5);
22module m=v1,v2,v3;
23reduce(v1,m);
24"-----------------------------";
25reduce(v2,m);
26"------------------------------";
27reduce(v3,m);
28"-----------------------------";
29listvar(all);
30kill r1;
31LIB "tst.lib";tst_status(1);$;
Note: See TracBrowser for help on using the repository browser.