Many occasions, where I need to work numerically with functions.
For a variable strictly between 0 and 1, during the optimization, it could become 0.^0 or 0^0, which then become indeterminate.
Is there a way to define this 0^0=1?
What are the possible down side of defining such relationship?
Thanks!
f = Unevaluated[#1^#2] /. HoldPattern[0^0] :> 1 &how-to-tell-mathematica-to-replace-0-to-power-0-by-1 – Nasser Oct 26 '14 at 23:10