7,320 reputation
21663
bio website
location
age
visits member for 2 years, 4 months
seen 2 hours ago

A tribute to the ONE TRUE LOGO :)

logo


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 suggested edit on 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
24
comment formatting an InputField with Dynamic
No, no, I'm talkinig about the time you needed to write the Q. It's very polite to at least format the code you present using either 4 spaces or ``. In the other questions somebody else has taken the time to do that for you. Good formating will increase the chance of a good A.
Jan
24
comment formatting an InputField with Dynamic
No code formating after 7 questions? Does'nt look like you've put much effort into this Q...
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.