diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-03-28 13:11:25 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-03-28 13:11:25 +0000 |
commit | 6f7f6460189b2da25077438c8a13ccd20f2a0f00 (patch) | |
tree | 0480592e225118c2c033d95d19f0a6db6bd26090 /doc/mtx_distance2-help.pd | |
parent | dc59cfa163813ebd59ebe8fc441a022e1d8284b9 (diff) |
renamed help-patches; split meta help-patches into smaller ones; TODO: reflect this change in the C-sources
svn path=/trunk/externals/iem/iemmatrix/; revision=4797
Diffstat (limited to 'doc/mtx_distance2-help.pd')
-rw-r--r-- | doc/mtx_distance2-help.pd | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/mtx_distance2-help.pd b/doc/mtx_distance2-help.pd new file mode 100644 index 0000000..2391341 --- /dev/null +++ b/doc/mtx_distance2-help.pd @@ -0,0 +1,33 @@ +#N canvas 83 338 696 369 10; +#X obj 33 242 mtx_distance2; +#X obj 33 267 mtx_print distances; +#X obj 119 179 t a a; +#X obj 149 198 mtx_print B; +#X obj 33 179 t a a; +#X obj 63 198 mtx_print A; +#X obj 33 106 t b b; +#X msg 33 85 bang; +#X obj 33 132 mtx_rand 4 3; +#X obj 119 154 mtx_rand 2 3; +#X text 44 34 [mtx_distance2]; +#X text 482 28 part of iemmatrix; +#X text 268 138 inletA: a matrix defining <i> vectors of dimension +<n>; +#X text 268 158 inletB: a matrix defining <j> vectors of dimension +<n>; +#X text 267 179 outlet: distance matrix (i \, j) \, where each element +Y(i \, j)=(A(i)-B(i)).(A(i)-B(i))=|A(i)-B(i)|^2; +#X text 166 69 calculate the (square of the) euclidian distance between +two sets of vectors.; +#X text 233 274 note: if you want the real-distance (non-squared) \, +calculate the square-root with [mtx_.^ 0.5]; +#X connect 0 0 1 0; +#X connect 2 0 0 1; +#X connect 2 1 3 0; +#X connect 4 0 0 0; +#X connect 4 1 5 0; +#X connect 6 0 8 0; +#X connect 6 1 9 0; +#X connect 7 0 6 0; +#X connect 8 0 4 0; +#X connect 9 0 2 0; |