Back

NumPy

NumPy

Description

NumPy is Python package which provides a fast array interface for numerical computations. Basic vectorisable mathematical operations (element-wise additions, multiplications, trigonometric functions etc.) can be performed orders of magnitude faster than with standard Python. NumPy provides also basic linear algebra operations (matrix multiplication, solution of linear systems, matrix diagonalization etc.) that utilise libraries optimised for the system architecture.


Available

Version on CSC's Servers

Sisu: for Python 2.7.4, 2.7.9

Taito: for Python 2.7.3, 2.7.6, 2.7.9, 3.4.0, 3.4.1


Usage

Loading NumPy

NumPy is installed as part of the module-loadable Python environments on CSC servers.

Taito

module load python-env

Sisu

module load python

Using NumPy

After loading the module NumPy can be imported in Python scripts using:

import numpy

 


Discipline

Other

References


Support


Manual

Please see the official NumPy site for more comprehensive documentation about Numpy usage and features.