

def test_simple_sym_complex(self):
    a = [[5, 2], [2, 4]]
    for b in [[1j, 0], [[1j, 1j], [0, 2]]]:
        x = solve(a, b, sym_pos=1)
        assert_array_almost_equal(dot(a, x), b)

dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_basic.py TestSolve.test_simple_sym_complex/original