Reputation
51,109
Next tag badge:
250/100 score
19/20 answers
Badges
6 80 199
Newest
 Nice Answer
Impact
~680k people reached

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.
Feb
3
comment A better “VisibleSpectrum” function?
+1 Nice. Though spelunking ChromaticityPlot is so last year :-)
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 guess so. There are a probably a few other typesetting functions that should be blocked too. I really need to give the code a bit more attention now that Mathematica has moved on a couple of versions.
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, try Block[{Legended}, Spelunk @ ...]
Feb
3
comment Creating a fast random array generator
@Mr.Wizard, at first I though so too, but this one seems to have an additional constraint on the values (0<=x<=l) which is not in 54448.
Feb
1
comment Custom distribution
Hi arslan, welcome to Mathematica Stack Exchange. You've come to the right place for help but unfortunately you haven't supplied enough information for anyone to help you. The only clue about what you are trying to do is a line of code which doesn't do it! It's not even clear if you are trying to make a trivariate distribution or a univariate distribution in x with a and b as parameters. Please use the "edit" button underneath the question to add some details about your problem.
Feb
1
comment Methods for producting alternating TickLabels in a Plot?
You could save a few more keystrokes by omitting Floor from your first method
Jan
31
comment Restoring an out of focus image
I will add to Oleksandr's comment that you appear to be working with a jpeg image, so a lot of information will have been discarded by the compression algorithm. I suspect it will be impossible to get anything much better than your Sharpen result.
Jan
30
comment I define a variable as local to a module BUT then the module uses its global value! Why?
@Leonid, I was using the SE app on my phone and it hadn't updated to show your comments so my reply to Mr Wizard appears to be ignoring or disagreeing with you! I do see what you mean, Set and Rule are scoping constructs so the behaviour is consistent (though arguably undesirable), which is what I thought originally. I hope you manage to find time to write down that list of rules - it's a shame the official documentation doesn't go into the level of detail that you do in your contributions here.
Jan
29
comment I define a variable as local to a module BUT then the module uses its global value! Why?
The StrictLexicalScoping option looks useful, though I wish it were implemented as a StrictLexicalModule function rather than a system option.
Jan
29
comment I define a variable as local to a module BUT then the module uses its global value! Why?
Makes perfect sense, I hadn't properly appreciated the real issue here, that the renaming exemption should not apply to unheld constructs.
Jan
29
comment I define a variable as local to a module BUT then the module uses its global value! Why?
Isn't it another example of this? Using Module[{a, h}, Set @@ {a[h_], h^2}; a[4]] avoids the problem by "hiding" the inner scoping construct from Module
Jan
28
comment Problem with FindRoot applied to functions
Have you tried using a pattern which matches a vector of numeric values? rV_/;VectorQ[rV, NumericQ]
Jan
27
comment accessing elements of nested list
@Mr.Wizard, this is close: mathematica.stackexchange.com/questions/63989/…
Jan
23
comment For a given expression: if it appears, remove it, but if it is absent, add it
I was just looking at something similar, but using a : Longest[(-Infinity | PatternSequence[])] as the head/tail patterns
Jan
22
comment How-to convert real number into List of its digits?
@user1989, No apology necessary! It's not a rule, just a good tactic to get the best out of the site :-)
Jan
22
comment How-to convert real number into List of its digits?
@user1989, no problem. By the way it is usual here to wait a while before accepting an answer, so as not to discourage others from posting other, potentially better, answers. 24 hours is good as it gives the whole globe a chance to contribute.
Jan
22
comment ListPlot3D. Only plots about half of the data in a 3D matrix
I think this is the familiar long-standing problem with the triangulation algorithm. This is related though the "DelaunayDomainScaling" option in my answer there doesn't work in version 10. A simple workaround would be to plot the probability as a percentage (data[[All,2]] *= 100), or the population in thousands.
Jan
22
comment Why does Mathematica add Hold to the result of my user defined symbol?
You will get a better response if you post the actual code rather than an image.
Jan
22
comment Is there a CDF Player for Mathematica 10? (Yes)
I've heard that a v10 player is (hoped) to be released in the next 2-4 weeks. The delay is partly due to cloud integration. The new player will apparently bring together Free Player and Player Pro into a single install. You will install the free player and then if required you can purchase a licence to activate the Pro functionality.