5,704 reputation
1141
bio website
location
age
visits member for 2 years, 2 months
seen Apr 11 at 7:41

Dec
13
comment Plotting Chebyshev's theta function $\vartheta(x)$
You might need some more PlotPoints in there to get rid of that wee glitch in the middle.
Nov
22
comment Insert $+$, $-$, $\times$, $/$, $($, $)$ into $123456789$ to make it equal to $100$
By my back of the envelope calculation, you'd be looking at over 600 million combinations. This would take about 10 hours to run on my computer. Maybe I should try 1,2,3,4 = 10 or something.
Nov
20
comment Time approximation of decrypting RSA algorithm
Are you sure it's an exponential function? Under the possible issues for FactorInteger is the comment "Timings can increase rapidly and unpredictably with the size of the input".
Nov
20
comment Time approximation of decrypting RSA algorithm
You're hoping to extrapolate data in the range of 0 - 100 seconds up to 3 billion seconds? Sounds ambitious... Do you have a theoretical basis for the model you are fitting?
Nov
19
comment Doing an Interpolation through a list of lists into a single function
You just need to tell it what to do with the second argument: Table[interpFunct[k, x_] = Interpolation[list[[k]]][x], {k, 10}]
Nov
14
comment How to find all roots and maxima and minima and graph them
You could also use Epilog to plot the points.
Nov
14
comment An elegant way to plot a numeric function that returns a list, and have each element in a different color
@acl Wait... We're actually expected to read the questions now?
Nov
14
comment An elegant way to plot a numeric function that returns a list, and have each element in a different color
How about Plot[Evaluate[f[x]], ...]?
Nov
14
comment Antialiasing of horizontal lines
This is quite nifty. My new favourite rule is: Line[n : ({{a_, _}, {a_, _}} | {{_, b_}, {_, b_}})] -> {Antialiasing -> False, Line[n]}. The next challenge is to make it work with arrows.
Nov
11
comment Incrementing a number where each digit has a different base
To aid in searches, I'd like to note that a number with different bases for each digit is commonly known as a mixed radix number.
Nov
9
comment Constructing election cartograms?
If you follow your links you find a paper on how they did it.
Nov
9
comment Table not working with Plot
ipar[x_?NumberQ] := ...
Nov
8
comment Is there a way to do conditional matrix loop using 'continue'
@sebastiancheung The {2} is to map on to exactly the elements that are 2 levels deep. Just what you need for a 2D matrix. I was a little hazy on exactly what you required, but confident it could be adapted. You can of course modify the index #2 before you use it.
Oct
31
comment Detecting grid lines in a raster image
It would be quite nice if all the images could be zipped up and put on a torrent somewhere. How many voting tables are there?
Oct
31
comment Detecting grid lines in a raster image
Is there an easy way to download a whole bunch of original images for testing purposes?
Oct
28
comment Dual complex integral over implicit path using contour plot
If you take the Evaluate out of your definition of NContourIntegrate you get the right answer (albeit slowly). Someone wiser than me will have to explain why though. For speed during experimentation, may I suggest you interpolate a triangle as your contour.
Oct
18
comment Making fractals with Mathematica
They were done with Abs[FractionalPart[a]] < 0.5], at high resolution, then gamma corrected and scaled down. I highly recommend Ajasja's compiled version unless you have a lot of time on your hands.
Oct
18
comment Making fractals with Mathematica
@image_doctor I've added some more images, and 8.3% more right brackets!
Oct
16
comment Multi-column table layout the right way
@Mr.Wizard Thanks. It appears it is as easy as I thought it should have been. But if you put one extraneous set of braces in, you can get lost and confused.
Oct
16
comment Using 'Reduce' to solve a set of inequalities, specified by a list
Do you just need something like And @@ Thread[lhs <= rhs]?