没有合适的资源?快使用搜索试试~ 我知道了~
首页numpy官方参考手册.pdf
numpy官方参考手册.pdf
需积分: 47 2.8k 浏览量
更新于2023-03-16
评论 2
收藏 7.3MB PDF 举报
python中必须掌握的库之一 numpy官方参考手册.pdf numpy官方参考手册.pdf
资源详情
资源评论
资源推荐

NumPy Reference
Release 1.5.1
Written by the NumPy community
November 18, 2010


CONTENTS
1 Array objects 3
1.1 The N-dimensional array (ndarray) .................................. 3
1.2 Scalars .................................................. 73
1.3 Data type objects (dtype) ........................................ 110
1.4 Indexing ................................................. 121
1.5 Standard array subclasses ........................................ 125
1.6 Masked arrays .............................................. 250
1.7 The Array Interface ........................................... 433
2 Universal functions (ufunc) 439
2.1 Broadcasting ............................................... 439
2.2 Output type determination ........................................ 440
2.3 Use of internal buffers .......................................... 440
2.4 Error handling .............................................. 440
2.5 Casting Rules ............................................... 443
2.6 ufunc .................................................. 445
2.7 Available ufuncs ............................................. 452
3 Routines 457
3.1 Array creation routines .......................................... 457
3.2 Array manipulation routines ....................................... 488
3.3 Indexing routines ............................................. 522
3.4 Data type routines ............................................ 547
3.5 Input and output ............................................. 559
3.6 Discrete Fourier Transform (numpy.fft) ............................... 579
3.7 Linear algebra (numpy.linalg) ................................... 599
3.8 Random sampling (numpy.random) ................................. 627
3.9 Sorting and searching .......................................... 678
3.10 Logic functions .............................................. 691
3.11 Binary operations ............................................. 707
3.12 Statistics ................................................. 715
3.13 Mathematical functions ......................................... 735
3.14 Functional programming ......................................... 794
3.15 Polynomials ............................................... 799
3.16 Financial functions ............................................ 812
3.17 Set routines ................................................ 820
3.18 Window functions ............................................ 825
3.19 Floating point error handling ....................................... 836
3.20 Masked array operations ......................................... 842
i

3.21 Numpy-specific help functions ...................................... 962
3.22 Miscellaneous routines .......................................... 965
3.23 Test Support (numpy.testing) .................................... 966
3.24 Asserts .................................................. 967
3.25 Mathematical functions with automatic domain (numpy.emath) ................... 977
3.26 Matrix library (numpy.matlib) .................................... 977
3.27 Optionally Scipy-accelerated routines (numpy.dual) ......................... 977
3.28 Numarray compatibility (numpy.numarray) ............................. 978
3.29 Old Numeric compatibility (numpy.oldnumeric) .......................... 978
3.30 C-Types Foreign Function Interface (numpy.ctypeslib) ...................... 978
3.31 String operations ............................................. 979
4 Packaging (numpy.distutils) 1015
4.1 Modules in numpy.distutils .................................... 1015
4.2 Building Installable C libraries ...................................... 1026
4.3 Conversion of .src files ........................................ 1027
5 Numpy C-API 1029
5.1 Python Types and C-Structures ..................................... 1029
5.2 System configuration ........................................... 1043
5.3 Data Type API .............................................. 1045
5.4 Array API ................................................ 1047
5.5 UFunc API ................................................ 1080
5.6 Generalized Universal Function API ................................... 1085
5.7 Numpy core libraries ........................................... 1087
6 Numpy internals 1091
6.1 Numpy C Code Explanations ...................................... 1091
6.2 Internal organization of numpy arrays .................................. 1098
6.3 Multidimensional Array Indexing Order Issues ............................. 1099
7 Acknowledgements 1101
Bibliography 1103
Python Module Index 1109
Index 1111
ii

NumPy Reference, Release 1.5.1
Release
1.5
Date
November 18, 2010
This reference manual details functions, modules, and objects included in Numpy, describing what they are and what
they do. For learning how to use NumPy, see also user.
CONTENTS 1
剩余1131页未读,继续阅读
















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0