On 2/2/20 9:59 PM, Csaba Láng wrote:
> looks like [atan2] works for me better than the expression you gave. indeed
> i need all 4 quarters, what the expression does not indicate.

how should it?

anyhow, you *can* use [expr atan2($f2,$f1)] which does the same (though
of course, if you only want the arctangens, [atan2] is simpler and faster)

gfadsrm
IOhannes

> 
> On Sun, Feb 2, 2020 at 9:01 PM IOhannes m zmölnig <[email protected]> wrote:
> 
>> Am 2. Februar 2020 20:52:14 MEZ schrieb "Csaba Láng" <[email protected]
>>> :
>>> thank you gentlemen, this is what I needed. never figured out that atan
>>> is
>>> arctn.
>>
>> in general, you might prefer `atan2` over `atan`, as this allows for all
>> four quadrants.
>>
>> `[expr]` has both variants.
>>
>>
>> mfg.hft.fsl
>> IOhannes
>>
>>
>> _______________________________________________
>> [email protected] mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
> 
> 
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to