Okay, I finally looked up Levy's arcsine rule and sort of understand this. Some trivial notes are that you can remove the "1 s if you start with the transpose, and also you should use ?...@$, giving '#'{.~"0->:-:_80{.\ /:~ +/ 0<(+ 0,}:) +/\ -.+: 156 4000 ?...@$ 2
By the way, what is the (+ 0,}:) for? I think this works similarly for the version that is supposed to be better, but I haven't checked it. Marshall ________________________________________ From: programming-boun...@jsoftware.com [programming-boun...@jsoftware.com] On Behalf Of R.E. Boss [r.e.b...@planet.nl] Sent: Wednesday, September 22, 2010 5:06 AM To: 'Programming forum' Subject: [Jprogramming] FW: [Jchat] Lévy's arcsine rule Better send this to programming, because that's what it is. R.E. Boss > -----Oorspronkelijk bericht----- > Van: chat-boun...@jsoftware.com [mailto:chat-boun...@jsoftware.com] Namens > Zsbán Ambrus > Verzonden: woensdag 22 september 2010 10:52 > Aan: Chat forum > Onderwerp: Re: [Jchat] Lévy's arcsine rule > > On Wed, Sep 22, 2010 at 10:45 AM, Zsbán Ambrus <amb...@math.bme.hu> wrote: > > > > '#'{.~"0->:-:_80{.\/:~+/"1]0<(+0,"1}:"1)+/\"1-.+:?2$~4000 156 > > As an afterthought, this might be better: > > '#'{.~"0->:<.16%~_80{.\/:~+/"1]0<(+0,"1}:"1)+/\"1-.+:?2$~4000,16*79 > > Ambrus > ---------------------------------------------------------------------- > 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