code: def iddr_id(A, k):
      """
      Compute ID of a real matrix to a specified rank.
  
      :param A:
          Matrix.
      :type A: :class:`numpy.ndarray`
      :param k:
          Rank of ID.
      :type k: int
  
      :return:
          Column index array.
      :rtype: :class:`numpy.ndarray`
      :return:
          Interpolation coefficients.
      :rtype: :class:`numpy.ndarray`
      """
      A = np.asfortranarray(A)
      idx, rnorms = _id.iddr_id(A, k)
      n = A.shape[1]
      proj = A.T.ravel()[: k * (n - k)].reshape((k, n - k), order="F")
      return idx, proj
  
imports: import scipy.linalg._interpolative
  import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: iddr_id(A, k) and returns: idx,  proj