

def test_random_b_and_c(self):
    np.random.seed(54321)
    c = np.random.randn(50)
    b = np.random.randn(50)
    x = solve_circulant(c, b)
    y = solve(circulant(c), b)
    assert_allclose(x, y)

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolveCirculant.test_random_b_and_c/original