aboutsummaryrefslogtreecommitdiff
path: root/doc/mtx_trace.pd
blob: ad48fd8483ae09fa85541f2cc10cf02d023b0090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#N canvas 137 140 916 465 10;
#X obj 79 361 mtx_diag;
#X obj 79 389 print;
#X obj 79 308 mtx_ones 7;
#X msg 79 288 bang;
#X obj 84 106 mtx_ones 7;
#X msg 84 83 bang;
#X obj 84 147 mtx_trace;
#X floatatom 84 189 4 0 0 0 - - -;
#X text 86 68 get trace of a matrix;
#X text 79 271 get diagonal of a matrix;
#X text 81 204 trace = sum(diagonal elements);
#X text 243 28 get information of the diagonale of a matrix;
#X text 440 176 see also help for;
#X obj 571 175 matrix;
#X obj 699 269 mtx_eye;
#X text 332 270 to create diagonale matrices with [mtx_diag] \, see
;
#X connect 0 0 1 0;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 4 0 6 0;
#X connect 5 0 4 0;
#X connect 6 0 7 0;