If the problem is specifically zeroing negative values, 0>.y still looks simpler than the others and it fits nicely into a stream.
On 10/11/07, Arie Groeneveld <[EMAIL PROTECTED]> wrote: > > Well, may be I'm not clear enough? > The need for zeroing negative values > is part of a longer J-sentence. I have a solution > for all that. It looks like: > > G=: <more actions> <zeroing negative values> <RH actions> > > y*(0<:y) or (0<:y)*y > > So y is the result of the RH actions and after zeroing > it has to be processed further. > ... -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
