code: def get_smallest_symm_eig(M, smallest_eigval_idx=None):
      """Returns the smallest_eigval_idx eigenvalues and eigenvectors of the symmetric
      matrix M."""
      smallest_eigval_idx = (
          (M.shape[0] - 1)
          if smallest_eigval_idx is None
          else smallest_eigval_idx
      )
      eig_val_indices = [0, min(smallest_eigval_idx, M.shape[0] - 1)]
      eigvals, eigvecs = sp_eigh(M, eigvals=eig_val_indices)
      return eigvals, eigvecs
  
file_path: dragonfly/dragonfly/utils/graph_utils.py
imports: from copy import deepcopy
  import numpy
  from scipy.linalg import eigh
  from .general_utils import get_nonzero_indices_in_vector
label_desc: Use image node_id 5 for calling a global function with example usage: get_smallest_symm_eig(M, smallest_eigval_idx) and returns: eigvals,  eigvecs