home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-22 | 525 b | 30 lines | [TEXT/QNTA] |
- ;
- ; This is an example of the use of matrix operations in Quinta
- ; The following example builds a large matrix (7 by 7) and
- ; stores it in a variable 'mx'
-
- 237 38 116 42 104 29 51
- 290 45 142 51 132 32 65
- 112 18 55 20 49 14 24
- 253 40 124 45 112 30 55
- 106 17 52 19 47 13 23
- 257 41 126 46 114 31 56
- 224 36 110 40 100 28 49
- 7 7 >dim
- >mat
-
- 'mx' sto
-
- ; Now that the matrix is in em, we can try several operations on it
-
- em print
-
- em det
-
- em inv print
-
- em trn print
-
- em 5 5 >dim rdm det
-
-