[Jprogramming] A complex question?
km
km at math.uh.edu
Tue Dec 10 18:40:12 UTC 2013
- ^. | j./ 1 1
_0.346574
--Kip Murray
Sent from my iPad
> On Dec 10, 2013, at 9: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