source: git/Tst/Manual/attrib_2.tst @ 228e0b

spielwiese
Last change on this file since 228e0b was 6051d87, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
FIX: Manual examples need adaptation to be tests (due to HW/build-dependent output)
  • Property mode set to 100644
File size: 302 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=0,(x,y,z),dp;
3  ideal I=maxideal(2); // the attribute "isSB" is set
4  vdim(I); // no warn!
5  ideal J=I[1..ncols(I)]; // the attribute "isSB" is not set
6  vdim(J); // warn!
7  attrib(J,"isSB",1);  // the standard basis attribute is set here
8  vdim(J);
9tst_status(1);$
Note: See TracBrowser for help on using the repository browser.