Reputation
9,750
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 21 86
Newest
 Necromancer
Impact
~109k people reached

Dec
18
answered NDSolve divide-by-zero trouble
Dec
18
comment Inverse Laplace transform
Here is another package for numerical Laplace inversion.
Dec
15
reviewed Leave Open Why doesn't Mathematica show up in OS X Spotlight?
Dec
15
reviewed Leave Open Mathematica does not import .mat file correctly
Dec
15
reviewed Reopen DateListPlot inside DynamicModule updates continuously
Dec
12
reviewed Close Plot zero contour of a function of two variables
Dec
12
reviewed Leave Open Variables input generation for Minimization in High dimensional space
Dec
9
revised Does NRoots own an abstract counterpart? If not, can we write one?
added 2 characters in body
Dec
9
revised Mathematica 10.3 Dsolve solving 2D diffusion PDE
deleted 28 characters in body
Dec
9
reviewed Approve Finding all elements within a certain range in a sorted list
Dec
9
comment Sum of a set of elements in a array?
Related: mathematica.stackexchange.com/q/34827/1871 .You just need to Total@Flatten@#& after you extracting the desired elements.
Dec
8
comment Finding all elements within a certain range in a sorted list
@Karolis Seems that again I've made a mistake in yesterday's test… With the correct sample i.e. lst = Sort@RandomReal[1, 10^8]; (test = window[lst, {0.3, 0.6}]; // AbsoluteTiming) the compiled version is still slower (2.78s vs 0.10s). With your sample my timing is similar to yours. I'm on v9.0.1, win10 64bit with i7, the C compiler is TDM-GCC 4.9.2.
Dec
8
awarded  Announcer
Dec
7
comment Finding all elements within a certain range in a sorted list
@Karolis Oh, just noticed I used the wrong lst, it should be lst = Sort@RandomReal[1, 10^8]. After this correction, the compiled version is almost as fast as the uncompiled one in my test. So our tests are both consistent to Leonid's prediction: Compiling them per se won't improve the speed much (unless you call these very often), since the complexity is logarithmic in any case.
Dec
7
comment Mathematica 10.3 Dsolve solving 2D diffusion PDE
@Dr.WolfgangHintze Yeah, as the most important update (in my view), DSolve has been improved in v10.3. But from OP's question we see it's perhaps not improved enough…
Dec
6
comment RSquared: LinearModelFit vs NonlinearModelFit
To find out the proper metric(s) for the goodness-of-fit of a nonlinear model I posted a question in stats.SE.
Dec
6
revised Mathematica 10.3 Dsolve solving 2D diffusion PDE
deleted 108 characters in body
Dec
6
comment Mathematica 10.3 Dsolve solving 2D diffusion PDE
@Dr.WolfgangHintze How did you find that solution? Maybe you can extend this to an answer?
Dec
6
comment Finding all elements within a certain range in a sorted list
@karolis Your bsearchMin contains mistake, m isn't initialized. And what sample have you used for testing the compiled function? With lst = RandomReal[1, 10^8]; test = window[lst, {0.3, 0.6}]; // AbsoluteTiming the compiled version becomes slower.
Dec
6
revised Why does setting the ImageResolution to a higher value result in a smaller picture?
added 17 characters in body; edited title