def METHOD_NAME():
    n = 8
    a = np.random.rand(n, n).astype(np.float32)
    b = np.random.rand(n).astype(np.float32)
    output = np.zeros((n,)).astype(np.float32)
    out = num.linalg.solve(a, b, out=output)
    rtol = RTOL[out.dtype]
    atol = ATOL[out.dtype]
    assert allclose(
        b, num.matmul(a, out), rtol=rtol, atol=atol, check_dtype=False
    )
    assert allclose(
        b, num.matmul(a, output), rtol=rtol, atol=atol, check_dtype=False
    )