From help-octave-request at bevo dot che dot wisc dot edu Thu Nov 13 07:20:00 2003 Subject: RE: 0^0 = ? From: "Randy Gober" To: "'Cong'" , Date: Thu, 13 Nov 2003 07:18:01 -0600 In octave 2.1.50 --> >> 0^0 ans = 1 >> So it works they way you want. This however makes me nervous because Lim x^0 = 1 X->0 But Lim 0^x = 0 X-> 0 Therefore I would prefer 0^0 to return "NaN" --Randy -----Original Message----- From: Cong [mailto:vo dot chi dot cong-linux at is dot titech dot ac dot jp] Sent: Wednesday, November 12, 2003 7:33 PM To: help-octave at gnu dot org Subject: 0^0 = ? I knows that in Matlab 0^0 (0 to the power of 0) may be 0 or 1 and it is not indefinite. How about 0^0 in Octave? It is convenient in my program if 0^0 = 1. Cong ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------