On Tue, Aug 5, 2008 at 8:34 AM, Tracy Harms <[EMAIL PROTECTED]> wrote:
>   vb=: #!.'0'~ [:(-. + 0j1&*) ' '&=
>
> In writing this I discovered that I needed to use [: instead of @ or @: in 
> order to
> make the fork monadic.  I tend to think of them as interchangeable (rank 
> aside)
> but, situated like this in a dyadic verb, they're not.

vb2=: #!.'0'~ (-. + 0j1&*)@:( ' '&=)
vb3=: #!.'0'~ (-. + 0j1&*)@:=&' '
vb4=: #!.'0'~ <[EMAIL PROTECTED]&0j1@:=&' '

Unfortunately that last is more complicated than I think
it should be, because:
   0j1 ^ 1
6.12323e_17j1
   (0j1^1)#0
|domain error

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to