Where did you get this.  Is there some way that you capture code like this or 
do you just write it yourself?

oblique=:1 :0
   (,+/&i./ 2{.1 1,~$y) u key ,/y
)

Thanks in advance.

Linda

-----Original Message-----
From: programming-boun...@jsoftware.com 
[mailto:programming-boun...@jsoftware.com] On Behalf Of Raul Miller
Sent: Friday, December 09, 2011 11:09 AM
To: Programming forum
Subject: Re: [Jprogramming] Oblique Road to Success!

On Fri, Dec 9, 2011 at 10:46 AM, Linda Alvord <lindaalv...@verizon.net> wrote:
>     b=:5 3 5
> Either definition has only one argument so isn't the function oblique rather
> than key? So Ric has taken the "Oblique oad To Success!".  One wonders if it
> is faster than the other one.

My previous post about equivalents to /. was confused.

/.~ uses key
/. without ~ and using only one argument is oblique

key=:1 :0
:
  (=x) u@#"1 _ y
)

oblique=:1 :0
   (,+/&i./ 2{.1 1,~$y) u key ,/y
)

FYI,

-- 
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

Reply via email to