Mark McClure
Reputation
25,044
200/100 score
 Apr 23 comment How to speed up the plot of NIntegrate? @luyuwuli It should work whenever NDSolve works. My guess is that it is not quite a broadly applicable as the integrate technique, but it should be nearly so. Apr 22 comment Solving Intervals Here's a very similar question: mathematica.stackexchange.com/questions/11345/… Apr 22 comment Why the difference? Pretty much exactly the opposite of what I did - very cool! Apr 21 comment How to specify VertexCoordinates as geographic coordinates of cities? Are you saying that you would like to plot the graph laid out in such a way that the vertices are placed according to their geographic location? Apr 18 comment How do I evaluate a double or triple integral over a region? @Melab Well, I'm not sure which input you're talking about. In the first input, using Boole, the bounds simply need to be large enough to contain the region; in fact, $-\inf$ to $\inf$ will work. In the second input, again, you need to understand the coordinate system. Apr 14 comment Series expansion in terms of Hermite polynomials Probably the best answer. It uses the orthogonality and speeds things up using the closed form. +1 Apr 14 comment Series expansion in terms of Hermite polynomials Ahh... Algebra. I accidentally studied analysis in graduate school. :) Mar 29 comment Strange behaviour of PolyLog Function @Rainer Again, I'm not an expert on PolyLogs specifically, but this is a common issue in special function evaluation. I certainly wouldn't trust the result of N[Sin[E^500]], I would be more comfortable with N[Sin[E^500], 20], after increasing \$MaxExtraPrecision to 400 or so. Mar 29 comment List reversion inspired by Python This works: Range[10][[10 ;; 1 ;; -1]]. It's not an idiom I've used, but found it pretty easily in the documentation. Mar 29 comment List reversion inspired by Python Is there a reason that you don't want to use the Reverse command? Mar 28 comment Matrix Determinant @belisarius The OP typed in exactly like that. All I did was add some leading spaces so that the input would be formatted on the webpage here, as opposed to all run together the way it was. Like everyone, I don't know if that format is correct or not; only the OP can say. Mar 28 comment Matrix Determinant I edited your "fortran output" just a bit further, to make sure it was formatted properly, rather than wrapped. Are you saying that you have a text file in exactly that form, with possibly more rows for a larger matrix? Mar 27 comment Create triangular mesh from random list of points @Szabolcs Hey, I upvoted! I was joking when I said I wasn't sure if I liked it. Mar 27 comment Combining two notebooks Can you be more specific about the nature of your"variables and functions"? How huge are we talking? You might be able to place them in a .m file and read that in. Or you might be able to place them in an initialization cell in a separate (collapsed) section in the same notebook. A little more information might help. Mar 27 comment Create triangular mesh from random list of points @Szabolcs It's just that ListDensityPlot is about the last thing I would've thought of. Back in the day, this returned a DensityGraphics object. I guess it now returns a GraphicsComplex with polygons. I use the GraphicsMesh` stuff all the time, though. Mar 27 comment Create triangular mesh from random list of points Hmm... I can't decide whether I like this or not. I guess I better upvote, just in case. Mar 27 comment Create triangular mesh from random list of points @ThomasJebbSturges No problem! Mar 27 comment Create triangular mesh from random list of points @ThomasJebbSturges Does the edit help? Mar 27 comment Create triangular mesh from random list of points You now have two upvotes and with them, the vaunted power to post images! Please post responsibly. :) Mar 26 comment Generating a Sierpinski carpet @whuber Almost - have you seen the packages on my Mathematica page: facstaff.unca.edu/mcmcclur/Mathematica.html These include not just image generation code but code to compute Laplacians on self-similar sets and code to compute the dimensions of self-similar sets of finite type, where the open set condition is not satisfied.