> There are already at least two precedents for dwim special code.
> First is (<:@:%:) monad for extended integers -- I don't see that
> documented but it works:

It's documented in the opening paragraph of
http://www.jsoftware.com/help/dictionary/dictg.htm
and also as the second item in
http://www.jsoftware.com/help/dictionary/special.htm



----- Original Message -----
From: Zsbán Ambrus <amb...@math.bme.hu>
Date: Monday, September 20, 2010 5:45
Subject: Re: [Jprogramming] Orthogonal projection to row space of matrix
To: Programming forum <programming@jsoftware.com>

> On Mon, Sep 20, 2010 at 2:10 PM, Dan Bron <j...@bron.us> wrote:
> > Ambrus asked:
> >> Would it perhaps make sense to add (]+/ .*%.)
> >> as a new dwim special code?
> >
> > DWIM?  In J?  No, J is DWKM .
> 
> There are already at least two precedents for dwim special code.
> First is (<:@:%:) monad for extended integers -- I don't see that
> documented but it works:
> 
>    (7x^100)-<.@:%:1+7x^200
> 0
>    (7x^100)-<.%:1+7x^200
> _1.29408e69
> 
> The other is (m&|@^) dyad for integer m, which is documented and 
> works:
>    3 (64&|@^) 500
> 17
>    64 | 3 ^ 500
> 0
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to