source: git/Tst/Manual/embedMat.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: 223 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "nctools.lib";
3ring r = 0,(a,b,c,d),dp;
4matrix M[2][3]; M[1,1]=a; M[1,2]=b;M[2,2]=d;M[1,3]=c;
5print(M);
6print(embedMat(M,3,4));
7matrix N = M; N[2,2]=0;
8print(embedMat(N,3,4));
9tst_status(1);$
Note: See TracBrowser for help on using the repository browser.