aboutsummaryrefslogtreecommitdiff
path: root/abs/mtx_distance.pd
blob: 20f30aac58dbb73d50af7f0767603030ee70dc0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#N canvas 323 233 661 451 10;
#X text 72 316 (c) 2005 by IOhannes m zmoelnig \, IEM KUG \, graz austria
;
#X text 72 333 for license-details see LICENSE.txt that must come with
iemmatrix.;
#X obj 115 164 mtx_distance2;
#X obj 115 78 inlet matrix1;
#X obj 264 78 inlet matrix2;
#X obj 115 209 mtx_.^ 0.5;
#X text 73 41 calculate the euclidian distance between to sets of vectors
;
#X text 229 162 for performance reasons this does not calculate the
square-root;
#X text 229 206 so here we do the square-root;
#X obj 115 240 outlet distance-matrix;
#X connect 2 0 5 0;
#X connect 3 0 2 0;
#X connect 4 0 2 1;
#X connect 5 0 9 0;