sin =: 1&o.
cos =: 2&o.
i =: 0j1
(^&j. -: cos + i * sin) 0.5*i.4
1
Kip
Sent from my iPad
On Sep 11, 2013, at 11:42 AM, Raul Miller <[email protected]> wrote:
> ^&j. ..- 0.5*i.4
> 1 0.877583 0.540302 0.0707372
> 2 o. 0.5*i.4
> 1 0.877583 0.540302 0.0707372
> 1 o. 0.5*i.4
> 0 0.479426 0.841471 0.997495
> ^&.j. .:- 0.5*i.4
> 0 0.479426 0.841471 0.997495
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm