diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mtx_inverse.pd | 61 |
1 files changed, 43 insertions, 18 deletions
diff --git a/doc/mtx_inverse.pd b/doc/mtx_inverse.pd index 9cca9fe..4f0ea41 100644 --- a/doc/mtx_inverse.pd +++ b/doc/mtx_inverse.pd @@ -1,18 +1,43 @@ -#N canvas 50 156 465 427 10; -#X obj 92 208 mtx_inverse; -#X obj 92 292 mtx_print; -#X msg 103 140 matrix 3 3 1 2 3 2 3 4 3 4 5; -#X text 280 142 singular; -#X msg 92 108 matrix 3 3 1 2 4 2 3 4 3 4 5; -#X text 265 107 regular; -#X text 85 310 get the inverse of a matrix; -#X text 286 158 regular; -#X text 287 168 but badly conditioned; -#X msg 111 164 matrix 3 3 1 2 3 2 4 4 3 4 5; -#X text 82 26 get the inverse of a matrix; -#X obj 233 381 matrix; -#X text 116 381 see also help for; -#X connect 0 0 1 0; -#X connect 2 0 0 0; -#X connect 4 0 0 0; -#X connect 9 0 0 0; +#N canvas 366 49 604 572 10; +#X text 243 142 singular; +#X text 245 107 regular; +#X text 246 158 regular; +#X text 247 168 but badly conditioned; +#X text 45 16 mtx_inverse:: get the inverse of a matrix; +#X text 44 49 mtx_inverse calculates the inverse of a square-matrix +; +#X text 43 67 if the input is a non-square matrix (rows!=cols) \, the +pseudo-inverse will be calculated.; +#X text 397 391 part of; +#X obj 460 389 iemmatrix; +#X text 154 453 A*inv(A)=inv(A)*A=I; +#X text 248 221 pseudoinverse: P1=inv(A'*A)*A'; +#X text 247 269 pseudoinverse: P2=A'*inv(A*A'); +#X text 245 473 P1*A=I; +#X text 245 493 A*P2=I; +#X obj 92 358 mtx_inverse; +#X obj 92 199 mtx 3; +#X msg 112 164 1 2 3 2 4 4 3 4 5; +#X msg 103 140 1 2 3 2 3 4 3 4 5; +#X msg 92 108 1 2 4 2 3 4 3 4 5; +#X obj 92 392 mtx_print inverse; +#X obj 92 300 t a a; +#X obj 134 300 mtx_print original; +#X obj 153 219 mtx_rand 4 3; +#X msg 153 198 bang; +#X msg 153 248 bang; +#X obj 153 269 mtx_rand 3 4; +#X obj 181 358 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X connect 14 0 19 0; +#X connect 14 1 26 0; +#X connect 15 0 20 0; +#X connect 16 0 15 0; +#X connect 17 0 15 0; +#X connect 18 0 15 0; +#X connect 20 0 14 0; +#X connect 20 1 21 0; +#X connect 22 0 20 0; +#X connect 23 0 22 0; +#X connect 24 0 25 0; +#X connect 25 0 20 0; |