-
Notifications
You must be signed in to change notification settings - Fork 13
/
complex_sub.mmb-help.pd
53 lines (53 loc) · 1.7 KB
/
complex_sub.mmb-help.pd
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
41
42
43
44
45
46
47
48
49
50
51
52
53
#N canvas 63 22 889 487 10;
#X obj 25 12 cnv 15 400 35 empty empty complex_sub.mmb 20 12 0 14 -4160
-203904 0;
#X obj 25 48 cnv 15 400 50 empty empty empty 20 12 0 14 -203904 -66577
0;
#X text 812 417 .mmb;
#X text 329 357 See also:;
#X text 45 48 Performs complex addition. Complex numbers are represented
as two-element lists consisting of the real part and the imaginary
part.;
#X text 487 69 arg1 <optional>: real part of stored value of right
inlet;
#X text 487 84 arg2 <optional>: imaginary part of stored value of right
inlet;
#X obj 119 357 unpack f f;
#X floatatom 117 388 5 0 0 0 - - -;
#X floatatom 180 389 5 0 0 0 - - -;
#X floatatom 196 280 5 0 0 0 - - -;
#X text 234 274 single floats are assumed to be real numbers (i.e.
their imaginary part is zero);
#X msg 80 147 bang;
#X obj 119 236 pack f f;
#X floatatom 119 206 5 0 0 0 - - -;
#X floatatom 164 207 5 0 0 0 - - -;
#X obj 230 236 pack f f;
#X floatatom 230 206 5 0 0 0 - - -;
#X floatatom 275 207 5 0 0 0 - - -;
#X text 225 182 real;
#X text 275 183 imaginary;
#X obj 517 361 complex_mul.mmb;
#X obj 517 387 complex_mul.mmb~;
#X obj 627 361 complex_div.mmb;
#X obj 627 387 complex_div.mmb~;
#X obj 737 361 complex_con.mmb;
#X obj 737 387 complex_con.mmb~;
#X obj 119 318 complex_sub.mmb 2 3;
#X text 468 49 [complex_sub.mmb real imaginary];
#X text 114 139 output output value of stored right inlet value minus
stored left inlet value;
#X obj 297 387 complex_sub.mmb~;
#X obj 407 361 complex_add.mmb;
#X obj 407 387 complex_add.mmb~;
#X connect 7 0 8 0;
#X connect 7 1 9 0;
#X connect 10 0 27 0;
#X connect 12 0 27 0;
#X connect 13 0 27 0;
#X connect 14 0 13 0;
#X connect 15 0 13 1;
#X connect 16 0 27 1;
#X connect 17 0 16 0;
#X connect 18 0 16 1;
#X connect 27 0 7 0;