HackerPapers

arXiv:1102.1523cs.MS

The NumPy array: a structure for efficient numerical computation

Stefan Van Der Walt, S. Chris Colbert, Gaël Varoquaux

HN submission. Found in a submission link or body. Submitters do not count as commenters in the main ranking; a submission is not an endorsement.

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.

arXiv comments
Journal reference
Computing in Science and Engineering 13, 2 (2011) 22-30
DOI
doi:10.1109/MCSE.2011.37
Subjects
cs.MSMathematical Software

On Hacker News

No comments linking this paper were found in the collected sources. Found in 1 HN submission from Jan 2018 to Jan 2018. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments0 threads

No comments linking this paper were found in the collected sources. Open submission discussions.

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.