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-tp26703075s24193p26712437.html
Sent from the J Chat mailing list archive at Nabble.com.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm