File: list-dotprod.pd

package info (click to toggle)
pd-list-abs 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 756 kB
  • sloc: makefile: 289
file content (40 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#N canvas 0 0 750 558 10;
#X obj 59 31 inlet;
#X obj 280 39 inlet;
#X obj 59 469 outlet;
#X obj 78 138 list-drip;
#X obj 257 231 list;
#X obj 171 259 list-dripslow;
#X obj 78 258 route float;
#X obj 171 286 route float;
#X obj 137 87 s \$0-reset;
#X obj 108 359 r \$0-reset;
#X obj 59 58 t b a b b;
#X text 305 153 list-dotprod;
#X text 325 174 dot-product of two lists: res = sum(Xi*Yi);
#X obj 108 409 f 0;
#X obj 108 384 0;
#X obj 59 436 f;
#X obj 78 408 +;
#X obj 78 322 *;
#X obj 78 162 t a b;
#X connect 0 0 10 0;
#X connect 1 0 4 1;
#X connect 3 0 18 0;
#X connect 4 0 5 1;
#X connect 5 0 7 0;
#X connect 6 0 17 0;
#X connect 7 0 17 1;
#X connect 9 0 14 0;
#X connect 10 0 15 0;
#X connect 10 1 3 0;
#X connect 10 2 4 0;
#X connect 10 3 8 0;
#X connect 13 0 16 1;
#X connect 14 0 13 0;
#X connect 15 0 2 0;
#X connect 16 0 13 0;
#X connect 16 0 15 1;
#X connect 17 0 16 0;
#X connect 18 0 6 0;
#X connect 18 1 5 0;