Arraylias (arraylias)#

This module contains general tools for building aliased libraries, as well as default aliases for NumPy and SciPy that provide a common interface for working with multiple underlying array libraries.

Classes for building aliased libraries#

Alias()

Library aliasing class.

AliasedModule(alias, lib[, path])

Aliased library module.

AliasedPath(alias, path)

Aliased library path.

AliasError(*msg)

Class for Arraylias dispatch errors

LibraryError(*msg)

Class for Arraylias missing array library errors

Constructors for default NumPy and SciPy aliases#

numpy_alias([register_numbers])

Return a pre-configured Alias with NumPy like syntax.

scipy_alias([register_numbers])

Return a pre-configured Alias with SciPy-like syntax.