#N canvas 628 70 670 511 10;
#X declare -lib iemmatrix;
#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 39 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;
#N canvas 261 282 494 171 META 0;
#X text 12 105 AUTHOR IOhannes m zmoelnig;
#X text 12 85 OUTLET_0 matrix;
#X text 12 125 HELP_PATCH_AUTHORS IOhannes m zmölnig;
#X text 12 25 LICENSE GPL-2+;
#X text 12 65 INLET_0 matrix;
#X text 12 5 KEYWORDS control matrix math;
#X text 12 45 DESCRIPTION calculate the differences between matrix elements, f 67;
#X obj 16 147 declare -lib iemmatrix;
#X restore 599 6 pd META;
#X connect 2 0 26 0;
#X connect 2 1 13 0;
#X connect 3 0 9 0;
#X connect 4 0 8 0;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 7 0 8 0;
#X connect 8 0 21 0;
#X connect 9 0 2 0;
#X connect 10 0 21 0;
#X connect 10 1 15 0;
#X connect 11 0 12 0;
#X connect 12 0 10 0;
#X connect 20 0 17 0;
#X connect 21 0 16 0;
#X connect 23 0 14 0;
#X connect 26 0 23 0;
#X connect 26 1 20 0;
#X connect 26 2 28 0;
#X connect 28 0 27 0;
#X connect 29 0 8 0;
