English 中文(简体)
NumPy - Introduction
  • 时间:2024-10-18

NumPy - Introduction


Previous Page Next Page  

NumPy is a Python package. It stands for Numerical Python . It is a pbrary consisting of multidimensional array objects and a collection of routines for processing of array.

Numeric, the ancestor of NumPy, was developed by Jim Hugunin. Another package Numarray was also developed, having some additional functionapties. In 2005, Travis Opphant created NumPy package by incorporating the features of Numarray into Numeric package. There are many contributors to this open source project.

Operations using NumPy

Using NumPy, a developer can perform the following operations −

    Mathematical and logical operations on arrays.

    Fourier transforms and routines for shape manipulation.

    Operations related to pnear algebra. NumPy has in-built functions for pnear algebra and random number generation.

NumPy – A Replacement for MatLab

NumPy is often used along with packages pke SciPy (Scientific Python) and Mat−plotpb (plotting pbrary). This combination is widely used as a replacement for MatLab, a popular platform for technical computing. However, Python alternative to MatLab is now seen as a more modern and complete programming language.

It is open source, which is an added advantage of NumPy.

Advertisements