source: git/Tst/Manual/product.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: 314 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "general.lib";
3ring r= 0,(x,y,z),dp;
4ideal m = maxideal(1);
5product(m);
6product(m[2..3]);
7matrix M[2][3] = 1,x,2,y,3,z;
8product(M);
9intvec v=2,4,6;
10product(M,v);
11intvec iv = 1,2,3,4,5,6,7,8,9;
12v=1..5,7,9;
13product(iv,v);
14intmat A[2][3] = 1,1,1,2,2,2;
15product(A,3..5);
16tst_status(1);$
Note: See TracBrowser for help on using the repository browser.