15,303 reputation
33493
bio website wolfram.com
location United States
age 37
visits member for 2 years, 3 months
seen 1 hour ago

The gravatar was made with Mathematica, and inspired by this.

The contents of my posts are my own opinion, and do not reflect the opinions of my employer.


Apr
17
comment Scan vs Map vs Apply
It may be worthwhile adding a note about things that are atomic, but not immediately obviously so, like AtomQ@Complex[1, 1] == True vs. AtomQ@Complex[1, a] == False. +1
Apr
16
revised Making mathematica do regulated integrals
fixed formatting of LaTeX for readability
Apr
10
comment Does RuleDelayed work inside MessageName?
Switch to using SetDelayed and see if that changes its behavior.
Apr
9
comment Mathematica comments disappeared
Have you saved after they were stripped out? If not, then open the saved version. It is the only way.
Apr
8
revised Determinant of a square matrix with univariate polynomial entries is not a polynom?
fixed code styling
Apr
7
comment How to match a cyclically repeating sequence?
I was just thinking there are cases where a pattern is absolutely necessary. I'll have to play with it a bit, and see.
Apr
7
accepted How to match a cyclically repeating sequence?
Apr
7
comment How to match a cyclically repeating sequence?
+1, I wish I had thought of this. Very interesting.
Apr
2
revised Efficient calculation of diagonal matrix elements
added 1018 characters in body
Apr
2
comment Efficient calculation of diagonal matrix elements
Define efficiently. For large enough lists of vectors, Map auto compiles, and Dot and Conjugate are on the list of functions that are compilable. This won't give a speed boost, though, if the matrix or vectors are symbolic. Are they?
Apr
2
answered Efficient calculation of diagonal matrix elements
Mar
31
comment Transformation of a simple logic statement
This easily provable by hand. Since we know that $x \le y$ and we know that $y < y + 1$, then we can state that $x \le y < y + 1$, or more succinctly, $x < y + 1$. Nothing more is needed. But, Artes provides a nice waving of proving it in Mathematica.
Mar
30
comment Why won't my function plot?
Options[Plot[g[z], {z, 0, 2}], PlotRange] returns PlotRange -> {{0., 2.}, {0.5, 0.5}} so it is shrinking the vertical range. Reporting it.
Mar
18
revised ReadList with header and foot lines
using a better construct
Mar
18
comment ReadList with header and foot lines
@chuy Skip has been in there since v2, and I've never used it. But, looking it over, yes you are correct it has a much simpler interface than using Read. Changing my answer ...
Mar
18
answered ReadList with header and foot lines
Mar
15
awarded  Nice Question
Mar
11
revised Parametric plot of multiple graphs on the same axes
fixed title
Mar
11
comment How to match a cyclically repeating sequence?
More habit than anything else. But, I'm not sure you get that much savings with Condition, i.e. {d, a, b, c, a, e, f} /. {h___, Longest@m__, t___} /; cyclicPatternMatchQ[{a, b, c}][Print[{m}]; {m}] :> {h, t}. Using Condition is certainly easier, but I'm mostly just curious at this point.
Mar
11
comment How to match a cyclically repeating sequence?
+1. How would you make this amenable to using PatternTest instead of Condition?