Reputation
7,032
Next privilege 10,000 Rep.
Access moderator tools
Badges
14 49
Newest
 Enlightened
Impact
~57k people reached

4h
comment Reals in Range; unexpected result for non-standard Precision
Thanks for your answer. Subdivide sounds great :). I like your analysis, but I think the fact that Order gives -1 is not what decides this. I believe this because Order[dd + kk*N[delX, 200], dd + kk*delX] gives -1, but Length@Range[dd, dd + kk*delX, delX] == kk + 1
6h
asked Reals in Range; unexpected result for non-standard Precision
May
20
comment What Mathematica features and idioms have $n^2$ complexity or worse
Would you mind if we change this question to something along the lines of: "What are the complexities of these code snippets?" I think this has to be answered first before moving on to composing lists.
May
14
revised CompiledFunctionCall vs. LibraryFunction
Accounted for the comment by Simon Woods
May
12
comment Exporting a compiled function for later use
@blochwave You do not like the blockquote environment (yellow background thingy) for output I see. I suppose the question is closer to the original after your edit.
May
12
revised Exporting a compiled function for later use
Big cleanup
May
12
awarded  Enlightened
May
12
comment In 10.1.0 BenchmarkPlot doesn't work?
This also no longer works on 10.1.0 for OSX.
May
11
awarded  Necromancer
May
11
awarded  Nice Answer
May
11
revised CompiledFunctionCall vs. LibraryFunction
Corrected for Marius's observations
May
11
revised How do you programatically load data into symbols?
Tidyer function
May
11
answered How do you programatically load data into symbols?
May
11
comment CompiledFunctionCall vs. LibraryFunction
@MariusLadegårdMeyer good example! I can only guess why it it uses a CompiledFunctionCall here. Perhaps the compiler doesn't care about the additional overhead, because the body of the compiled function is relatively large compared to this overhead. Or the compiler somehow cannot figure out it can use the shortcut. I suppose I should edit my answer slightly, thank you.
May
10
accepted Dynamics and Block interfere
May
10
comment Dynamics and Block interfere
Ah, I see I did not fully get your meaning concerning your last example. Relying on updates to symbols to evaluate dynamic expressions at appropriate times is then also a problem, indeed! Nice find :).
May
10
comment Dynamics and Block interfere
I agree that Block (/dynamic scoping) has limitations and that Module is an excellent scoping construct to have. Regardless, I think Block is also excellent and has many good uses. I think we should not compare the example in your last comment and the examples in this Q&A too much. My strategy for using scoping constructs is basically: "If the input of a function can not contain arbitrary (unevaluated) symbols, (it is safe to) use Block". Block has some advantages, one of which is easier debugging if you cause an interrupt inside a Block, as opposed to Module.
May
10
comment Dynamics and Block interfere
Also by "marking a message as temporary" I simply mean putting the text "(temporary message)" at the end of the message. The website does not have any support for temporary messages or anything like that. It is just a reminder for myself and for others that I mean to delete the message :).
May
10
comment Dynamics and Block interfere
I agree, again, that that is probably safe. I suppose the question is a bit vague. I also consider the interference with Table to be contained in "this kind of interference", but that was not very clear. I think your comment is very on topic so no need to delete it.
May
10
comment Dynamics and Block interfere
I think this would be a good summary and a direct answer to the question. I will probably accept this answer either way.