

def direct_lstsq(a, b, cmplx=0):
    at = transpose(a)
    if cmplx:
        at = conjugate(at)
    a1 = dot(at, a)
    b1 = dot(a, b)
    return solve(a1, b1)

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py direct_lstsq/VarMisuse@49/56 `at`->`a`