登录 注册
当前位置:主页 > 资源下载 > 9 > numpy-ref.pdf下载

numpy-ref.pdf下载

  • 更新:2024-07-14 13:07:38
  • 大小:6.94MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Python - 后端
  • 格式:PDF

资源介绍

CONTENTS 1 Arrayobjects 3 1.1 TheN-dimensionalarray(ndarray).................................. 3 1.2 Scalars.................................................. 73 1.3 Datatypeobjects(dtype)........................................110 1.4 Indexing.................................................121 1.5 Standardarraysubclasses........................................125 1.6 Maskedarrays..............................................250 1.7 TheArrayInterface ...........................................433 2 Universalfunctions(ufunc) 439 2.1 Broadcasting...............................................439 2.2 Outputtypedetermination........................................440 2.3 Useofinternalbuffers..........................................440 2.4 Errorhandling..............................................440 2.5 CastingRules...............................................443 2.6 ufunc..................................................445 2.7 Availableufuncs.............................................452 3 Routines 457 3.1 Arraycreationroutines..........................................457 3.2 Arraymanipulationroutines.......................................488 3.3 Indexingroutines.............................................522 3.4 Datatyperoutines............................................547 3.5 Inputandoutput.............................................559 3.6 DiscreteFourierTransform(numpy.fft)...............................579 3.7 Linearalgebra(numpy.linalg) ...................................599 3.8 Randomsampling(numpy.random) .................................627 3.9 Sortingandsearching ..........................................678 3.10Logicfunctions..............................................691 3.11Binaryoperations.............................................707 3.12Statistics.................................................715 3.13Mathematicalfunctions .........................................735 3.14Functionalprogramming.........................................794 3.15Polynomials...............................................799 3.16Financialfunctions............................................812 3.17Setroutines................................................820 3.18Windowfunctions............................................825 3.19Floatingpointerrorhandling.......................................836 3.20Maskedarrayoperations.........................................842 i 3.21Numpy-specifichelpfunctions......................................962 3.22Miscellaneousroutines..........................................965 3.23TestSupport(numpy.testing)....................................966 3.24Asserts..................................................967 3.25Mathematicalfunctionswithautomaticdomain(numpy.emath)...................977 3.26Matrixlibrary(numpy.matlib)....................................977 3.27OptionallyScipy-acceleratedroutines(numpy.dual).........................977 3.28Numarraycompatibility(numpy.numarray).............................978 3.29OldNumericcompatibility(numpy.oldnumeric)..........................978 3.30C-TypesForeignFunctionInterface(numpy.ctypeslib)......................978 3.31Stringoperations.............................................979 4 Packaging(numpy.distutils) 1013 4.1 Modulesinnumpy.distutils....................................1013 4.2 BuildingInstallableClibraries......................................1024 4.3 Conversionof.srcfiles ........................................1025 5 NumpyC-API 1027 5.1 PythonTypesandC-Structures .....................................1027 5.2 Systemconfiguration...........................................1041 5.3 DataTypeAPI..............................................1043 5.4 ArrayAPI ................................................1045 5.5 UFuncAPI................................................1078 5.6 GeneralizedUniversalFunctionAPI...................................1083 5.7 Numpycorelibraries...........................................1085 6 Numpyinternals 1089 6.1 NumpyCCodeExplanations ......................................1089 6.2 Internalorganizationofnumpyarrays..................................1096 6.3 MultidimensionalArrayIndexingOrderIssues.............................1097 7 NumpyandSWIG 1099 7.1 Numpy.i:aSWIGInterfaceFileforNumPy...............................1099 7.2 Testingthenumpy.iTypemaps......................................1112 8 Acknowledgements 1115 Bibliography 1117 PythonModuleIndex 1123 Index 1125