#N canvas 628 70 670 511 10; #X text 458 17 updated for; #X obj 546 17 iemmatrix 0.2; #X obj 595 43 matrix; #X text 465 42 see also help for; #X obj 12 189 t a a; #X msg 12 124 bang; #X msg 265 390 mode row; #X msg 265 364 mode column; #X msg 352 363 mode col; #X msg 418 363 mode :; #X obj 263 416 t a; #X obj 12 166 mtx_ones 3 4; #X obj 17 379 t a a; #X msg 17 335 bang; #X obj 17 360 mtx_ones 2 2; #X obj 20 211 mtx_print original; #X obj 12 285 mtx_print cumsum-row; #X obj 46 400 mtx_print original; #X obj 17 472 mtx_print cumsum; #X obj 159 285 mtx_print cumsum-col; #X text 410 444 see also:; #X text 90 15 [mtx_diff]; #X obj 117 257 mtx_diff col; #X obj 17 443 mtx_diff; #X obj 410 466 mtx_cumsum; #X obj 12 257 mtx_diff row; #X text 47 34 first forward/backward difference; #X text 18 63 you can calculate the differences between matrix elements forwards/backwards \; this is useful for the numerical derivative of vectors/matrices.; #X obj 12 235 t a a a; #X obj 307 284 mtx_print cumsum-row-reverse; #X obj 265 256 mtx_diff col -1; #X msg 425 385 direction -1; #X connect 4 0 28 0; #X connect 4 1 15 0; #X connect 5 0 11 0; #X connect 6 0 10 0; #X connect 7 0 10 0; #X connect 8 0 10 0; #X connect 9 0 10 0; #X connect 10 0 23 0; #X connect 11 0 4 0; #X connect 12 0 23 0; #X connect 12 1 17 0; #X connect 13 0 14 0; #X connect 14 0 12 0; #X connect 22 0 19 0; #X connect 23 0 18 0; #X connect 25 0 16 0; #X connect 28 0 25 0; #X connect 28 1 22 0; #X connect 28 2 30 0; #X connect 30 0 29 0; #X connect 31 0 10 0;