source:
git/Tst/Manual/diag.tst
@
36bbdc
Last change on this file since 36bbdc was 894057, checked in by , 13 years ago | |
---|---|
|
|
File size: 159 bytes |
Line | |
---|---|
1 | LIB "tst.lib"; tst_init(); |
2 | LIB "matrix.lib"; |
3 | ring r = 0,(x,y,z),ds; |
4 | print(diag(xy,4)); |
5 | matrix A[3][2] = 1,2,3,4,5,6; |
6 | print(A); |
7 | print(diag(A)); |
8 | tst_status(1);$ |
Note: See TracBrowser
for help on using the repository browser.