Python Scripting for Computational ScienceSpringer Science & Business Media, 5 de dez. de 2007 - 756 páginas Numerous readers of the second edition have noti?ed me about misprints and possible improvements of the text and the associated computer codes. The resulting modi?cations have been incorporated in this new edition and its accompanying software. The major change between the second and third editions, however, is caused by the new implementation of Numerical Python, now called numpy. The new numpy package encourages a slightly di?erent syntax compared to the old Numeric implementation, which was used in the previous editions. Since Numerical Python functionality appears in a lot of places in the book, there are hence a huge number of updates to the new suggested numpy syntax, especially in Chapters 4, 9, and 10. The second edition was based on Python version 2.3, while the third edition contains updates for version 2.5. Recent Python features, such as generator expressions (Chapter 8.9.4), Ctypes for interfacing shared libraries in C (Chapter 5.2.2), the with statement (Chapter 3.1.4), and the subprocess module for running external processes (Chapter 3.1.3) have been exempli?ed to make the reader aware of new tools. Chapter 4.4.4 is new and gives a taste of symbolic mathematics in Python. |
Conteúdo
1 | |
Getting Started with Python Scripting 27 | 26 |
2 | 31 |
Basic Python | 73 |
Numerical Computing in Python | 131 |
Combining Python with Fortran C and C++ | 189 |
Introduction to GUI Programming | 227 |
10 | 267 |
Fortran Programming with NumPy Arrays | 451 |
and C++ Programming with NumPy Arrays | 483 |
More Advanced GUI Programming | 529 |
Tools and Examples 605 | 604 |
A Setting up the Required Software Environment | 677 |
B Elements of Software Engineering | 689 |
Coding Standards | 702 |
Exercises | 734 |
Outras edições - Ver todos
Termos e frases comuns
application args Bourne shell button callback Cf2py CGI script Chapter code segment command command-line command-line arguments compiled computing contains copy create data structures def __init__(self defined dialog dictionary doc.html double dynamically typed languages elements environment variable example Exercise extension module extract F2PY filename float format Fortran func func1 Gnuplot graphical user interface grid gridloop2 header files implementation import integer interactive interface file iterator keyword arguments label loop Matlab menu method Numerical Python NumPy arrays object operations option oscillator output pack parameters plot PyObject Python code Python function Python interface Python module Python script reference regular expression ScientificPython SciPy simulation simviz1.py script slider source code specified stored string subroutine SWIG syntax text entry Tkinter tstop tuple Unix vector visualization widget window wrapper code write xcoor ycoor