code: def eigvals(x: np.ndarray, /) -> np.ndarray:
      e = np.linalg.eigvals(x)
      return e.astype(complex)
  
file_path: ivy/ivy/functional/backends/numpy/experimental/linear_algebra.py
imports: import math
  from typing import Optional, Tuple, Sequence, Union, Any
  import numpy
  import ivy
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_dtypes
  from ivy.utils.exceptions import IvyNotImplementedException
  from ..None import backend_version
  from ivy.functional.ivy.experimental.linear_algebra import _check_valid_dimension_size
label_desc: Use image node_id 5 for calling a global function with example usage: eigvals() and returns: e