Reputation
51,244
Next tag badge:
251/100 score
19/20 answers
Badges
6 82 199
Newest
 Good Answer
Impact
~682k people reached

Mar
4
comment Random numbers in C++ and Mathematica gives wrong results?
Isn't this more of a C++ question than a Mathematica one?
Feb
28
comment Strange behavior when setting NumericQ of a symbol
Confirmed with Mathematica 10.0.2 on Windows. I suggest you report it as a bug to WRI.
Feb
24
comment Problem in evaluation of a solution and plotting
You generate dphi with a single x value for each of the monotonically increasing y values. So you cannot possibly expect to get a plot like the image you posted.
Feb
24
comment How can I define or use a new coordinate system in Mathematica?
It looks like all the details of coordinate systems are in SymbolicTensors`CoordinateChartDataDump`mappingInfo so perhaps one could add another system by adding more rules there, but it doesn't look like much fun, and there's no guarantee it would work.
Feb
23
comment Inconsistency in arithmetic on list elements
@RalphDratman, if you haven't already, I recommend reading the page on Evaluation, it will help you to understand how Mathematica proceeds through the evaluation and why attributes like Listable work the way they do.
Feb
21
comment The efficiency compare between Flatten[#, 1] & and Join @@ # &
You might like also to consider the case of packed arrays (use Range[2] in place of {1,2} in your lists)
Feb
20
comment What does IndexBy do and how exactly does it work?
@episanty, I think all system symbols will show up in the autocomplete suggestions, though many are undocumented. For a complete list of such symbols: Select[Names["*"],MatchQ[ToExpression[#<>"::usage"],_MessageName]&] (it takes a minute to run).
Feb
20
comment Duplicate mapped elements in Riffle
Nice alternative to using SetAttributes there, I'll have to remember that!
Feb
17
comment I can not open any notebook
You have saved the Mathematica closing dialog, not your notebook. Can you confirm that you are saving the notebook from the notebook's File menu?
Feb
16
comment HOWTO encode/decode large chunks of Mathematica code/results e.g. for posting on sites?
I would also suggest using Hold or Defer as the second argument in Uncompress, for safety. Consider seEncode@Unevaluated@Unevaluated@Print["oops"] but with something nasty in place of the print.
Feb
16
comment HOWTO encode/decode large chunks of Mathematica code/results e.g. for posting on sites?
There is no need for the decoding parameter - any characters added at the end of the compressed string will be ignored by Uncompress
Feb
12
comment How can I improve NumberString?
@Mr.Wizard, the new pattern is definitely cleaner and it appears to work perfectly. Thank you.
Feb
10
comment Question about output of a function
pollardrho[17] is supposed to return Null though
Feb
10
comment Question about output of a function
It looks like you made a typo, maybe you forgot the semi-colon after the While loop. It's hard to be sure as the code you posted here is not the same as the code in your notebook (I can tell because the code here will not run at all due to missing brackets).
Feb
9
comment Why does list assignment with a packed array result in unpacked values?
@m_goldberg, since Taliesin has filed a bug one might argue that the question has been answered, albeit indirectly. Why does Mathematica do this? Because it has a bug. (As opposed to it being a deliberate design choice).
Feb
9
comment Getting the polynomial from a polinomial root equation
Related
Feb
5
comment Triangular mesh of random points on a sphere
+1 The result looks better than the logo!
Feb
4
comment How can I convert a complex number a+b I to the exponent form A Exp(I phi)?
@user907860, both terms are valid I believe.
Feb
3
comment What is the most convenient way to read definitions of in-memory symbols when we don't have the source files? (Spelunking tools)
@Mr.Wizard, I've uploaded a new version of Spelunk to my fork of the GitHub. This uses the wonderful FrontEnd`UndocumentedTestFEParserPacket (which Kuba reminded me of) to extract boxes from the symbol definition. This seems to do a great job of stripping out the typesetting stuff which has been causing problems. It'll need some testing but so far it looks promising.
Feb
3
comment How can I improve NumberString?
This looks very interesting. My original problem came from analysing boxes so this sort of approach might fit nicely.