On Sat, Apr 9, 2011 at 10:47 AM, Steven Taylor <[email protected]> wrote: > f=:13 : '1 (x)}y$0' > 3 5 7 f 10$0 > 0 0 0 1 0 1 0 1 0 0 ... > for f2... but wondered if there was a way to achieve this tacitly. I'm
f=:13 : '1 (x)}y$0' 3 5 7 f 10$0 |index error: f | 1 (x)}y$0 F=:13 : '1 (x)}y' 3 5 7 f 10$0 0 0 0 1 0 1 0 1 0 0 I am going to assume you were asking for a tacit replacement for F F3=: 1:`[`]} 3 5 7 F3 10$0 0 0 0 1 0 1 0 1 0 0 FYI, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
