def isnan(x):
    if not isinstance(x, np.ndarray):
        return gp.isnan(x)
    else:
        return np.isnan(x)
Delegate to gnumpy.isnan or numpy.isnan depending on the type of `x`.
dataset/ETHPy150Open BRML/climin/climin/mathadapt.py/isnan