source: git/Tst/Manual/ideal_operations.tst @ cbf01b

fieker-DuValspielwiese
Last change on this file since cbf01b 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: 304 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=0,(x,y,z),dp;
3  ideal I = 0,x,0,1;
4  I;
5  I + 0;    // simplification
6  ideal J = I,0,x,x-z;;
7  J;
8  I * J;   //  multiplication with simplification
9  I*x;
10  vector V = [x,y,z];
11  print(V*I);
12  ideal m = maxideal(1);
13  m^2;
14  ideal II = I[2..4];
15  II;
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.