pith. sign in

arxiv: 1102.1523 · v1 · pith:4LWYPKVYnew · submitted 2011-02-08 · 💻 cs.MS

The NumPy array: a structure for efficient numerical computation

classification 💻 cs.MS
keywords arraydataefficientnumericalnumpyarrayscomputationstructure
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 11 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Tests of general relativity at the fourth post-Newtonian order with GW230627 and GW250114

    gr-qc 2026-06 unverdicted novelty 7.0

    Bayesian analysis of GW230627 and GW250114 finds no deviation from GR at 4PN and 4.5PN orders, setting the first empirical baseline with 90% intervals of order O(1)-O(10).

  2. The Causal Bootstrap: Bounding Smeared Spectral Functions from Non-Perturbative Euclidean Data

    hep-lat 2026-05 unverdicted novelty 7.0

    The causal bootstrap computes rigorous bounds on smeared spectral functions from non-perturbative Euclidean data by optimizing over the convex set of compatible positive spectral densities and reducing dual problems t...

  3. The emerging timescale of young star clusters regulated by cluster stellar mass

    astro-ph.GA 2026-03 unverdicted novelty 6.0

    Massive young star clusters clear their natal gas faster than lower-mass clusters, based on HST and JWST imaging of four galaxies.

  4. MSA-3D: Rotation Curves and Dark Matter Fractions at z~0.5-1.7 with JWST/NIRSpec

    astro-ph.GA 2026-06 unverdicted novelty 5.0

    New JWST data on 23 galaxies at 0.5<z<1.7 show median dark matter fraction of 0.63 at effective radius with 0.2 dex scatter, and a mix of rising, flat, and falling rotation curves.

  5. OzSSy1: The Australian Southern Seyfert-1 Spectroscopic Atlas and Catalogue at z < 0.1

    astro-ph.GA 2026-06 unverdicted novelty 5.0

    Presents a public spectroscopic atlas of 887 Southern broad-line AGNs at low redshift, including continuum decompositions and emission-line fits.

  6. Kernel transformations and bounds for smeared spectral functions

    hep-lat 2026-06 unverdicted novelty 5.0

    Framework for exact and approximate kernel transformations between smeared spectral functions, including systematic error bounds computable from input data.

  7. A generic $\omega_b$ tension in early-time solutions to the Hubble tension

    astro-ph.CO 2026-04 unverdicted novelty 5.0

    Early-time Hubble tension solutions generically raise the preferred baryon density ω_b, conflicting with BBN deuterium constraints and producing poorer fits to CMB, BAO, supernova, and BBN data than ΛCDM.

  8. The Effects of Cosmic Ray Protons on Galactic Nonthermal Filaments

    astro-ph.HE 2026-06 unverdicted novelty 4.0

    MHD simulations of proton- versus lepton-dominated cosmic rays in nonthermal filaments show minimal observable differences and motivate a turbulence-based formation scenario for Galactic Center NTFs.

  9. Impact of fiducial cosmology in model-agnostic cosmological inference with the BAO feature

    astro-ph.CO 2026-06 unverdicted novelty 4.0

    The Zel'dovich smearing approximation for model-agnostic BAO inference is extended to include fiducial cosmology distortions and validated on AbacusSummit simulations of DESI- and Euclid-like samples, producing unbias...

  10. Detectors for CLASS-W2: The second 90 GHz telescope of the Cosmology Large Angular Scale Surveyor

    astro-ph.IM 2026-06 accept novelty 3.0

    A new 296-detector 90 GHz TES bolometer array for CLASS achieves uniform properties, 16 μK√s NET, 0.37 optical efficiency, and a 41% mapping speed boost after addressing blue-leak radiation.

  11. Inferring the properties of a population of compact binaries in presence of selection effects

    astro-ph.IM 2020-07 unverdicted novelty 2.0

    Pedagogical derivation from first principles of hierarchical Bayesian inference for population properties of compact binaries in the presence of selection effects, with two worked examples.