[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: 0^0 = ?
From: |
Randy Gober |
Subject: |
RE: 0^0 = ? |
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:address@hidden
Sent: Wednesday, November 12, 2003 7:33 PM
To: address@hidden
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
-------------------------------------------------------------
- 0^0 = ?, Cong, 2003/11/12
- RE: 0^0 = ?,
Randy Gober <=
- Re: 0^0 = ?, Gavin Jin, 2003/11/14
- RE: 0^0 = ?, j . e . drews, 2003/11/13
- RE: 0^0 = ?, John W. Eaton, 2003/11/13
- RE: 0^0 = ?, Mike Miller, 2003/11/13
- RE: 0^0 = ?, Randy Gober, 2003/11/14
- RE: 0^0 = ?, Mike Miller, 2003/11/14
- RE: 0^0 = ?, Randy Gober, 2003/11/14
- RE: 0^0 = ?, Mike Miller, 2003/11/14
- RE: 0^0 = ?, Randy Gober, 2003/11/13
- RE: 0^0 = ?, Boud Roukema, 2003/11/14