Reputation
8,062
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 18 76
Impact
~122k people reached

Jan
30
comment How to manipulate some list-plot in Mathematica
You should learn to format your code when asking Q, post self contained snippets and not use single capital letters in MMA.
Jan
29
answered Using Multiple Kernels When Making Plots
Jan
29
revised Using Multiple Kernels When Making Plots
code edit
Jan
29
comment Using Multiple Kernels When Making Plots
Any reason why you are not using ParallelTable or ParallelMap directly?
Jan
29
comment Why is my PageRank result in Mathematica converging this way?
@Pickett Should I delete this A then?
Jan
28
answered Why is my PageRank result in Mathematica converging this way?
Jan
28
comment Why is my PageRank result in Mathematica converging this way?
You have to look in the documentation. ` PageRankVector[g,TeleportProbability->0]`
Jan
25
comment About auto-compiling and performance between Do and Fold
Perhaps you have to decrease "FoldCompileLength" -> 100? As detalied here mathematica.stackexchange.com/a/1816/745. Also your function can easily be compiled manually, giving you more control (for example you can compile to C etc...)
Jan
25
reviewed Approve chemistry tag wiki excerpt
Jan
24
comment How to construct a list in a For Loop nested in a Parallel Loop
@Ymareth Yup exactly, that's the mma way to do this. No realocation etc as in C/C++
Jan
24
comment How to construct a list in a For Loop nested in a Parallel Loop
You probably want SetSharedVariable@V;ParallelDo[V[[x,y]] = operation[x,y]], {y, 1, Y},{x,1,X}]. Although this is probably really inefficient.
Jan
23
comment Reading binary strings from file as strings
5 upvotes for this simple answer, that took me las than 5 min to write as a break? Well thank you. But on this answer (mathematica.stackexchange.com/a/40687/745) I spent more than 3 hours and it only got 2 upvotes. Hmm, I still don't fully understand how mma.se works:)
Jan
23
comment Extract information from function definition returned by DefineDLLFunction
Part can probabl do it...
Jan
23
comment Save open Mathematica Notebook from command line or second Notebook to avoid data loss
Oh, for next time, there is also NotebookAutoSave.
Jan
23
comment Save open Mathematica Notebook from command line or second Notebook to avoid data loss
That's why I always write the results of my long calculations to a file. Export[...,"file.mx.gz"] is your friend. Doesn't help you now, I know...
Jan
23
revised Reading binary strings from file as strings
added 29 characters in body
Jan
23
comment Reading binary strings from file as strings
@wdg No, not at all. Import and ImportString take the same options. I used ImportString because it's easier to create a self contained example.
Jan
23
answered Reading binary strings from file as strings
Jan
22
comment Why are numeric division and subtraction not handled better in Mathematica?
@Mr.Wizard I see activity on ~3 of the four cores (the cpu usage is not 100%). My timings have similar ratios as your. Are you sure you're running this on only one core. (Oh I use MMA 9.01 and win7x64)
Jan
22
comment Why are numeric division and subtraction not handled better in Mathematica?
Something funny is going on. The results for power are all slower than the Divide. Do[a*b, {50}] // Timing // First Do[Times[a, b], {50}] // Timing // First Do[a b, {50}] // Timing // First. Also, while running this, more than one core is used.