104 reputation
7
bio website mathestate.com/tools/…
location Central Arizona
age 68
visits member for 1 year, 3 months
seen Feb 17 at 22:39

I have been using Mathematica since August 1988. Interests: mathematical statistics, physics, astronomy, financial markets. I use Mathematica mainly as a hobby; before I retired I was a cardiologist.


Feb
6
comment Why are numeric division and subtraction not handled better in Mathematica?
The Attributes of Power, Times, Plus, are more detailed than the Attributes of Subtract and Divide, which likely means that they carry more overhead in terms of checking. Using //FullForm to check how things are entered in the interpreter, Divide and Subtract seem to be used only if they are entered explicitly. When entered in the short forms the longer constructions seem to be taken by the interpreter. Clearly this could be improved. This difference can be seen with Divide[#1,#2]&//FullForm and #1/#2&//FullForm.
Nov
30
revised Return partial result when MemoryConstrained aborts NDSolve
added 208 characters in body
Nov
30
comment Return partial result when MemoryConstrained aborts NDSolve
The code seems to have disappeared here is the example again. {fit, steps} = Reap[TimeConstrained[ FindFit[ztp, {convolutionModel, k > 1 && r0 > 0 && r1 > 0}, convolutionParameters, t, Method -> Automatic, StepMonitor :> Sow[{r0, r1, k}]], 10]];
Nov
30
answered Return partial result when MemoryConstrained aborts NDSolve
Nov
24
answered Interpolating a list with exclusion
May
17
awarded  Revival
Jan
19
answered Can one launch a Player Pro kernel independently of the front end
Jan
17
awarded  Student
Jan
16
awarded  Revival
Jan
12
answered Implementing CGS unit system in Mathematica 9
Jan
6
awarded  Revival
Jan
6
answered How is AstronomicalData interpreting its date arguments?
Jan
6
awarded  Autobiographer
Jan
6
comment What is the purpose of Dump contexts?
I aggressively beta tested the StableDistribution package, working closely with the developer. Whenever I found something that needed to be changed, he was able to send me a specific .mx file for my machine so I could test the fix. Surely I am speculating about the word Dump, but before the function name was changed to DumpSave, it was just called Dump. It is specualtion with experience. It is helpful to know whether the error code comes from code in an mx file or a standard package, there is no other ID, when you get an error message in beta testing.
Jan
6
comment What is the purpose of Dump contexts?
It seems obvious to me: Dump signifies that the code is coming from a machine specific .mx file rather than a package which could be loaded on any machine. Thus if you are working on a development team and you think something needs to be changed, it has to be recompiled for every machine.
Jan
6
comment What is the purpose of Dump contexts?
I suspect it is an enforced style. Interestingly, sometimes the code is not ReadProtected, so you can get it all with the following: snames = Names[Statistics`StableDistributionsDump`*"]; ToExpression["??"<>#]&/@snames; First you need to call a function which loads the mx package.
Jan
6
awarded  Editor
Jan
6
revised What is the purpose of Dump contexts?
added 173 characters in body
Jan
6
answered What is the purpose of Dump contexts?
Jan
6
awarded  Teacher