parameters: (indices, size, **kwargs)
return_statement: return subvec
docstring: returns a nb_entries -by- nb_dims (essentially the transpose of ind2sub)
  
      somewhat similar to MATLAB's ind2subvec
      https://github.com/adalca/mgt/blob/master/src/ind2subvec.m
  
      Note default order is C-style, not F-style (Fortran/MATLAB)
docstring_summary: returns a nb_entries -by- nb_dims (essentially the transpose of ind2sub)
docstring_tokens: returns a nb_entries - by - nb_dims ( essentially the transpose of ind2sub )
function: def ind2sub_entries(indices, size, **kwargs):
      """
      returns a nb_entries -by- nb_dims (essentially the transpose of ind2sub)
  
      somewhat similar to MATLAB's ind2subvec
      https://github.com/adalca/mgt/blob/master/src/ind2subvec.m
  
      Note default order is C-style, not F-style (Fortran/MATLAB)
      """
      sub = ind2sub(np.array(indices).flatten(), size, **kwargs)
      subvec = np.vstack(sub).transpose()
      # Warning this might be F-style-like stacking... it's a bit confusing
      return subvec
function_tokens: def ind2sub_entries ( indices , size , * * kwargs ) : sub = ind2sub ( np . array ( indices ) . flatten ( ) , size , * * kwargs ) subvec = np . vstack ( sub ) . transpose ( ) # Warning this might be F-style-like stacking... it's a bit confusing return subvec