[Jprogramming] A complex question?

Raul Miller rauldmiller at gmail.com
Tue Dec 10 18:10:23 UTC 2013


I like -@^.@|@j./"1

Thank you,

-- 
Raul


On Tue, Dec 10, 2013 at 10:03 AM, Marshall Lochbaum
<mwlochbaum at gmail.com> wrote:
> -@^.@|@j./"1 does the trick.
>
> You can also use (+/&.:*:) in place of |@j./ , leaving you with
> -@^.@(+/&.:*:)"1
> .
>
> Marshall
>
> On Tue, Dec 10, 2013 at 09:55:22AM -0500, Raul Miller wrote:
>> Is there a better way of doing this?
>>
>>    {: +. r.inv j./1 1
>> _0.346574
>>
>> Assume 1 1 can be replaced with any reasonable coordinate pair.
>>
>> I'm looking for either conciseness or clarity (ideally both, but
>> mostly I want some good options).
>>
>> Thanks,
>>
>> --
>> 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


More information about the Programming mailing list