sebhofer
Reputation
1,888
Top tag
Next privilege 2,000 Rep.
 Aug 20 comment Algebraic expressions on pure functions Just curious, why are you making the postfix/prefix distinction? Aug 17 comment A problem about generating [] automatically Not an answer to the original question, but you can change keybindings as described here Aug 14 comment Avoid creation of OwnValues when inserting transformation rules into ExperimentalOptimizeExpression Also, I'm not sure why you are saying that you can't keep the assignments localised. Block[{a,b,c,d},ExperimentalOptimizeExpression[{list1/.Rule->Set,list2/.Rule-‌​>Set}][[1,2]]] of course does exactly that. Aug 14 comment Avoid creation of OwnValues when inserting transformation rules into ExperimentalOptimizeExpression Just another shot in the dark and much along the same lines as @DanielLichtblau's answer (but much less sophisticated)... Do you like something like this better? Solve[Join[list1, list2] /. Rule -> Equal, {a, b, c, d}] Aug 12 comment Elegant way to do series expansion around x+$\epsilon$ @Pickett Oh well, you convinced me... Aug 12 answered Elegant way to do series expansion around x+$\epsilon$ Aug 12 comment How can I write a function which takes another function of a variable and the variable itself as arguments and gives a list of critical points? As you can see in the answer below, you shouldn't add this condition. In fact you must not, otherwise your function would only evaluate for constant functions. BTW If you reply comments use something like @TobiasNash, this notifies the corresponding member. Aug 12 comment How can I write a function which takes another function of a variable and the variable itself as arguments and gives a list of critical points? Maybe you could add why the OP shouldn't use critpts[f_,x_]/;f'[x]==0 as he was trying to do? Aug 12 comment Elegant way to do series expansion around x+$\epsilon$ @Pickett If I'm honest, I wasn't (and still not am) really sure if this question would survive, as this is a pretty trivial use of Series Aug 12 comment Elegant way to do series expansion around x+$\epsilon$ Ups, I just realized this should have been Series[p[x+ex,y-ey,t],{ex,0,1},{ey,0,1}] or just Series[p[x+e,y-e,t],{e,0,1}] Aug 12 comment How can I write a function which takes another function of a variable and the variable itself as arguments and gives a list of critical points? Because if you mean points where the derivative is 0, then your condition doesn't make a lot of sense... Aug 12 comment How can I write a function which takes another function of a variable and the variable itself as arguments and gives a list of critical points? Could you pls explain what you mean by critical points? Aug 12 comment Elegant way to do series expansion around x+$\epsilon$ What's wrong with Series[p[x+e,y-e,t],{e,0,1},{e,0,1}] or Series[p[xx,yy,t],{xx,x,1},{yy,y,1}]? Aug 12 comment How can I write a function which takes another function of a variable and the variable itself as arguments and gives a list of critical points? Take a look at Solve Aug 8 comment Strange behaviour of UpSet @TeakeNutma Lol, sorry for that :) Aug 8 comment Strange behaviour of UpSet I don't see this under V8 btw. Aug 8 comment Strange behaviour of UpSet Indeed, I can reproduce this under V10 on Linux Aug 6 comment How can I get the number of slots in Function? That makes sense. Don't know why I didn't think of that. Sorry. I only realized that *## doesn't work (and -## neither for that matter). Thanks for the link, I wasn't aware of that post. I looked for "monad" but came up empty handed. Aug 6 comment How can I get the number of slots in Function? Mr.Wizard, can you explain how the evaluation of (3) works? Why is +` special in this respect and are there other operators which work in the same way? Aug 6 revised What's the difference between Inactive and HoldForm? added 429 characters in body