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: [email protected] > [mailto:[email protected]] 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
