Reputation
11,923
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 25 85
Impact
~176k people reached

Oct
8
comment How to set products of small variables to zero
@YuriyIvanov: Strange; for me (on Mathematica 8.0.0.0) the very expression you wrote (copy/pasted directly from your comment) evaluates to 0.
Oct
6
revised How to set products of small variables to zero
made expression readable without horizontal scrolling; removed some spaces which IMHO *reduce* readability.
Oct
6
comment Explanation for coloring of variables by code editor?
Actually, the scroll bar shows that the notebook doesn't end at Out[139], so it is not unlikely that the reason for r being blue is somewhere down. Of course it might just as well have been erased from the notebook altogether, or even have been executed in another notebook (without using the option of having separate contexts).
Oct
6
answered How to set products of small variables to zero
Oct
6
revised A question about expanding complex functions of real arguments
make the title match the question better
Oct
6
answered A question about expanding complex functions of real arguments
Oct
6
comment A question about expanding complex functions of real arguments
You can get rid of the Re and Im by using the option TargetFunctions->{Conjugate}. But that still gives Sin and Cos for the exponential functions.
Oct
2
answered Is there any way to assign multiple values?
Oct
1
comment Recursive partitioning: Is there a better way to do this?
Looks great. The ArrayReshape documentation says introduced in 9.0, but unfortunately I'm stuck with 8.0, so I can't use that :-( But a +1, because I think this would actually be the perfect solution if only I could use it ...
Oct
1
accepted Where can I put my conditions?
Oct
1
accepted Recursive partitioning: Is there a better way to do this?
Oct
1
asked Where can I put my conditions?
Oct
1
comment Recursive partitioning: Is there a better way to do this?
I didn't know that you can put the condition inside a With. That's a nice way to get a restriction to valid lists. This alone is already a nice improvement to my version.
Oct
1
asked Recursive partitioning: Is there a better way to do this?
Sep
30
awarded  Explainer
Sep
5
revised How to replace While construct to NestWhile(functional-style) correctly?
I forgot to remove the "untested" warning after testing and correcting
Sep
5
comment How to replace While construct to NestWhile(functional-style) correctly?
@Tangshutao: Anyway, I forgot: thank you for correcting my other mistakes (and I also forgot the @-attribution so you get notified).
Sep
5
comment Get a “step-by-step” evaluation in Mathematica
I just noticed that WalkD[Integrate[f[x],{x,g[x],h[x]}],x] results in an infinite loop of error outputs, each time adding an extra /. $Failed to the end.
Sep
5
comment How to replace While construct to NestWhile(functional-style) correctly?
I've now fixed the error in my code; my tests indicate it works now correctly. The error was rather stupid: I forgot to supply the initial argument and test function to NestWhile, and to close the remaining open function argument brackets.
Sep
5
revised How to replace While construct to NestWhile(functional-style) correctly?
fixed error in code