I thought J was math. At least closer to math than anything else on
computers. To me J is a tool. But it's not the only tool in my tool box.

But your expression is like what I tried at first. Only I used D. instead of
d. and got a nonce error.

  -~/ (^&_1.001 d. _1) 1 _
1000
  (^&_1.001 d. _1)
+------------+-+------------+
|+-+-+------+|@|+-+-+------+|
||%|&|_0.001|| ||^|&|_0.001||
|+-+-+------+| |+-+-+------+|
+------------+-+------------+
  (^&_1.001 D. _1)
|nonce error
|   (    ^&_1.001 D._1)

According to the dictionary: "u d. n is like u D. n except that u is treated
as a rank-0 function." So why the nonce error?

On Fri, Jan 8, 2010 at 2:30 AM, Oleg Kobchenko <[email protected]> wrote:
> Using Math like that here is cheating, as the point is
> using J--for finding things, like derivatives etc.
> It's OK to interpret results with Math, but not to
> use math to get results.
>
> So here is pure J, analytical and complete solution.
>
>   -~/ (^&_1.001 d. _1) 1 _
> 1000
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to