#N canvas 0 26 483 343 10; #X obj 59 150 list-dotprod; #X msg 138 118 3 1; #X text 40 32 list-dotprod; #X text 60 53 dot-product of two lists: res = sum(Xi*Yi); #X obj 290 188 list-mult; #X obj 290 215 list-accum; #X msg 348 160 3 1; #X floatatom 59 179 5 0 0 0 - - -; #X floatatom 290 240 5 0 0 0 - - -; #X text 240 137 a bit faster \, but the same as; #X msg 59 119 2 4; #X msg 290 161 2 4; #X text 57 209 2*3 + 4*1 = 10; #N canvas 520 35 494 396 META 0; #X text 12 5 KEYWORDS control list_op; #X text 12 25 LICENSE SIBSD; #X text 12 125 AUTHOR Frank Barknecht; #X text 12 145 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 65 INLET_0 list; #X text 12 85 INLET_1 list; #X text 12 105 OUTLET_0 list; #X text 12 45 DESCRIPTION dot-product of two lists : res = sum(Xi*Yi) ; #X restore 421 312 pd META; #X connect 0 0 7 0; #X connect 1 0 0 1; #X connect 4 0 5 0; #X connect 5 0 8 0; #X connect 6 0 4 1; #X connect 10 0 0 0; #X connect 11 0 4 0;