Reputation
7,947
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 18 76
Impact
~116k people reached

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.
Jan
21
awarded  Nice Question
Jan
21
comment How to substitue local variables into expression with free variables?
@Szabolcs Sure, even if these were not CW I welcome good edits:)
Jan
21
answered How to substitue local variables into expression with free variables?
Jan
20
comment Finer granularity with ParallelDo
Defining a function is not a bad idea, and I can get around the {i = w[[1]], j = w[[2]], k = w[[3]]} boring to type and error prone construct:)
Jan
20
comment Publishing a Mathematica notebook
@F'x, so how did it go in the end?
Jan
20
comment Finer granularity with ParallelDo
@Szabolcs Aha, Thanks. Probably a seperate Q, but, do you have a more general way of {i = w[[1]], j = w[[2]], k = w[[3]]}. I remember seeing that somewhere, but can't find it.