pymatgen.util.numba module

This module provides a wrapper for numba such that no functionality is lost if numba is not available. Numba is a just-in-time compiler that can significantly accelerate the evaluation of certain functions if installed.

jit(func)[source]

Replacement for numba.jit when numba is not installed that does nothing.

njit(func)[source]

Replacement for numba.njit when numba is not installed that does nothing.