|
Re: nan, inf?: msg#00004python.numeric.general
Thanks. I thought importing all modules in numarray package also imports nan and inf because the doc string of ieeespecial module has no mention about "from numarray.ieeespecial import *" >>> from numarray import * >>> inf # the repr() of inf may vary from platform to platform inf >>> nan # the repr() of nan may vary from platform to platform nan Daehyok On Mon, 2004-08-02 at 00:59, Stephen Walton wrote: > On Sun, 2004-08-01 at 21:21, Shin wrote: > > > Following the document in ieeespacial.py, > > I tried: > > > > >>> from numarray import * > > >>> nan > > > > [swalton@localhost ~]$ python > Python 2.2.3 (#1, Jun 16 2003, 13:21:11) > [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from numarray import * > >>> from numarray.ieeespecial import * > >>> nan > nan > >>> inf > inf -- Daehyok Shin (Peter) Geography Department Univ. of North Carolina-Chapel Hill ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Numeric bug in array2str() for rank >1 arrays when using MA?: 00004, Fernando Perez |
|---|---|
| Next by Date: | segmentation fault: 00004, Shin |
| Previous by Thread: | Re: nan, inf?i: 00004, Stephen Walton |
| Next by Thread: | Numeric bug in array2str() for rank >1 arrays when using MA?: 00004, Fernando Perez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |