You're right. I still have trouble thinking in hooks. I see the fork first.
On Fri, Oct 8, 2010 at 5:50 PM, Kip Murray <[email protected]> wrote: > Cool! You can even do > > real2 =: (-:!.0 +) :: 0: > > > > On 10/8/2010 5:25 PM, Don Guinn wrote: > > Easily addressed; however, this gets into the issue of comparison > tolerance. > > I would think that it would depend on the problem being addressed as to > > whether 1j1e_14 is complex or real. > > > > real=:(]-:!.0+) :: 0: > > > > On Fri, Oct 8, 2010 at 5:03 PM, Devon McCormick<[email protected]> > wrote: > > > >> It's not clear which behavior he would want here: > >> > >> isReal=: 0 *./ .= [: {:"1@:+. , > >> real=:(]-:+) :: 0: > >> > >> (isReal,real) 1j1e_14 > >> 0 1 > >> > >> On Fri, Oct 8, 2010 at 5:53 PM, Don Guinn<[email protected]> wrote: > >> > >>> I like: > >>> > >>> real=:(]-:+) :: 0: > >>> > >>> > >> -- > >> Devon McCormick, CFA > >> ^me^ at acm. > >> org is my > >> preferred e-mail > >> ---------------------------------------------------------------------- > >> 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
