Reputation
19,313
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
4 46 112
Newest
 Nice Answer
Impact
~201k people reached

1d
revised How to “undo” SetOptions (restore defaults)
added 13 characters in body
1d
comment How to “undo” SetOptions (restore defaults)
@AlexeyPopkov why yes I did. :)
2d
comment Count the sequences in an array
I was going to say that it failed to count the 0 sequences, but then I noticed that is exactly what the op wanted.
2d
revised Removing imaginary and negative results from Solve
formatting, brevity
Jul
1
comment Optimize evaluation time for a Quantum Walk simulation
I'm still thinking. I want to recast this as a matrix problem, but it is thus far resisting. So, thinking ...
Jul
1
comment About the number format in ticks
Yes, but I don't know to what extent it has been looked at.
Jul
1
comment About the number format in ticks
As far as I am aware, they have not been documented.
Jun
30
comment How to freeze and test a list of programs?
TestReport is HoldFirst, so that is likely causing issues.
Jun
30
comment Why don't the arrowheads show for this directed graph?
Ah, good. I don't have to write it up.
Jun
30
comment How to solve the following fourth order partial differential equation including Laplacian
Define "failed." What exactly happened?
Jun
29
comment contour plot (cartesian) using spherical coordinates postions
Right, there are two plots there. In the upper left corner of page 5, there are a set of 4 contour plots where the x and y directions are angles.
Jun
29
comment contour plot (cartesian) using spherical coordinates postions
Make that dat1[[All, {2, 1, 3}]] to get latitude and longitude in their correct spots.
Jun
29
comment contour plot (cartesian) using spherical coordinates postions
Why don't you plot $dat[[All, ;;3]] directly, instead of running the conversion? The plots on pg 5 of this article does just that.
Jun
29
comment FullSimplify not giving me a physically useful answer for Mott scattering
Running the Integrate and NIntegrate versions on both 8.0.1 and recent sources, I get identical results between the two versions. So, I suspect it is getting hung up on the nesting you're using. BTW, running the Integrate result through N gives the same result as NIntegrate, but it takes much, much longer. Go the NIntegrate route.
Jun
29
comment FullSimplify not giving me a physically useful answer for Mott scattering
What version are you running? I'm not able to reproduce it. Also, Integrate, like all functions that accept iterators, e.g. Table, etc., allows you to specify them in one function call, i.e. Integrate[..., {z, ...}, {x, ...}...], which allows internal simplifications and other speed ups to be invoked. And, it's easier to write.
Jun
29
comment Large data -list contour plot -list log plot
ListContourPlot accepts matrix data, and adding DataRange -> {{xmin, xmax}, {ymin, ymax}} will ensure the ticks are displayed correctly. I do not know what you mean by combining this with ListLogPlot, though. Would you clarify, please.
Jun
26
comment Optimize evaluation time for a Quantum Walk simulation
Well, you only want TotalF to work on states, per the first down value (ref). So, TotalF[a_]:=a is just a pass through for the coefficients. Without it, TotalF[5 state[...]] would produce TotalF[5] TotalF[state[...]] and TotalF[5] would remain unevaluated. PatternTest, because here it is using user code, evaluates slower than a plain pattern (a_). So, use it, if you have to, but opt for plain patterns when possible.
Jun
26
comment contour plot (cartesian) using spherical coordinates postions
I'm having trouble with the download, but try removing DataRange -> All from the final plot. I think that's confusing ListContourPlot.
Jun
26
comment Optimize evaluation time for a Quantum Walk simulation
I just updated this. I'll look at probabilities, later.
Jun
26
revised Optimize evaluation time for a Quantum Walk simulation
fixed more issues with the users code