22,075 reputation
144103
bio website
location Argentina
age
visits member for 1 year, 4 months
seen 59 mins ago
stats profile views 1,169

3h
revised Notebook[] vs. DocumentNotebook[]; display a Notebook[] inline, like a DocumentNotebook[]
deleted 23 characters in body
3h
revised Notebook[] vs. DocumentNotebook[]; display a Notebook[] inline, like a DocumentNotebook[]
added 76 characters in body
19h
comment Faster way to perform SameQ[Reduce[…], Reduce[…]]
After 1945 seconds (half hour), this gave me True : Resolve[ ForAll[{a, b, c, d, e, f, g, h}, BooleanMinimize /@ (p1 \[Equivalent] p2)], Reals]
1d
answered Cell brackets on left side?
1d
comment Question regarding function definition overloading / argument passing test
Just check the precedence of ?. Use extra brackets. g[x_Real ?(TrueQ[# < 1] &)]
2d
comment Notebook[] vs. DocumentNotebook[]; display a Notebook[] inline, like a DocumentNotebook[]
@Silvia, but that is not a proper Notebook[...] expression. Try to NotebookPut that and you'll get errors too
May
20
comment Different behaviours of Default Argument
Optional[...] is sorted before Pattern[...], but after HoldPattern[...]
May
20
comment Different behaviours of Default Argument
@AlexeyPopkov I'm not sure it is possible other than blocking the attribute. Probably you shouldn't use Orderless on symbols where you care about the ordering. You could, but I don't think it's a good habit, try to make the "first thing tried" be the one you want. In this case you could do it by using {f[a], f[a + b]} /. HoldPattern[f[HoldPattern[x_] + y_.]] :> p[x, y]
May
20
comment Different behaviours of Default Argument
Mr Wizard, you used this property of Orderless in a nice answer of yours, that I think I bountied.
May
20
comment How can I write a Do loop that iterates over N iterators when N is not known a-priori?
Haha, I just came back home, was about to go to bed, saw the other question, commented, and when I was about to lie down, it was stronger than me to come and answer. Then I saw this one, started to type Do[ and your answer appeared
May
20
comment How can I write a Do loop that iterates over N iterators when N is not known a-priori?
Faster than me ;) +1
May
20
answered Notebook[] vs. DocumentNotebook[]; display a Notebook[] inline, like a DocumentNotebook[]
May
20
comment Notebook[] vs. DocumentNotebook[]; display a Notebook[] inline, like a DocumentNotebook[]
I know this doesn't answer your question, but I don't know an answer off the top of my head and I gotta go sleep. But try cell = TextCell[Row[{"Function ", ExpressionCell[TraditionalForm@Defer@f[x]]}], "Subsection"]
May
19
comment Finding areas of beings in microscopic image
Thanks a lot nikie for this answer. It helps, and most importantly is very instructive as all of your image processing answers are. I am still struggling to detect the borders of the cells and their areas, but I'm enjoying testing some ideas that more or less work.
May
18
awarded  Good Question
May
18
awarded  Benefactor
May
17
revised Applying a function with the HoldAll attribute inside NestList
added 25 characters in body
May
17
comment Applying a function with the HoldAll attribute inside NestList
I just realised the OP asked for NestList and not Nest. I would delete this answer but perhaps it's clarifying for someone
May
17
answered Applying a function with the HoldAll attribute inside NestList
May
17
comment How do I obtain the correct double limit?
By the way, Mathematica's natural language interpretation translates "limit (sin(x^2)+sin(y^2))/(x-y) as x->0 and y->0", to Limit[(Sin[x^2] + Sin[y^2])/(x - y), {x -> 0, y -> 0}], which of course is something different because Limit is Listable. Just saying