Table of Contents
The Story behind the Succinctly Series of Books ................................................................ 6
About the Author ..................................................................................................................... 8
Chapter 1 Getting Started ....................................................................................................... 9
1.1 Installing SciPy and NumPy ............................................................................................10
Installing Python, NumPy, and SciPy separately ..............................................................18
1.2 Editing SciPy programs ..................................................................................................21
1.3 Program structure ...........................................................................................................24
1.4 Quick reference program ................................................................................................27
Chapter 2 Arrays ....................................................................................................................29
2.1 Array initialization ...........................................................................................................30
2.2 Array searching ..............................................................................................................35
2.3 Array sorting ...................................................................................................................39
2.4 Array shuffling ................................................................................................................43
Chapter 3 Matrices .................................................................................................................47
3.1 Matrix initialization ..........................................................................................................48
3.2 Matrix multiplication ........................................................................................................53
3.3 Matrix transposition ........................................................................................................57
3.4 Matrix determinants ........................................................................................................60
3.5 Matrix inversion ..............................................................................................................64
3.6 Matrix loading from file ...................................................................................................69
Chapter 4 Combinatorics.......................................................................................................73
4.1 Permutations ..................................................................................................................74
4.2 Permutation successor ...................................................................................................78
4.3 Permutation element ......................................................................................................82
评论1
最新资源