source:
git/Tst/Manual/diag.tst
@
1ebec3
Last change on this file since 1ebec3 was 894057, checked in by , 13 years ago | |
---|---|
|
|
File size: 159 bytes |
Rev | Line | |
---|---|---|
[894057] | 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.