Feigenbaum constant calculation: Difference between revisions

m
Line 634:
 
=={{header|J}}==
TranslationTranslated from the beautiful Fōrmulæ version. Rather than a verb, the conjunction pre-assigns m and n .
<pre>
Feigenbaum =: conjunction define NB. use: n Feigenbaum m
irange=: <. + i.@:>:@:|@:- NB. inclusive range
a=. 0 1
Line 650:
end.
a=. a , tmp
delta=. delta , %/@:(-/"1) (- 2 3 ,: 1 2)& { a
end.
2 14j6 14j6 ": (#\ i. # delta) ,. (}. a) ,. delta
Anonymous user