14,633 reputation
23870
bio website
location
age
visits member for 3 years
seen Jan 21 at 23:54

Jul
21
reviewed Leave Open Mathematica policy for correctness of results
Jul
21
comment Taking inverse powers of an expression to that power
I see. Well then, the existence of branch cuts is why $(x^3)^{1/3}\neq x$, which is why Mathematica does not simplify your expression.
Jul
21
comment Taking inverse powers of an expression to that power
(or Im instead of Arg, etc). Basically you need to find out what a branch cut is.
Jul
21
comment Taking inverse powers of an expression to that power
You can see why it doesn't from this: Plot3D[ Arg[((x + I*y)^3)^(1/3)], {x, -2, 2}, {y, -2, 2} ]
Jul
21
comment How can I prevent a compiled function from using uncompiled evaluation?
OK, I thought you were worried about passing the wrong argument, not actually forgetting to localise your variables.
Jul
21
comment How can I prevent a compiled function from using uncompiled evaluation?
you can also do fc = Compile[{{z, _Real}}, Sin[z]]; f[x_?NumericQ] := fc[x]
Jul
21
comment Map 2 list to a function
You can do Outer[{#1, CountryData[#1, #2]} &, listCountries, data] for the second bit. Outer is very flexible and well worth understanding.
Jul
20
comment Map 2 list to a function
@Öskå hey, thanks!
Jul
20
revised Map 2 list to a function
switched order of solutions
Jul
20
answered Map 2 list to a function
Jul
20
comment Workbench fails to run on OSX. Reports “Front end could not be launched.”
So, is there anything at the location indicated? ie, if you type /Applications/Mathematica.app/Contents/MacOS/Mathematica into a terminal window, does it launch Mathematica? Presumably yes, since it does get launched, but worth checking.
Jul
20
comment Symmetric list with maximum in center
@MichaelE2 yes, having to worry about the length being odd or even makes things a lot uglier
Jul
20
revised Binarizing a matrix
added 576 characters in body
Jul
20
answered Binarizing a matrix
Jul
19
comment Should DSolve always return solution with constant of integration?
That was very impressive!
Jul
18
comment How to define range for Manipulate using exponents
You could use Manipulate[f[10^x, y], {x, -10, -1}, {y, 0.01, 1, 0.01}] with the f you already have. Does that do what you want?
Jul
18
comment Should DSolve always return solution with constant of integration?
in case you use latex, you can use it here. I've added some markup to your answer.
Jul
18
revised Should DSolve always return solution with constant of integration?
latex
Jul
18
comment sudden increase in timing when summing over 250 entries
This is almost always a good idea if what you want to do is a numerical sum.
Jul
18
awarded  Enlightened