Python(r) is a free open-source language and environment that has tremendous potential in the scientific computing domain. Computing with Python presents the programming language in tight connection with mathematical applications. The approach of the book is concept based rather than a systematic in
Computing with Python: An Introduction to Python for Science and Engineering
β Scribed by Feuhrer, Claus
- Publisher
- Pearson
- Year
- 2013
- Tongue
- English
- Leaves
- 223
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Python(r) is a free open-source language and environment that has tremendous potential in the scientific computing domain. Computing with Python presents the programming language in tight connection with mathematical applications. The approach of the book is concept based rather than a systematic introduction to the language. It is written for a mathematical readership and is aimed at students with a mathematical background.
β¦ Table of Contents
Cover......Page 1
Contents......Page 8
Preface......Page 10
I.1 Python vs Other Languages......Page 12
I.3 Installation and Configuration Instructions......Page 14
I.4 Executing Scripts......Page 15
II.1 Program and Program Flow......Page 17
II.2 Basic Types......Page 18
II.3 Loops......Page 21
II.5 Functions......Page 22
II.6 Scripts and Modules......Page 23
II.7 Interpreter......Page 24
III.1 Variables......Page 25
III.2 Numeric Types......Page 26
III.3 Booleans......Page 32
III.4 Strings......Page 35
III.5 Exercises......Page 38
IV.1 Lists......Page 41
IV.2 Arrays......Page 47
IV.3 Tuples......Page 48
IV.4 Dictionaries......Page 49
IV.5 Sets......Page 51
IV.7 Type Checking......Page 52
IV.8 Exercises......Page 53
V.1 Overview......Page 55
V.2 Mathematical Preliminaries......Page 58
V.3 The Array Type......Page 60
V.4 Array Indexing......Page 62
V.6 Accessing and Changing the Shape......Page 64
V.7 Stacking......Page 67
V.8 Functions Acting on Arrays......Page 68
V.9 Linear Algebra Methods in SciPy......Page 71
V.10 Exercises......Page 73
VI.1 Array Views and Copies......Page 76
VI.2 Comparing Arrays......Page 77
VI.3 Array Indexing......Page 80
VI.4 Performance and Vectorization......Page 82
VI.5 Broadcasting......Page 84
VI.6 Sparse Matrices......Page 90
VII.1 Basic Plotting......Page 95
VII.2 Formatting......Page 98
VII.3 Images and Contours......Page 102
VII.4 Useful Toolkits......Page 104
VII.5 Exercises......Page 110
VIII.1 Basics......Page 112
VIII.2 Parameters and Arguments......Page 113
VIII.3 Return Values......Page 117
VIII.4 Recursive Functions......Page 118
VIII.5 Function Documentation......Page 119
VIII.6 Functions are Objects......Page 120
VIII.7 Anonymous Functions β the lambda Keyword......Page 121
VIII.8 Functions as Decorators......Page 123
VIII.9 Exercises......Page 124
Chapter IX. Classes......Page 125
IX.1 Introduction......Page 126
IX.2 Attributes......Page 127
IX.3 Subclassing and Inheritance......Page 137
IX.4 Encapsulation......Page 139
IX.5 Classes as Decorators......Page 140
IX.6 Exercises......Page 142
X.1 The for statement......Page 144
X.2 Iterators......Page 146
X.3 List Filling Patterns......Page 152
X.4 When Iterators Behave as Lists......Page 155
X.5 Iterator Objects......Page 156
X.6 Infinite Iterations......Page 157
X.7 Exercises......Page 159
XI.1 Exceptions......Page 161
XI.2 Debugging......Page 168
XII.1 Namespace......Page 173
XII.2 Scope of a Variable......Page 174
XII.3 Modules......Page 175
XIII.1 File Handling......Page 179
XIII.2 NumPy Methods......Page 181
XIII.3 Pickling......Page 182
XIII.4 Shelves......Page 183
XIII.6 Reading and Writing Images......Page 184
XIV.1 Manual Testing......Page 186
XIV.2 Automatic Testing......Page 187
XIV.3 Measuring Execution Time......Page 195
XIV.4 Exercises......Page 199
XV.1 Polynomials......Page 200
XV.2 Spectral Clustering......Page 207
XV.3 Solving Initial Value Problems......Page 210
XV.4 Exercises......Page 213
Appendix: Calling MATLAB from Python......Page 214
Bibliography......Page 217
I......Page 219
Z......Page 220
E......Page 221
N......Page 222
Z......Page 223
π SIMILAR VOLUMES
Python is a free open-source language and environment that has tremendous potential in the scientific computing domain. Computing with Python presents the programming language in tight connection with mathematical applications. The approach of the book is concept based rather than a systematic intro
Readers looking for a beginner's guide to Python are faced with a bafflingarray of choices. However, Introduction to Python for Computational Science and Engineering, by Hans Fangohr is uniquely valuable because it is specifically aimed at those of us who are engaged in applied science or scientific
This book has been written for use in University of Vermontβs CS1210 Introduction to Programming (formerly CS021). This is a semester long course which covers much of the basics of programming, and an introduction to some fundamental concepts in computer science. Not being happy with any of the avai
<p><span>As more and more engineering departments and companies choose to use Python, this book provides an essential introduction to this open-source, free-to-use language. Expressly designed to support first-year engineering students, this book covers engineering and scientific calculations, Pytho