In this case, it's force of habit because I'm used to using &.> then falling back to &> when I notice I'm unboxing the result of the initial expression to, for example, turn a vector of boxed vectors into a simple matrix.
On 12/20/07, Roger Hui <[EMAIL PROTECTED]> wrote: > > It is a different way to achieve 3#"0]0 1 . Using > avoids > juxtaposing the 0 and 0 1. > > > > ----- Original Message ----- > From: Graham Parkhouse <[EMAIL PROTECTED]> > Date: Thursday, December 20, 2007 7:42 > Subject: Re: [Jprogramming] nonsequential 1s > To: [email protected] > > > Devon wrote: > > > > 3#&>0 1 > > 0 0 0 > > 1 1 1 > > > > What's the open (>) doing here? DoJ: "When applied to an open > > array (that > > has no boxed elements), open has no effect." In which case I > > would expect > > > to behave as ] in this example. But > > > > 3#&]0 1 > > 0 0 0 1 1 1 > > > > Graham > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
