moten.backend.numpy module

The “numpy” CPU backend, based on NumPy.

To use this backend, call moten.backend.set_backend("numpy").

moten.backend.numpy.column_stack(arrays)[source]

Stack 1-D arrays as columns into a 2-D array.

moten.backend.numpy.eigh(matrix)[source]

Symmetric eigenvalue decomposition.

moten.backend.numpy.to_numpy(array)[source]

Convert array to numpy. Identity for numpy backend.