1,390 reputation
516
bio website quantum.at
location Vienna, Austria
age
visits member for 2 years, 9 months
seen 9 hours ago

PhD student in Theoretical Physics

Research interests include Quantum Optomechanics and Quantum Optics


Sep
17
answered Is there a way to get user input when running a script on a Linux terminal?
Sep
12
revised Using Goto and Label in compiled function?
formated code
Sep
12
suggested suggested edit on Using Goto and Label in compiled function?
Sep
11
awarded  Caucus
Sep
10
comment Why don't I get numeric values from this Solve?
+1 for the cool plot!!
Aug
30
comment Help with Permutations
@paolo If memory serves me right, then the number of permutations you are trying to produce is Binomial[10000,2] which is roughly 5*10^7, not counting ordering. It's not very suprising that Mathematica is not happy finding all of them. Just crashing the Kernel is kindof rude though...
Aug
25
comment Thread a function over a list and with a non-atomic 2nd parameter?
@alancalvitti It does so if f is Listable, otherwise it returns the desired result.
Aug
25
comment Thread a function over a list and with a non-atomic 2nd parameter?
If I understand correctly the OP wants a function with Listable which does exactly this without using Thread or such... That's what I gather from the comment above. Not totally sure though.
Aug
25
comment Thread a function over a list and with a non-atomic 2nd parameter?
So you want the described functionality but without using any additional functions like Thread...?
Aug
25
comment Thread a function over a list and with a non-atomic 2nd parameter?
Nicer than my suggestion (actually the correct way to do it) but I don't think it will satisfy the OP
Aug
25
comment Thread a function over a list and with a non-atomic 2nd parameter?
I'm really not quite sure what you are trying to achieve but doesn't ReleaseHold@Thread[f[{a, b, c}, Hold@M]] do what you want?
Aug
20
comment Counting negative values in list
I get the same timings on my machine. Did you notice that it turns around for shorter data? (Try 100 or so.)
Aug
7
comment Build recursion in parallel?
Indeed. I can remember that I once ran into that problem but I couldn't find a solution to distribute DownValues from the subkernels. Maybe you can formulate your question more generally (with a different title?), so you get more attention!
Aug
7
comment Build recursion in parallel?
Does SetSharedFunction[f] do what you want?
Aug
7
comment Exporting string to MAT file
Thanks for digging that up! It didn't think of looking up the MAT specification for the different versions, I just saw that it is possible to store strings with my version of Matlab.
Aug
7
comment Solve matrix equation A*X=X*B using LeastSquares
I don't understand what you are trying to do. From the wikipedia article you cited above: "the Sylvester equation has a unique solution if and only if A and -B have no common eigenvalues". Therefore, for C=0 and if this condition is true, you will always get X=0. Is the condition fulfiled for your matrices A,B?
Aug
3
comment Exporting string to MAT file
@Mr.Wizard Unfortunately I can't. It's a binary fileformat used by Matlab. The Mathematica doc says that the "Data" element can store "numerical or textual data given as a multidimensional array". But I don't know how.
Jul
31
revised Exporting string to MAT file
added 116 characters in body
Jul
31
asked Exporting string to MAT file
Jul
26
comment Efficient Langevin Equation Solver
@acl is there a prize...? :-)