Reputation
71,428
Next tag badge:
191/100 score
19/20 answers
Badges
19 207 337
Newest
 Good Answer
Impact
~1.1m people reached

May
11
comment How do I draw a hemisphere?
Just a blank image
May
11
comment How do I draw a hemisphere?
No, it doesn't work in v9...
May
11
comment How can I prevent kets to from growing too large?
@EverettYou Jens' answer works perfectly fine here on mma9 and I haven't loaded anything.
May
11
reviewed Close Optimizing a simple calculus using a list of matrices - Repeated dot product between a vector and a list of matrices
May
11
comment Simulating a Stochastic Process within certain bounds
Please don't use %69 — your %69 is not the same for anyone else and they will not be able to run it (also, I save only 1 previous output)...
May
10
revised Cannot call custom function loaded from script using C/C++ MathLink
added 75 characters in body
May
8
revised Equivalent of MATLAB's “hold on” function
added 74 characters in body
May
7
comment Can I customize In[] and Out[] headers?
See CellLabel
May
7
comment How to make a notebook not savable?
Yes, documentation notebooks and default stylesheets have Saveable -> False
May
7
comment How to make a notebook not savable?
@Problemania It is possible to modify the menu items as well, but it is global and it would make for terrible UX and I'd hate if someone were to design a package/application that disabled "Save As" for me. So why don't you actually explain more on why you require this? There are possibly other better ways of achieving what you want
May
7
reviewed Close why there is a small imaginary part
May
6
reviewed Close Scaled ColorData Function
May
6
comment How to populate a table using a rule replacement
@olliepower I made a typo in writing it here — I had element instead of elements. I've fixed it now; if you copy the above and try it, it should run correctly
May
6
revised How to populate a table using a rule replacement
fix typos
May
6
comment How to highlight a string pattern?
Ok, since Silvia's comment solved your problem and that is exactly one of the solutions in the linked post (which is very similar to this one), I'm marking it a duplicate. Please let me know if this is not the case (and why)
May
5
comment How to highlight a string pattern?
In general, you'd be better off using Row to join styled strings, and this is answered in mathematica.stackexchange.com/q/10990/5. Also see WReach's answer on converting to StandardForm and then using StringJoin
May
5
comment joining lists based on content
@mag That's just to strip one outer {} from an inner expression (see what happens to {l, m, n...} without that rule). I made a specific rule so that other genuine double lists (if any) won't accidentally get stripped.
May
5
answered joining lists based on content
May
5
comment joining lists based on content
@mag Ok, that clears up most of it; a couple more: 1) Are all the sets present in both lists or can some be missing? 2) Do you care about the order in which the sublists are present?
May
5
comment joining lists based on content
Ok. Assume list A = {{a, b, c, {d,e,f}, g, h}, {l, m, n, {o,p,q}, r, s}, {u, v, w, {x,y,z}, a, b}} and list B = {{a, b, c, {d,e,f}, i, j}, {u, v, w, {x,y,z}, d, e}, {a, b, c, {d,e,f}, k, l}, {q, r, s, {o,p,q}, u, v}} — Now, do you want the {a,b,c... in A to be combined only with the first {a,b,c... in B (same position) or with both instances in B? What to do with elements that don't match (e.g. {q,r,s... in B)? Discard them or include them as is?