14,222 reputation
23467
bio website
location
age
visits member for 2 years, 7 months
seen 1 hour ago

Oct
12
answered Custom File Palette
Oct
12
comment How often does Mathematica contact its license server?
While I have no definitive answer (nor can I capture traffic on my work machine to check), I know from experience that if the license server goes down, mma does not close. I've had it run for a couple of hours, finish the task, and exit, while the license server was dead (according to IT support). So, unless it was somehow coming online briefly, it seems that this puts a lower bound on the period with which it checks.
Oct
11
comment How to sum up large number of elements in a table quickly?
this (how to speed it up) might depend on the details. unpacking might be involved for instance. Could you post some code that produces a1 and a2 in the form you need them, then uses f the way you use it?
Oct
11
comment How to sum up large number of elements in a table quickly?
@user72409 sorry I botched the pasting and did not actually paste the faster version. In any case I don't know if this will remain faster for such large arrays (and it needs modification to work with 2D arrays anyway; perhaps you could mention this in your question!)
Oct
11
revised How to sum up large number of elements in a table quickly?
mentioned unpacking
Oct
11
comment How to sum up large number of elements in a table quickly?
@tkott evaluate SetSystemOptions[PackedArrayOptions->UnpackMessage->True] and you'll see :)
Oct
11
revised How to sum up large number of elements in a table quickly?
added 56 characters in body
Oct
11
answered How to sum up large number of elements in a table quickly?
Oct
11
revised NDSolve with Euler method
added 32 characters in body
Oct
11
comment Eigenvalue / Eigenvector Calculation
"For speeding up Mathematica code, a little analysis of a problem often goes a long way" an excellent point. +1 for that and +1 for the rest (if I could)
Oct
10
revised Probability: proportion of 1000 random lists for x that contain the same nrs
added 210 characters in body
Oct
10
comment Probability: proportion of 1000 random lists for x that contain the same nrs
what I am plotting is the "experimental estimate for the probability" (vertical axis) versus the length of the list, which you call x (horizontal axis). Basically I'm plotting what is also plotted in the first figure in the wikipedia article. So, theAnswer[25,10000] (say) gives you the answer (ahem) you are looking for.
Oct
10
answered Probability: proportion of 1000 random lists for x that contain the same nrs
Oct
10
comment Probability: proportion of 1000 random lists for x that contain the same nrs
"the proportion of 1000 random birthday lists for x that contain the same numbers" is not clear (to me). same as what? do I take all pairs of lists and determine how many such pairs share at least one number?
Oct
8
comment 1D Euler Equations
perhaps this answer helps? but blind experimentation is not very satisfactory
Oct
2
comment How to avoid restart during development?
There are also ways to save and reload state, but I doubt they'd work reliably if you are doing package development (and thus manipulating contexts), not to mention the notation stuff.
Oct
2
answered How to avoid restart during development?
Sep
27
comment How do I efficiently navigate the command line interface to Mathematica?
you could also just use emacs as a frontend for mathematica (there are modes for that)
Sep
26
awarded  Nice Answer
Sep
22
awarded  Constituent