Skip to main content

A Python package that provides a lazily-evaluated numerical array class, larray, based on and compatible with NumPy arrays.

Project description

lazyarray is a Python package that provides a lazily-evaluated numerical array class, larray, based on and compatible with NumPy arrays.

Lazy evaluation means that any operations on the array (potentially including array construction) are not performed immediately, but are delayed until evaluation is specifically requested. Evaluation of only parts of the array is also possible.

Use of an larray can potentially save considerable computation time and memory in cases where:

  • arrays are used conditionally (i.e. there are cases in which the array is never used)

  • only parts of an array are used (for example in distributed computation, in which each MPI node operates on a subset of the elements of the array)

https://readthedocs.org/projects/lazyarray/badge/?version=latest https://github.com/NeuralEnsemble/lazyarrays/actions/workflows/test.yml/badge.svg https://coveralls.io/repos/github/NeuralEnsemble/lazyarray/badge.svg?branch=master

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazyarray-0.6.0.tar.gz (23.5 kB view hashes)

Uploaded Source

Built Distribution

lazyarray-0.6.0-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page