def _constrain_sv_less_than_one_python(unconstrained, order=None,
                                       k_endog=None):

    from scipy import linalg

    constrained = []  # P_s,  s = 1, ..., p
    if order is None:
        order = len(unconstrained)
    if k_endog is None:
        k_endog = unconstrained[0].shape[0]

    eye = np.eye(k_endog)
    for i in range(order):
        A = unconstrained[i]
        B, lower = linalg.cho_factor(eye + np.dot(A, A.T), lower=True)
        constrained.append(linalg.solve_triangular(B, A, lower=lower))
    return constrained
Gets the value of the cookie with the given name, else default.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/statespace/tools.py/_constrain_sv_less_than_one_python--crossover with--dataset/ETHPy150Open toastdriven/itty/itty.py/Request.get_cookie