59,611 reputation
5148344
bio website
location ND
age 31
visits member for 2 years, 9 months
seen 4 hours ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


Sep
2
revised How to extract input part of a notebook?
added 122 characters in body
Sep
2
answered How to extract input part of a notebook?
Sep
2
comment Returning multiple results from a LibraryLink function
Cross posted on W Community, mentioning this per the guidelines.
Sep
2
asked Returning multiple results from a LibraryLink function
Sep
2
revised MATLAB To Mathematica: How to implement imshow()
added 99 characters in body
Sep
2
comment How to include Mathematica animation in a PowerPoint presentation?
Is this on Windows or Mac?
Aug
31
revised MATLAB To Mathematica: How to implement imshow()
added 138 characters in body
Aug
31
comment MATLAB To Mathematica: How to implement imshow()
If you clarify your question a bit or describe your application, I'll update (or remove) my answer. I'm not sure it answers as it is.
Aug
31
reviewed Edit suggested edit on How to plot logarithmic scales
Aug
31
revised How to plot logarithmic scales
Reformatted, new header
Aug
31
answered MATLAB To Mathematica: How to implement imshow()
Aug
31
comment MATLAB To Mathematica: How to implement imshow()
The equivalent of imshow is Image, not DensityPlot. DensityPlot calculates a function, Image constructs an image form a matrix.
Aug
30
asked What was added to the LibraryLink API in version 9?
Aug
30
comment Pick elements of largest absolute value
@Mr.Wizard I see it as a mental abstraction that helps me arrive at the solution with less effort/thinking and allows me to concentrate on the problem at hand instead of the implementation of a detail. If you put any effort into solving this particular problem, then you'll necessarily arrive at a faster/better solution, such as yours (which is pretty much the same as this one except with better use of Abs).
Aug
30
awarded  Nice Answer
Aug
30
comment Pick elements of largest absolute value
@Nasser Simon's seems to win in all situations, regardless of the dimensions of the input.
Aug
30
revised Pick elements of largest absolute value
deleted 15 characters in body
Aug
30
comment Pick elements of largest absolute value
Thanks @Nasser! So it turns out that mine is the slowest in your benchmark. But it's good to point out that the timings (and the ranking of methods) depends on the dimensions of the input---small list length vs number of small lists. If I change it to {5000, 200} from {50000, 20}, the results change considerably.
Aug
30
answered Pick elements of largest absolute value
Aug
29
comment How can I draw a curve through as set of xyz points?
If your points are not already ordered, FindCurvePath is useful.