aboutsummaryrefslogtreecommitdiff
path: root/doc/mtx_trace.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mtx_trace.pd')
-rw-r--r--doc/mtx_trace.pd24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/mtx_trace.pd b/doc/mtx_trace.pd
new file mode 100644
index 0000000..ad48fd8
--- /dev/null
+++ b/doc/mtx_trace.pd
@@ -0,0 +1,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;