905 reputation
310
bio website quantum.at
location Vienna, Austria
age
visits member for 1 year, 3 months
seen 4 hours ago
stats profile views 73

PhD student in Theoretical Physics

Research interests include Quantum Optomechanics and Quantum Optics


2d
comment Light syntax parser for Mathematica?
I would recommend nx as it has much better performance, especially with a slow connection!
May
13
awarded  Civic Duty
Mar
28
comment Wolfram Workbench - Mathematica Development Alternatives
@su1 I always had problems with random java errors popping up. For me this definitely improved with newer eclipse versions. Still crashes sometimes though.
Mar
14
revised How to memoize a function with Options?
added 52 characters in body
Mar
14
comment How to memoize a function with Options?
@oops... I checked the results against the original post, and they are the same. You are correct of course.
Mar
14
comment How to memoize a function with Options?
Of course what Leonid did is much better... :)
Mar
14
answered How to memoize a function with Options?
Mar
11
comment An issue regarding Eigenvalues function
I think this is indeed what the post claims. @randomized starting values: It is very interesting for me that you say that, as it confirms a suspicion I had a few years back, regarding eigenvalue computation in Matlab where you could actually see this behavior. I just never followed up on that.
Mar
11
comment An issue regarding Eigenvalues function
@makmaak Which Mathematica version are you using? FWIW I also get 0. with V 9.0.1 under Linux 64bit.
Mar
11
comment An issue regarding Eigenvalues function
Just to elaborate on @rcollyer's comment: You can get rid of the small non-zero terms by using Chop or by using higher precision (see SetPrecision for example).
Mar
8
comment A deterministic function to generate a random number
@Szabolcs I just did a quick test for whiteness using Ljung-Box test (and another test using periodograms whos name I don't know) on a 50k sample created by this method and it looks good. (I did the test in Matlab so I can't post the code.) Didn't test for uniformity though.
Mar
8
comment A deterministic function to generate a random number
I have to go with Szabolcs here. If the Mathematica developers have done their job right then this will do what the OP is asking for. If they haven't, the other approaches may not be curing that problem either (or may even be worse).
Mar
4
comment How to find the name of the current function
A bit OT, but I always wondered: How does the magic behind OptionValue work?
Feb
25
comment Downvalues vs. Scoping for Functions
Wow... I wasn't aware that Module is so much slower!
Feb
20
comment Fastest way to test if a numerical array has complex elements
@LeonidShifrin Is there a reason why this use of Return is not documented (except on the refpage on Return::nofunc)?
Feb
14
comment Where is KeyEventTranslations.tr in Mathematica 9?
Was the edit before or after my comment? Or in other words: Was I really to stupid to read? :)
Feb
14
comment Where is KeyEventTranslations.tr in Mathematica 9?
I guess that's in OSX right? Probably you should clarify that somewhere. Also, isn't it maybe in the .app bundle? (It's been a while since I used Mathematica under OSX)
Feb
12
comment Function argument to default under certain condition
Very sneaky! I like it :)
Feb
12
comment Function argument to default under certain condition
Maybe you're right... I was wondering the same. I thought he tried to avoid defining two distinct DownValues. Anyway +1 because that would have been my answer too.
Feb
12
comment Function argument to default under certain condition
Or equivalently f[x_] := f[0];f[x_?NonNegative] := (x - 1)^2 + 5 but I think that's what the OP wants to avoid.