Why is building a table of function values so much slower than just
plotting the function? – mathematica.stackexchange.com
Here is a function that take some time to evaluate: n = 1000; coeffs =
RandomVariate[NormalDistribution[], n]; f[x_] := Sum[coeffs[[k]] Sin[k
x]/k, {k, 1, n}]; If I just plot the function with 1000 …
No comments:
Post a Comment