MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: 0^0=1 (?)


Sounds like a really bad idea...

But if you must:

   Unprotect[Power]
   Power[0, 0] = 1

(If you look at FullForm[a^b] you'll see it's an abbreviation of 
Power[a, b], so it's the Power function you need to redefine.)

underscore wrote:

> Hi,
> 
> I'd like to define 0^0=1 in Mathematica such that it doesn't return
> Indeterminate when this occurs.
> 
> Thanks
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Next by Date: Re: 0^0=1 (?)
  • Next by thread: Re: 0^0=1 (?)