Skip to content
Snippets Groups Projects
user avatar
Kaushik Kulkarni authored
* do not evaluate array expressions for 0-sized arrays

* Use empty for empty arrays

Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>
3df0533e
History

arraycontext: Choose your favorite numpy-workalike

Gitlab Build Status Github Build Status Python Package Index Release Page

GPU arrays? Deferred-evaluation arrays? Just plain numpy arrays? You'd like your code to work with all of them? No problem! Comes with pre-made array context implementations for:

  • numpy
  • PyOpenCL
  • Pytato (for lazy/deferred evaluation)
  • Debugging
  • Profiling

arraycontext started life as an array abstraction for use with the meshmode unstrucuted discretization package.

Distributed under the MIT license.

Links