591 reputation
313
bio website
location Naples, Italy
age 26
visits member for 2 years, 4 months
seen 22 hours ago

Jul
1
accepted Can RecurrenceTable make use of CompiledFunction?
Jul
1
comment Can RecurrenceTable make use of CompiledFunction?
However, on my laptop this solution gives a Timing of ~14 s, while the uncompiled version runs for ~2.5 s, making it actually worse, performance-wise! :O
Jul
1
comment Can RecurrenceTable make use of CompiledFunction?
@OleksandrR. It works. Why don't you state that as an answer? It is precisely what I've been looking for! :O
Jul
1
asked Can RecurrenceTable make use of CompiledFunction?
Jul
1
accepted Avoiding MainEvaluate in a CompiledFunction to fetch global variables
Jun
29
comment Avoiding MainEvaluate in a CompiledFunction to fetch global variables
I know, thanks. I usually use longer names for variables, but just this time I gave in to laziness.
Jun
29
comment Avoiding MainEvaluate in a CompiledFunction to fetch global variables
Works as intended! Thanks!
Jun
29
asked Avoiding MainEvaluate in a CompiledFunction to fetch global variables
Jun
21
comment Are there guidelines for avoiding the unpacking of a packed array?
@Yu-SungChang Where can I find further information about your statement? E.g., does FoldList internally call Dimensions or does it truly unpack packed arrays? - Does this warrant its own question?
Jun
20
comment Tridiagonal symmetric matrix eigenvalue using bisection
@ruebenko, I hadn't thought about that! Thanks! What's surprising, however, is that numeig unpacks! And it seems it's because FoldList unpacks! This does not look nice.
Jun
20
asked Tridiagonal symmetric matrix eigenvalue using bisection
Jun
16
awarded  Nice Question
Jun
15
awarded  Analytical
Jun
15
awarded  Scholar
Jun
15
accepted What's the most “functional” way to do Cholesky decomposition?
Jun
14
awarded  Teacher
Jun
13
answered Checking if the roots of a function are real
Jun
11
awarded  Supporter
Jun
11
comment What's the most “functional” way to do Cholesky decomposition?
@Mr.Wizard Well, I've been using Mathematica for little more than a year, so I guess it depends on your definition of "beginning user". :D Anyway, I probably will not test it on matrices larger than 20 x 20, so I realize my concern might be moot. Thank you!
Jun
11
comment What's the most “functional” way to do Cholesky decomposition?
It indeed looks better, but wouldn't Append make it actually run slower than the procedural approach?