sign in
english version rss feed

inria-00564007, version 1

The NumPy array: a structure for efficient numerical computation

Stefan Van Der Walt () 1, S. Chris Colbert () 2, Gaël Varoquaux () 3

Computing in Science and Engineering 13, 2 (2011) 22-30

Abstract: In the Python world, NumPy arrays are the standard representation for numerical data. Here, we show how these arrays enable efficient implementation of numerical computations in a high-level language. Overall, three techniques are applied to improve performance: vectorizing calculations, avoiding copying data in memory, and minimizing operation counts. We first present the NumPy array structure, then show how to use it for efficient computation, and finally how to share array data with other libraries.

  • Domain : Computer Science/Software Engineering
  • Keywords : Python – scientific computing – array
 
  • inria-00564007, version 1
  • oai:hal.inria.fr:inria-00564007
  • From: 
  • Submitted on: Monday, 7 February 2011 17:13:20
  • Updated on: Wednesday, 19 June 2013 15:12:05
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...