That is truly beautiful. ------------------------------------------------------------------------ |\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram) |/\| [EMAIL PROTECTED] | |\ | | The only real problem with APL is that BSc(Math) UNBF'83 | it is "still ahead of its time." Sapere Aude | - Morten Kromberg Natural Born APL'er | Demo website: http://156.34.91.201/ -----------------------------------------------------(INTP)----{ gnat }-
----- Original Message ----- From: "Oleg Kobchenko" <[EMAIL PROTECTED]> To: "Programming forum" <[email protected]> Sent: Tuesday, December 12, 2006 4:31 AM Subject: RE: [Jprogramming] What a drag > More generally > > ([^:(0=]))/\ 5 4 0 0 5 0 3 0 0 0 7 > 5 4 4 4 5 5 3 3 3 3 7 > > > --- Oleg Kobchenko <[EMAIL PROTECTED]> wrote: > > > How about variation on the theme > > > > >./\ 3 4 0 0 5 0 6 0 0 0 7 > > 3 4 4 4 5 5 6 6 6 6 7 > > > > > > --- Dan Bron <[EMAIL PROTECTED]> wrote: > > > > > Raul wrote: > > > > drag=: {~ [EMAIL PROTECTED] >./\@:* ([EMAIL PROTECTED] 1{.0{.]) > > > > > > Thank you; this is indeed faster; I've replaced my definition with > > > yours. However, I was hoping for a solution that would complete in > > > about half the time of the solutions I provided. That is, I'd like a > > > 2x or 100% speedup; drag is only about 20% faster than drag0 on my > > > dataset. > > > > > > Any other lines of attack? > > > > > > -Dan > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > > > > > > > > ____________________________________________________________________________ ________ > > Need a quick answer? Get one in minutes from people who know. > > Ask your question on www.Answers.yahoo.com > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > > ____________________________________________________________________________ ________ > Have a burning question? > Go to www.Answers.yahoo.com and get answers from real people who know. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
