source: git/Tst/Manual/submat.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: 200 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "matrix.lib";
3ring R=32003,(x,y,z),lp;
4matrix A[4][4]=x,y,z,0,1,2,3,4,5,6,7,8,9,x2,y2,z2;
5print(A);
6intvec v=1,3,4;
7matrix B=submat(A,v,1..3);
8print(B);
9tst_status(1);$
Note: See TracBrowser for help on using the repository browser.