Reputation
165,456
Next tag badge:
428/400 score
56/80 answers
Badges
20 323 714
Newest
 Good Answer
Impact
~2.1m people reached

4h
revised Brackets around each item in matrix
add Catenate to benchmark
20h
comment Brackets around each item in matrix
@jjc385 I rewrote the benchmark and got a different result. I hope I got it right this time but I am not certain I am still thinking clearly. Please let me know if you notice any stupid mistakes.
21h
revised Brackets around each item in matrix
deleted 413 characters in body
21h
awarded  Good Answer
21h
comment Brackets around each item in matrix
@jjc385 Sorry, I was just being lazy. Actually really lazy as if the code I copied is actually what I ran the second test is a total mess. Earlier I had a comment "where's my coffee" -- I guess I really needed it!
1d
comment Brackets around each item in matrix
+1 for tersest code :^)
1d
answered Brackets around each item in matrix
1d
comment Brackets around each item in matrix
Related: (20180)
1d
comment Why is Random faster than RandomReal?
+1 for writing up the points made in the comments as a proper answer. A caveats however: Table compiles and is much faster than Do which is what @wolfies actually cares about (single draws). Also Method -> "Legacy" would probably be a better comparison.
1d
awarded  Necromancer
1d
comment Plotting function with unique symbols
@MichaelE2 Yes, those are good, perhaps better, originals. And I found another related question and added it to my comment above. This question seems headed toward closure as "in the documentation" at this point; hopefully the links are useful to Markus and others.
1d
revised LogPlot axes labels destroyed when working in high precision
edited body
1d
awarded  Nice Answer
1d
comment Partitioning a list when the cumulative sum exceeds 1
@Leonid Wow, that is closely related, and I seem to have forgotten it despite voting for your answer. If I had remembered that question when I first saw this one I would probably have closed it without even trying to answer. Now however my Split method would be out of place there which makes it difficult for me to be happy about a close. So I'm not sure what to do or which hat to wear (moderator or user).
1d
comment Plotting function with unique symbols
Related, possible duplicate: (7756), (20718), (46751)
1d
comment Manipulating slots in a pure function
Related: (25266)
1d
revised Unexpected behavior from Indexed
bump for attention
1d
revised Partitioning a list when the cumulative sum exceeds 1
bug fix
1d
comment Partitioning a list when the cumulative sum exceeds 1
I quickly realized that Internal`PartitionRagged was a bottleneck. I then realized the foolishness of my earlier comment about "a simple procedural loop in Compile" when I tried to get around it, for the reason you mention.
1d
revised I want to compute the derivative of Black and Scholes option
appended answer 105842 as supplemental