def monkeypatch():
    """
    monkeypath built-in numpy functions to call those provided by nparray instead.
    """
    np.array = array
    np.arange = arange
    np.linspace = linspace
    np.logspace = logspace
    np.geomspace = geomspace
    np.full = full
    np.full_like = full_like
    np.zeros = zeros
    np.zeros_like = zeros_like
    np.ones = ones
    np.ones_like = ones_like
    np.eye = eye
monkeypath built-in numpy functions to call those provided by nparray instead.