The primary purpose of this book is to help scientists and engineers work ing intensively with computers to become more productive, have more fun, and increase the reliability of their investigations. Scripting ...
详细信息
ISBN:
(数字)9783662054505
The primary purpose of this book is to help scientists and engineers work ing intensively with computers to become more productive, have more fun, and increase the reliability of their investigations. Scripting in the Python programming language can be a key tool for reaching these goals [27,29]. The term scripting means different things to different people. By scripting I mean developing programs of an administering nature, mostly to organize your work, using languages where the abstraction level is higher and program ming is more convenient than in Fortran, C, C++, or Java. Perl, Python, Ruby, Scheme, and Tel are examples of languages supporting such high-level programming or scripting. To some extent Matlab and similar scientific com puting environments also fall into this category, but these environments are mainly used for computing and visualization with built-in tools, while script ing aims at gluing a range of different tools for computing, visualization, data analysis, file/directory management, user interfaces, and Internet communi cation. So, although Matlab is perhaps the scripting language of choiee in computationalscience today, my use of the term scripting goes beyond typi cal Matlab scripts. Python stands out as the language of choice for scripting in computationalscience because of its very elean syntax, rieh modulariza tion features, good support for numerical computing, and rapidly growing popularity. What Scripting is About.
Topics are introduced with goals, literature references and links to public software. There are descriptions of the current algorithms in GSLIB and MATLAB.
ISBN:
(数字)9783319691107
ISBN:
(纸本)9783319691091;9783030098728
Topics are introduced with goals, literature references and links to public software. There are descriptions of the current algorithms in GSLIB and MATLAB.
Theaimofthisbookistoteachcomputerprogrammingusingexamples from mathematics and the natural sciences. We have chosen to use the Python programming language because it combines remarkable power with very clean, simple, ...
详细信息
ISBN:
(数字)9783642024757
Theaimofthisbookistoteachcomputerprogrammingusingexamples from mathematics and the natural sciences. We have chosen to use the Python programming language because it combines remarkable power with very clean, simple, and compact syntax. Python is easy to learn and very well suited for an introduction to computer programming. Python is also quite similar to Matlab and a good language for doing mathematical computing. It is easy to combine Python with compiled languages, like Fortran, C, and C++, which are widely used languages forscienti?*** is o?ered by a special version of Python called Jython. The examples in this book integrate programming with appli- tions to mathematics, physics, biology, and ?nance. The reader is - pected to have knowledge of basic one-variable calculus as taught in mathematics-intensive programs in high schools. It is certainly an - vantage to take a university calculus course in parallel, preferably c- taining both classical and numerical aspects of calculus. Although not strictly required, a background in high school physics makes many of the examples more meaningful.
The second edition features new material, reorganization of text, improved examples and software tools, updated information, and correction of errors. This is mainly the result of numerous eager readers around the wor...
详细信息
ISBN:
(数字)9783540312697
The second edition features new material, reorganization of text, improved examples and software tools, updated information, and correction of errors. This is mainly the result of numerous eager readers around the world who have detected misprints, tested program examples, and suggested alternative ways of doing things. I am greatful to everyone who has sent emails and contributed with improvements. The most important changes in the second edition are brie?y listed below. Already in the introductory examples in Chapter 2 the reader now gets a glimpse of Numerical Python arrays, interactive computing with the IPython shell, debugging scripts with the aid of IPython and Pdb, and turning “?at” scripts into reusable modules (Chapters 2. 2. 5, 2. 2. 6, and 2. 5. 3 are added). Several parts of Chapter 4 on numerical computing have been extended (- pecially Chapters 4. 3. 5, 4. 3. 7, 4. 3. 8, and 4. 4). Many smaller changes have been implemented in Chapter 8; the larger ones concern exemplifying Tar archives instead of ZIP archives in Chapter 8. 3. 4, rewriting of the material on generators in Chapter 8. 9. 4, and an example in in Chapter 8. 6. 13 on adding new methods to a class without touching the original source code and without changing the class name. Revised and additional tips on op- mizing Python code have been included in Chapter 8. 10. 3, while the new Chapter 8. 10.
暂无评论