def reconstruct_matrix_from_id(B, idx, proj):
 if _is_real(B):
  return backend.idd_reconid(B, (idx + 1), proj)
 else:
  return backend.idz_reconid(B, (idx + 1), proj)

def reconstruct_matrix_from_id ( B , idx , proj ) : if _is_real ( B ) : return backend . idd_reconid ( B , ( idx + 1 ) , proj ) else : return backend . idz_reconid ( B , ( idx + 1 ) , proj )
reconstruct matrix from its id .