source: git/Tst/Manual/preimage.tst @ 7161aca

fieker-DuValspielwiese
Last change on this file since 7161aca was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 305 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r1=32003,(x,y,z,w),lp;
3  ring r=32003,(x,y,z),dp;
4  ideal i=x,y,z;
5  ideal i1=x,y;
6  ideal i0=0;
7  map f=r1,i;
8  nameof (preimage (f));
9  setring r1;
10  ideal i1=preimage(r,f,i1);
11  i1;
12  // the kernel of f
13  preimage(r,f,i0);
14  // or, use:
15  kernel(r,f);
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.