def _cho_factor ( A , lower = True , check_finite = True ) : return cp . linalg . cholesky ( A ) , True
python scipy optimize constraint example
Implementaton of : func : scipy . linalg . cho_factor using a function supported in cupy .
def _cho_factor(A, lower=True, check_finite=True):
    """Implementaton of :func:`scipy.linalg.cho_factor` using
    a function supported in cupy."""

    return cp.linalg.cholesky(A), True