11,433 reputation
12280
bio website
location
age 43
visits member for 2 years, 11 months
seen 19 hours ago

Aug
27
comment Recursive function with array of variables
@kon: Indeed, that closing bracket was missing (reminder to self: don't skip testing, even for simple changes!). Thank you for noting, and for the accept.
Aug
27
revised Recursive function with array of variables
Added missing closing bracket
Aug
26
comment Recursive function with array of variables
@TeakeNutma: I've now added both. Thank you for noting.
Aug
26
revised Recursive function with array of variables
fixed missing negative condition/memoization
Aug
26
answered Recursive function with array of variables
Aug
24
awarded  Good Question
Aug
23
answered ToExpression from commandline
Aug
23
comment ToExpression from commandline
OK, I now could reproduce the problem, except that for me it tried to connect to ":0.0" (which explains why my previous attempt to reproduce it failed; I tried on a computer where I was also logged in/running X locally, and thus connecting to :0.0 would not fail). Using strace reveals that it executes a front end at some time; I guess that's where the problem arises.
Aug
23
comment ToExpression from commandline
I can't reproduce this with Mathematica 8.0.0.0, neither with nor without X forwarding. In both cases I get x == 2.
Aug
22
awarded  Nice Answer
Aug
16
comment Communication between local kernels
Just curious: Is there a reason why you don't use the parallelism features of Mathematica, using SubKernels? Those include easy-to-use functionality for information sharing.
Aug
13
comment Convoluting inverse square root with Gaussian
With Mathematica 8.0.0.0 I get ConditionalExpression[(Pi*Sqrt[x]*(BesselI[-1/4, x^2/(4*sigma^2)] + BesselI[1/4, x^2/(4*sigma^2)]))/(2*E^(x^2/(4*sigma^2))), x > 0]
Aug
13
comment Skipping over iterator values in a Table
@Radz: You're welcome.
Aug
10
revised Skipping over iterator values in a Table
Added option to use Piecewise
Aug
10
answered Skipping over iterator values in a Table
Jul
21
comment What's the difference between Inactive and HoldForm?
But couldn't the effect of Inactivate also be achieved using Hold with SetAttributes[MakeHeld, HoldAll]; MakeHeld[a_[b___]] := MakeHeld[a][b]; MakeHeld[a_] := Hold[a]?
Jul
21
comment Why wouldn't ReplaceAll (/.) work with this list of number?
I prefer {1, 2, 3, 4} /. {2 -> 5}.
Jul
18
answered What is the order of faces on a D20? How can I optimize the order of faces on a D-n?
Jul
18
comment NMinimize gives an obvious wrong value
I notice that you minimize estimator[{l}, {1}], but then evaluate estimator[{l}]. looking at your definitions, the latter should not evaluate at all. Could it be that an earlier definition of estimator still is in effect besides your current one, and gets triggered by your test expression? (Type ?estimator to see all definitions Mathematica currently knows.)
Jul
18
revised Plot3D unable to understand input function
reapplied my formatting fixes, which got lost in an overlapping edit