Performance of Nest vs. Do – mathematica.stackexchange.com

When I am iterating the logistic function using a pure function, comparing Do and Nest: x = 0.1; Do[x = 3 x (1 - x), 300] // RepeatedTiming Nest[3 # (1 - #) &, .1, 300] // RepeatedTiming 0....

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Performance of Nest vs. Do – mathematica.stackexchange.com"