531 reputation
310
bio website
location Antwerp, Belgium
age 30
visits member for 2 years, 4 months
seen Jun 11 at 7:03

Doing a PhD in Theoretical Particle Physics (QCD)


Jul
2
awarded  Curious
Mar
1
awarded  Yearling
Feb
25
comment Defining Piecewise Functions in Modules
Wait, how can it be that you define env[x_]as a function of x, but are using env without parameters on the next line?
Feb
25
comment Defining Piecewise Functions in Modules
Probably there are more elegant ways to get the requested, but then we'd need to now your definition for getpsipieces, and anyway, now it should work as is without too much modification.
Feb
25
answered Defining Piecewise Functions in Modules
Feb
25
comment Is there a way to stop evaluation immediately?
Sometimes it works to repeatedly abort the evaluation (on my mac with shortcut cmd+.), it has happened to me before that I was able to kill the evaluation only after hitting the abort shortcut 8 times or so. Maybe it's a matter of killing sub processes individually?
Feb
19
revised Testing for arbitrary algebraic expression in given variable
I added the last part.
Feb
19
revised Testing for arbitrary algebraic expression in given variable
Small typo in the next to last line: 'test1' replaced by 'test2'
Feb
19
answered Testing for arbitrary algebraic expression in given variable
Sep
18
awarded  Nice Question
Sep
10
awarded  Nice Question
Jul
24
revised Strange behaviour when line-wrapping text in a Pane
added a new part to the question
Jul
24
asked Strange behaviour when line-wrapping text in a Pane
Jun
21
comment Dynamic Programming with delayed evaluation
Thanks a lot for your effort! I understand now how it works. However I am having troubles applying it to my problem, as I would need it more generally. I expanded my question, see my edit, so maybe you can have a look (that is, if you feel like it and have the time for it, I wouldn't want you to waste too much time on my mathematica-programming-insight shortage)? Thanks anyway for your help so far!
Jun
21
revised Dynamic Programming with delayed evaluation
added a new part to the question
Jun
20
accepted Dynamic Programming with delayed evaluation
Jun
20
comment Dynamic Programming with delayed evaluation
Ok sorry, I got it partially now.. Can I chain more replacement rules like this if I want to use more combinations of the variables (f.e. Most[Most[vars]], Rest[vars] but also Most[Rest[vars], vars[[1]]etc)?
Jun
20
comment Dynamic Programming with delayed evaluation
wow! Genius, but far beyond my leave as I don't fully understand it (not to say almost not at all).. You create a recursive definition by chaining :>'s, is that right? I am a bit puzzled with the mechanics behind it (why use Setinstead of SetDelayed?), how do you ensure it will not redefine t[a,b,c,d] when you invoke it a second time? Forgive my ignorance, I am trying to understand as to be able to expand it for my problem..
Jun
19
asked Dynamic Programming with delayed evaluation
Jun
14
accepted Pattern definition for replacing plus and subtract