How would you handle

    (^&.j. -: sin - i * cos) 0.5 * i.4
 1

?

Sent from my iPad


On Sep 11, 2013, at 12:34 PM, Roger Hui <[email protected]> wrote:

> I prefer the following formulation:
> 
>   (^&j. -: cos j. sin) 0.5*i.4
> 1
> 
> j. is one of those masterstrokes that separate genius from mere mortals.
> 
> 
> 
> On Wed, Sep 11, 2013 at 10:18 AM, km <[email protected]> wrote:
> 
>>    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
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to