[Jprogramming] Power convergence within limited iterations
David Vaughan
purpleblues13 at gmail.com
Fri Jul 20 16:58:35 UTC 2012
No I didn't, thank you.
On 20 Jul 2012, at 17:42, R.E. Boss wrote:
> Did you notice
>
> g=: u ^: p ^: _
> h=: 3 : 't=. y while. p t do. t=. u t end.'
>
> on http://www.jsoftware.com/help/dictionary/d202v.htm ?
>
>
> R.E. Boss
>
>
>> -----Oorspronkelijk bericht-----
>> Van: programming-bounces at forums.jsoftware.com [mailto:programming-bounces at forums.jsoftware.com] Namens David Vaughan
>> Verzonden: vrijdag 20 juli 2012 17:56
>> Aan: Programming forum
>> Onderwerp: [Jprogramming] Power convergence within limited iterations
>>
>> I am looking a for a combination of v^:_ and v^:n, such that n is the maximum number of iterations, but if convergence occurs
> sooner
>> than that, it should terminate. This could easily be achieved using a while loop, but I would prefer to be able to write it in the
> most 'J'-
>> like way.
>>
>> Thanks.
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list