[SciPy-User] Problem with scipy.special.chebyt
Neil Martinsen-Burrell
nmb at wartburg.edu
Thu Aug 27 21:33:11 EDT 2009
On 2009-08-27 17:54 , Kristian Hans Sandberg wrote:
> How do I do that?
Like this:
nmb at guttle[~]$ gdb python
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC
2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for
shared libraries .. done
(gdb) run
Starting program:
/Library/Frameworks/Python.framework/Versions/4.3.0/bin/python
Reading symbols for shared libraries +. done
Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe01010 in __dyld__dyld_start ()
(gdb) continue
Continuing.
Reading symbols for shared libraries . done
EPD_Py25 (4.3.0) -- http://www.enthought.com
Python 2.5.4 |EPD_Py25 4.3.0| (r254:67916, May 17 2009, 20:07:12)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Reading symbols for shared libraries .. done
>>> import scipy.special
Reading symbols for shared libraries . done
[more of the same]
>>> scipy.special.chebyt(12)(-0.5)
1.0000000000001745
Note that you have to "continue" to get to the python prompt.
-Neil
More information about the SciPy-User
mailing list