source: git/Tst/Old/jet.tst @ 9a24da

fieker-DuValspielwiese
Last change on this file since 9a24da 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: 642 bytes
Line 
1// Test for the jet command
2ring r=32003,(x,y,z),(dp,c);
3jet(1+x+x2+x3+x4,3);
4poly f=1+x+y+z+x2+xy+xz+y2+x3+y3+z4z4;
5jet(f,1);
6jet(f,2);
7jet(f,3);
8jet(f,4);
9// the part of f with (total) degree >3
10f-jet(f,3);
11// the homogeneous part of f of degree 2:
12jet(f,2)-jet(f,1);
13// the absolute term of f:
14jet(f,0);
15// now for other types:
16jet(maxideal(2),2);
17jet(maxideal(2),1);
18jet(maxideal(2),3);
19ideal i=f,f,f*f;
20jet(i,1);
21jet(i,2);
22vector v=[f,1,f];
23jet(v,1);
24jet(v,0);
25module m=v,v,[1,x2,z3,0,1];
26jet(m,2);
27ring rr=32003,(x,y,z),(c,dp);
28module m=fetch(r,m);
29vector v=fetch(r,v);
30v;
31jet(v,1);
32jet(v,0);
33m;
34jet(m,2);
35LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.