[PD-dev] how math objects respond to a bang

Mathieu Bouchard matju at artengine.ca
Mon Feb 13 23:16:44 CET 2006


On Mon, 13 Feb 2006, IOhannes m zmoelnig wrote:

> i do not see how this contradicts my earlier mail. obviously, "atan2"
> takes 2 arguments, but they can be seen as parts (real/imag,
> nominator/denominator) of _one_ value

[+] is really unary, because it can be expressed using a single complex 
value z=a+bi:

a+b = Im((1+i)z)
a-b = Re((1+i)z)
a*b = Im(z/2)
and so on

> a variable "ö" would be written in most prog.languages (except java, but
> who writes java...) with 2 letters, even though it is really a single
> letter. so what?

one guy thinks that atan2 is unary but that +,-,* are binary. so what?

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada




More information about the Pd-dev mailing list