[Jprogramming] A plane rotation

Henry Rich henryhrich at gmail.com
Tue Feb 16 23:17:16 UTC 2016


rot =: +.@((* j./)~ *)~


Using Raul's approach, this is


rot =: (**)~&.(+.inv)

Henry Rich

On 2/16/2016 6:09 PM, Raul Miller wrote:
> Ah, yes, as Michal's implementation shows, there is a more concise approach.
>
> Mine becomes:
>
>     rot=: (% |)~&.(+.inv)
>
> Thanks,
>



More information about the Programming mailing list