2,841 reputation
11030
bio website
location
age
visits member for 2 years, 8 months
seen Feb 16 '13 at 17:11

Jan
24
awarded  Commentator
Jan
24
comment How to run mathlink external commands in parallel?
@Szabolcs Had to run ParallelNeeds[] (in addition to Needs[]; see docs) to get this to work, since my code uses stuff from other packages. Now it is FAST! I added a note about ParallelNeeds[] in your answer, if you don't mind. But I did indeed follow all else from your answer, so will accept that one.
Jan
24
suggested suggested edit on How to run mathlink external commands in parallel?
Jan
24
comment How to run mathlink external commands in parallel?
I'm wondering if it is connecting to the same executable from all kernels. Actually, my external executable is linked against an external library (gel) which itself might be shared amongst the kernels...Maybe I have to parallelize the external function?
Jan
24
comment How to run mathlink external commands in parallel?
@Szabolcs Thanks for the question - Mma no longer complains about closed links (I had to run LaunchKernels[]), but the processing is seemingly not parallelized as it takes as long to do the calculations in parallel as it does on a single processor. I may edit the question to follow up on this, or ask a separate question.
Jan
23
awarded  Critic
Jan
23
comment How to use NDSolve to track equilibrium?
I'm curious to see what solution you have up your sleeve :)
Jan
23
answered How to use NDSolve to track equilibrium?
Jan
21
comment Correct way to handle mysterious NaN` result from MathLink function
Is it a bug that Mathematica correctly interprets the IEEE double encoding of a NaN as not-a-number, but stores it in the list as something that you can't even enter as input directly? I wonder if there are any cases when you would not want that nan to be automatically converted to Indeterminate.
Jan
21
awarded  Scholar
Jan
21
accepted Correct way to handle mysterious NaN` result from MathLink function
Jan
21
comment Correct way to handle mysterious NaN` result from MathLink function
@Szabolcs There is indeed a backtick suffix. The FullForm evaluates to NaN`.
Jan
20
comment Correct way to handle mysterious NaN` result from MathLink function
@R.M Yes! As long as I load the ComputerArithmetic package before I call the external function, it works. Please write up your answer.
Jan
20
asked Correct way to handle mysterious NaN` result from MathLink function
Jan
20
awarded  Quorum
Jan
20
comment Custom package development: Basic steps
@Leonid Your comment looks like a great answer (and it has six up votes!). How about making it official?
Jan
19
comment How to get actual triangles from DelaunayTriangulation[]?
Thanks much for the clarity.
Jan
19
comment How to get actual triangles from DelaunayTriangulation[]?
I tried the DelaunayTriangulation directly on your points, and I get a different triangulation than your example: same points in each list, but the last list {{4,{2,1,3}} is a cyclic permutation in the numbers of the first list {{1,{3,4,2}}). And this one works with my code, while yours does not. I wonder if it possible to prove whether DT will always return lists whose repeated elements are cyclic permutations only. (If that makes any sense!)
Jan
19
answered How to get actual triangles from DelaunayTriangulation[]?
Jan
18
asked Is there an NDSolve`ProcessEquations analog for NIntegrate?