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