程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python numpy system tutorial

編輯:Python

One 、NumPy brief introduction

NumPy(Numerical Python) yes Python An extended library of language , Support a large number of dimension arrays and matrix operations , In addition, it also provides a large number of mathematical function libraries for array operation .

NumPy The forerunner of Numeric The first is the Jim Hugunin Developed with other collaborators ,2005 year ,Travis Oliphant stay Numeric Another library of the same nature is combined in Numarray The characteristics of , And added other extensions and developed NumPy.NumPy Developed for open source and maintained by many collaborators .

NumPy It's a very fast math library , Mainly used for array calculation , contain :

  • A powerful N Dimensional array object ndarray
  • Broadcast function
  • Integrate C/C++/Fortran Code tools
  • linear algebra 、 The Fourier transform 、 Random number generation and other functions

Two 、NumPy application

NumPy Usually with SciPy(Scientific Python) and Matplotlib( Drawing library ) Use it together , This combination is widely used to replace MatLab, It's a powerful scientific computing environment , It helps us to get through Python Study data science or machine learning .

SciPy It's an open source Python Algorithm library and math toolkit .

SciPy The modules included are optimized 、 linear algebra 、 integral 、 interpolation 、 Special functions 、 The fast Fourier transform 、 Signal processing and image processing 、 Ordinary differential equation solution and other calculations commonly used in science and Engineering .

Matplotlib yes Python Programming language and its numerical mathematics expansion package NumPy The visual operation interface . It is designed to take advantage of the general GUI toolkit , Such as Tkinter, wxPython, Qt or GTK+ Provides application program interface to application program embedded drawing (API).

3、 ... and 、 Learning premise

There must be a certain Python Basics , At least familiar with its basic grammar , For example, data types 、 Sequence ( list 、 Dictionaries 、 Tuples 、 aggregate ), And the choice of loop statements .


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved