Reputation
7,307
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 14 80
Newest
 Enlightened
Impact
~70k people reached

Apr
8
reviewed Close Calculus with Mathematica, books, interesting examples
Apr
8
revised Combining Mandelbrot and Monte Carlo
added 2 characters in body
Apr
8
comment Compile, “global variables” and recursion
But this still calls MainEvaluate……
Apr
8
revised Combining Mandelbrot and Monte Carlo
added 82 characters in body
Apr
8
revised Combining Mandelbrot and Monte Carlo
Typo fixed.
Apr
8
answered Combining Mandelbrot and Monte Carlo
Apr
5
awarded  Announcer
Apr
5
comment How to speed up auxilary DoolittleDecomposite function?
Well, I'm not that familiar with the internal mechanism, either, but the Compile`GetElement trick does work, at least on my machine.
Apr
4
revised Bug report: Attempting to Save Selection As… in a magnified Notebook fails with errors
added 10 characters in body
Apr
4
comment How to speed up auxilary DoolittleDecomposite function?
For the reason why Compile`GetElement is fast, it's mentioned here that it turns off the bound check.
Apr
4
comment How to speed up auxilary DoolittleDecomposite function?
Maybe it's due to the compiler? I use TDM-GCC 4.8.1, with "CompileOptions"->"-Ofast", and this is my implementation: doolittleDecomposition2 = With[{g = Compile`GetElement}, Compile[{{a, _Real, 2}}, With[{n = Length[a]}, Module[{t = a}, Do[Do[Do[ t[[i, j]] -= g[t, i, k] g[t, k, j];, {k, 1, i - 1}];, {j, i, n}]; Do[Do[t[[j, i]] -= g[t, j, k] g[t, k, i];, {k, 1, i - 1}]; t[[j, i]] /= g[t, i, i];, {j, i + 1, n}];, {i, 1, n}]; t]], RuntimeOptions -> "Speed", CompilationTarget -> "C"]].
Apr
4
comment How to speed up auxilary DoolittleDecomposite function?
You can use Compile`GetElement to speed up doolittleDecomposition by a factor of 2. (See here for an example. )
Apr
3
awarded  Announcer
Apr
3
comment Backslide of Limit
@MichaelE2 Yeah, I know, I just feel obligated to remind all the people who take part in the discussion for the correctness of v8 :)
Apr
3
comment Backslide of Limit
@MichaelE2 I added a step-by-step proof, have a look.
Apr
3
comment Backslide of Limit
I'm sorry but the answer given by v8 is undoubtedly correct. See my edit for the step-by step proof. @blochwave
Apr
3
revised Backslide of Limit
Add the proof
Apr
3
comment Poisson PDE over a irregular region with FDM
@wlkyr It's just because I didn't use the original coordinate. Map it back if you like.
Apr
2
comment NIntegrate over a list of functions
I think it'll be better if you can add some screenshots etc. to illustrate the speed difference.
Apr
2
answered NIntegrate over a list of functions