On Thu, Nov 15, 2012 at 7:06 PM, Alex Giannakopoulos <[email protected]> > Nice "torus-pad" ([:|:{:,]{.)^:2
Or, more generally:
(0 |:{:,],{.)^:(#@$)
Also, here's a general "fill pad":
((_1 ["0 $) |. ({.~ 2 +$))
That said: generality can be good for insight, and in utility
contexts, but can also sometimes be bad in application contexts.
FYI,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
