210
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      The NumPy array: a structure for efficient numerical computation

      Preprint
      , ,

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          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.

          Related collections

          Author and article information

          Journal
          08 February 2011
          Article
          10.1109/MCSE.2011.37
          1102.1523
          0c78f8fc-cd0f-4bc9-a5e2-e88468f1d3a5

          http://arxiv.org/licenses/nonexclusive-distrib/1.0/

          History
          Custom metadata
          Computing in Science and Engineering 13, 2 (2011) 22-30
          cs.MS
          ccsd

          Comments

          Comment on this article