14,252 reputation
23467
bio website
location
age
visits member for 2 years, 7 months
seen 5 hours ago

Jul
26
answered Efficient Langevin Equation Solver
Jul
26
comment Efficient Langevin Equation Solver
@R.M it can be parallelized if you calculate each realization independently (I ended up doing this when I was working on stochastic processes a few years back)
Jul
24
answered Sharp ListDensityPlot
Jul
23
answered How to generate table without comma and bracket or get rid of those?
Jul
19
comment How can I access documentation from the Workbench?
apparently, we can't. would be nice if someone has a way though, that's the main problem I have with workbench.
Jul
17
comment Programmatically quitting the FrontEnd or running without one?
@sebhofer thanks--I think that depends on what application the file type is associated to. in my case, doing that opens the script in an editor, because that's also what open does (from the command line). it probably works in the default OS X config
Jul
17
comment Programmatically quitting the FrontEnd or running without one?
@Jagra the iCal thing is robust, but it could be that the script fails for some reason. You could try checking (with applescript) that mma has indeed quit, but that won't work if the script stalls. I agree that it would be more robust to use something other than applescript, but this should work most of the time.
Jul
17
comment Programmatically quitting the FrontEnd or running without one?
@R.M of course, but that gives a warning about a process running in the background, preventing mma from quitting. One could script the UI, but sebhofer's idea was to use SystemOpen in the hope of avoiding this. I can't see how, unfortunately.
Jul
17
comment Programmatically quitting the FrontEnd or running without one?
@sebhofer good idea, let me see if I can work out how to run shell scripts (SystemOpen["bash /Users/acl/Desktop/qmma.sh"] just opens the script in Xcode on my machine)
Jul
17
comment Programmatically quitting the FrontEnd or running without one?
@sebhofer the problem with that is that it pops up a window telling you that a process is running...
Jul
17
comment Programmatically quitting the FrontEnd or running without one?
you could just run an applescript with 'tell application "Mathematica" to quit' (as @sebhofer says, it's applescript, just called from a shell). you could for instance create a calendar event to run this periodically, or use command-line methods (which I could explain if you want, but I guess it's easy to google them and in any case that would better be done in chat)
Jul
17
comment Why won't Mathematica Integrate my function?
@rcollyer but it doesn't, it just says "if x>0". I'm not sure I could have predicted what would happen if I hadn't tried this.
Jul
17
revised Programmatically quitting the FrontEnd or running without one?
added 61 characters in body
Jul
17
answered Programmatically quitting the FrontEnd or running without one?
Jul
17
comment Why won't Mathematica Integrate my function?
Regarding the Abs example: try Integrate[If[x > 0, x, -x], x] and now it works. Apparently it assumes a real $x$ for this If[] construct (which a priori I'd have thought shouldn't be used for mathematical functions).
Jul
15
revised How to restrict global variables to within a given notebook?
edited body
Jul
15
answered How to restrict global variables to within a given notebook?
Jul
12
comment Mathematica Plotting of complex and convolution integrals
I think the problem is that S (which you got rid of) is meant to be some kind of average, but as it is written it's a number. Of course one solution is to just replace S by u, as you did :) But I think this question is based on some misunderstanding on how Plot3D works (ie, it seems userxxxxx thinks this works like matlab; but I'm not sure)
Jul
12
comment Mathematica Plotting of complex and convolution integrals
I'm afraid I can't understand what you want to do...
Jul
12
comment Mathematica Plotting of complex and convolution integrals
or is it that you want to have t be a list and then u[.3,t] also a list? because that can be done, but not like you tried (it's not matlab)