source: git/Tst/Manual/imapall.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 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: 546 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ring.lib";
3// The example is not shown since imapall does not work in a procedure
4// (and hence not in the example procedure). Try the following commands:
5//   ring R=0,(x,y,z,u),dp;
6//   ideal j=x,y,z,u2+ux+z;
7//   matrix M[2][3]=1,2,3,x,y,uz;
8//   j; print(M);
9//   ring S=0,(a,b,c,x,z,y),ds;
10//   imapall(R);         //map from R to S: x->x, y->y, z->z, u->0
11//   names(S);
12//   j; print(M);
13//   imapall(S,"1");     //identity map of S: copy objects, change names
14//   names(S);
15//   kill R,S;
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.