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.
Description
[1102.1523v1] The NumPy array: a structure for efficient numerical computation
%0 Generic
%1 walt2011numpy
%A Walt, Stefan van der
%A Colbert, S. Chris
%A Varoquaux, Gaël
%D 2011
%K 65-04-numerical-analysis-software-source-code 68p05-data-structures
%R 10.1109/MCSE.2011.37
%T The NumPy array: a structure for efficient numerical computation
%U http://arxiv.org/abs/1102.1523
%X 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.
@misc{walt2011numpy,
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.},
added-at = {2023-08-07T06:13:11.000+0200},
author = {Walt, Stefan {van der} and Colbert, S. Chris and Varoquaux, Gaël},
biburl = {https://www.bibsonomy.org/bibtex/254acf7e56b89322816cecd954cd71e5c/gdmcbain},
description = {[1102.1523v1] The NumPy array: a structure for efficient numerical computation},
doi = {10.1109/MCSE.2011.37},
interhash = {2fc2613398c8f4b87f9722645972ba44},
intrahash = {54acf7e56b89322816cecd954cd71e5c},
keywords = {65-04-numerical-analysis-software-source-code 68p05-data-structures},
note = {cite arxiv:1102.1523},
timestamp = {2023-08-07T06:13:11.000+0200},
title = {The NumPy array: a structure for efficient numerical computation},
url = {http://arxiv.org/abs/1102.1523},
year = 2011
}