> Thanks. The APL code looks fine here: omega, divide, rho.
> One more: can you assign a name to a dynamic fn?
>
> f is {(+/⍵)÷⍴⍵}
Yes. Dynamic or non-dynamic.
f<-{(+/⍵)÷⍴⍵}
is ok, but also
g<-+
Now, while in Dyalog APL
1 2 3 g[1] 3 4 rho 0
produces
1 1 1 1
2 2 2 2
3 3 3 3
the interpreter is still incapable of applying axis to a generic function. So:
1 2 3 {alfa+omega}[1]3 4 rho 0
crashes with a SYNTAX ERROR.
--
WildHeart'2k7 - mailto:[EMAIL PROTECTED]
My digipics and blogs: http://wildy2k5.spaces.msn.com/
My Music: http://www.myspace.com/wildy2k7
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm