For the corresponding answer

   (0.5 ,. 0 1)&mp^:_ ] 1 1
0 2


R.E. Boss


-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]] Namens
Viktor Cerovski
Verzonden: woensdag 9 december 2009 16:50
Aan: [email protected]
Onderwerp: Re: [Jchat] Number Machines (moved from jgeneral)



Thomas Costigliola-2 wrote:
> 
> [...]
> 
>    (-:@{. ([,+) {:)^:_ ] 1 1
> 0 2
> 
> A little better but I still want the left arg to power to be shorter
> or at least more clear.
> [...]
> 

   mp=.+/ .*
   (0.5 0,.1)&mp^:_ ] 1 1
2 1

Such program terminates only because of the round-off error, thus

   (1r2 0,.1)&mp^:_ ] 1 1

should eventually run out of memory.
-- 
View this message in context:
http://old.nabble.com/Number-Machines-%28moved-from-jgeneral%29-tp26703075s2
4193p26712437.html
Sent from the J Chat mailing list archive at Nabble.com.

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

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

Reply via email to