#N canvas 454 40 560 596 10;
#X obj 2 567 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 2 419 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 487 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 524 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 79 496 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 142 496 signal;
#X obj 79 432 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 80 455 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 132 533 1) float;
#N canvas 829 204 436 398 calculating 0;
#X obj 273 196 cyclone/atan2~;
#X obj 40 202 cyclone/cartopol~;
#X text 36 31 Calculating the phase value from a real and imaginary part (cartesian coordinates):;
#X text 32 304 The purpose of using two arguments isntead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle \, which is not possible for the single-argument arctangent function.;
#X text 282 76 Imaginary;
#X text 62 76 Real;
#X obj 87 237 cyclone/snapshot~ 1;
#X obj 87 267 nbx 9 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 273 234 cyclone/snapshot~ 1;
#X obj 273 264 nbx 9 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 40 120 sig~;
#X obj 40 96 nbx 9 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 273 120 sig~;
#X obj 273 96 nbx 9 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X connect 0 0 8 0;
#X connect 1 1 6 0;
#X connect 6 0 7 0;
#X connect 8 0 9 0;
#X connect 10 0 1 0;
#X connect 10 0 0 1;
#X connect 11 0 10 0;
#X connect 12 0 0 0;
#X connect 12 0 1 1;
#X connect 13 0 12 0;
#X restore 386 270 pd calculating phase;
#X text 111 457 float/signal - "b" value input to an arc-tangent function;
#X text 112 432 float/signal - "a" value input to an arc-tangent function;
#X obj 142 268 cyclone/atan2~;
#X text 190 533 - value of "b" (not documented in Max);
#X text 54 99 Use the [atan2~] object to output the arc-tangent of two given values ("a" and "b") calculated as: Arc-tangent (a/b).;
#X text 54 134 Useful for mathematical calculations such as finding the phase from cartesian coordinates.;
#X text 236 332 Arc-tangent (a/b);
#X text 189 496 - result of arctan(a/b) in radians;
#X text 118 189 "a";
#X text 201 215 "b";
#X obj 3 2 header atan2~;
#X text 17 59 Signal arctan(a/b) function;
#X obj 142 211 sig~;
#X obj 142 302 cyclone/snapshot~ 1;
#X obj 142 332 nbx 9 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 142 187 nbx 9 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 223 239 sig~;
#X obj 223 215 nbx 9 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 495 69 dsponoff~;
#X text 229 380 as a Vanilla alternative;
#X text 21 380 see also:;
#X text 389 380 and;
#N canvas 425 211 552 420 all-trig-objects 0;
#X obj 110 60 cyclone/acos;
#X obj 110 87 cyclone/acosh;
#X obj 110 115 cyclone/asin;
#X obj 110 145 cyclone/atanh;
#X obj 110 175 cyclone/cosh;
#X obj 110 205 cyclone/sinh;
#X obj 110 234 cyclone/tanh;
#X obj 72 295 sin;
#X obj 105 295 cos;
#X obj 137 295 tan;
#X obj 169 295 atan;
#X obj 208 295 atan2;
#X text 256 294 - trigonometric functions from Vanilla;
#X text 109 358 All of the functions above are also present in vanilla's, f 29;
#X obj 300 364 expr;
#X text 338 363 or;
#X obj 361 364 expr~;
#X obj 285 80 cyclone/acos~;
#X obj 285 104 cyclone/acosh~;
#X obj 285 128 cyclone/asin~;
#X obj 285 152 cyclone/asinh~;
#X obj 285 176 cyclone/atan~;
#X obj 285 200 cyclone/atan2~;
#X text 70 19 Control data trigonometric functions from Cyclone:, f 26;
#X obj 285 224 cyclone/atanh~;
#X obj 392 98 cyclone/cosh~;
#X obj 392 122 cyclone/cosx~;
#X obj 392 144 cyclone/sinh~;
#X obj 392 167 cyclone/sinx~;
#X obj 392 190 cyclone/tanh~;
#X obj 392 213 cyclone/tanx~;
#X text 297 26 Sigal trigonometric functions from Cyclone:, f 26;
#X obj 215 323 cos~;
#X text 257 322 - actually a cosine wavetable;
#X restore 421 381 pd all-trig-objects;
#X obj 85 381 expr~ atan2($v1 \, $v2);
#X connect 12 0 23 0;
#X connect 22 0 12 0;
#X connect 23 0 24 0;
#X connect 25 0 22 0;
#X connect 26 0 12 1;
#X connect 27 0 26 0;
