def idzp_aid(eps, A):
A = np.asfortranarray(A)<EOL>m, n = A.shape<EOL>n2, w = idz_frmi(m)<EOL>proj = np.empty(n*(<NUM_LIT:2>*n2 + <NUM_LIT:1>) + n2 + <NUM_LIT:1>, dtype='<STR_LIT>', order='<STR_LIT:F>')<EOL>k, idx, proj = _id.idzp_aid(eps, A, w, proj)<EOL>proj = proj[:k*(n-k)].reshape((k, n-k), order='<STR_LIT:F>')<EOL>return k, idx, proj<EOL>
Compute ID of a complex matrix to a specified relative precision using
random sampling.

:param eps:
    Relative precision.
:type eps: float
:param A:
    Matrix.
:type A: :class:`numpy.ndarray`

:return:
    Rank of ID.
:rtype: int
:return:
    Column index array.
:rtype: :class:`numpy.ndarray`
:return:
    Interpolation coefficients.
:rtype: :class:`numpy.ndarray`