48,619 reputation
677190
bio website
location
age
visits member for 3 years
seen 7 hours ago

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
14
awarded  functions
Feb
13
answered Problem about an ant walking up a hill
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
9
accepted How can I improve NumberString?
Feb
5
comment Triangular mesh of random points on a sphere
+1 The result looks better than the logo!
Feb
5
answered Calculating weird numbers
Feb
5
answered Triangular mesh of random points on a sphere
Feb
5
awarded  Nice Answer
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.
Feb
3
comment How can I improve NumberString?
@ChipHurst, for my needs I just need to handle explicit numbers with precision marks and scientific notation, though if you have a method that can handle named constants too it would be interesting to see it. My original problem was to examine the box form of expressions and determine whether strings containing a backtick were numbers or symbols with context marks. I was surprised to discover that NumberString didn't work for this.
Feb
3
comment How can I improve NumberString?
Okay now I'm puzzled - why are two backslashes required?
Feb
3
comment How can I improve NumberString?
See comments on Mr Wizard's answer regarding "*" acting as a wildcard
Feb
3
comment How can I improve NumberString?
@Mr.Wizard, no, I'm not planning to self answer. Yes, safety is basically the only reason - it would be okay to create a held expression for example.