

def test_simple_complex(self):
    a = array([[5, 2], [2j, 4]], 'D')
    for b in [[1j, 0], [[1j, 1j], [0, 2]], [1, 0j], array([1, 0], 'D')]:
        x = solve(a, b)
        assert_array_almost_equal(dot(a, x), b)

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