On Mon, Aug 30, 2010 at 5:50 PM, Marshall Lochbaum
<[email protected]> wrote:
> I think--although I am unclear on your question exactly--that you are
> mixing up
> (+/"1@({&f)@digits + [:(-~<./)grp) i.11
> With
> +/"1@({&f)@(digits + [:(-~<./)grp) i.11
>
I am indeed. thanks.
f=. +/"1@({&f)@digits
g=. +
h =. [:(-~<./)grp
(f g h) i.11
Though the followup question is, why would digits become part of f
rather than the following :
f = .(+/"1@({&f)
g =. digits + [:(-~<./)grp
(f...@g) i.11
I think I am confused with the '@' and treat it like '|' in shell script.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm