27,260 reputation
658129
bio website tpfto.wordpress.com
location
age
visits member for 1 year, 4 months
seen 48 secs ago
stats profile views 3,201

Avatar made with Mathematica 8:
Gravatar

Blocky depiction of Hilbert curve, styled with Perlin noise.


E-mail (flipped ROT13): zqd˙ʎʌuzʇ@ʇɐʌǝɥʇʌssqɹǝɥɟuɹʎɔ
Any code I've posted here I place under the WTFPL.


Jun
25
comment From a list of dates get a list of the last date available in a each month
Somehow I had interpreted the question as asking how to determine, in a list of dates split by month, the latest date for each month. But I guess your interpretation's the one.
Jun
25
comment From a list of dates get a list of the last date available in a each month
You know, you could have done Last /@ (* stuff *) instead of Last[#] & /@ (* stuff *)... otherwise, your method looks perfectly straightforward.
Jun
25
comment Can I use Table without the appropriate bounds?
@Max: we might be more helpful if you tell us your actual problem, that is, the problem that requires this construction you speak of.
Jun
25
comment Calculating a limit with a result that is discontinuous in the parameters
It's a bit too specific (that is, unless I see multiple Limit[]-related questions cropping up, I don't see the need); at the moment, calculus-and-analysis is sufficient to cover your question.
Jun
25
comment Calculating a limit with a result that is discontinuous in the parameters
Yes, that's why I only posted a comment as opposed to an answer. Note that both HeavisideTheta[] and UnitStep[] have a different definition from your $\theta(u)$; your limit evaluates to $\dfrac12$ for $\varepsilon=0$, for instance.
Jun
25
revised Calculating a limit with a result that is discontinuous in the parameters
edited tags
Jun
25
comment Calculating a limit with a result that is discontinuous in the parameters
The thing here is that Mathematica always thinks that variables take on complex values, unless told otherwise (via, say, Assuming[] or the Assumptions option)...
Jun
25
revised Faster alternatives for DayOfWeek
added 644 characters in body
Jun
25
revised Evaluate continued fraction
fixed algorithm name
Jun
25
comment How do I slice an image of size “width × height” in n² pieces of size “width / n × height / n”?
@bel: more precisely, I made use of her picture already as an answer to another image-related question...
Jun
25
comment How do I slice an image of size “width × height” in n² pieces of size “width / n × height / n”?
@bel: Well, I could've used Lena, but I'm told she was tired at the time...
Jun
24
revised Evaluate continued fraction
added 228 characters in body
Jun
24
answered How do I slice an image of size “width × height” in n² pieces of size “width / n × height / n”?
Jun
24
comment Sorting a list and finding an array of indices that sorts the list
@Rojo: that's a good point with respect to saving sorting effort. :)
Jun
24
revised How do I slice an image of size “width × height” in n² pieces of size “width / n × height / n”?
deleted 7 characters in body; edited title
Jun
24
comment Sorting a list and finding an array of indices that sorts the list
@Heike: I guess there is such a thing as being in the right place at the right time... :)
Jun
24
answered Sorting a list and finding an array of indices that sorts the list
Jun
24
awarded  Nice Answer
Jun
24
comment Creating a Sierpinski gasket with the missing triangles filled in
@R.M: I didn't realize until now that the third argument of Scale[] was crucial here so that we don't have to futz with the PlotRange...
Jun
24
revised Creating a Sierpinski gasket with the missing triangles filled in
deleted 55 characters in body