docstr: ivy.Array instance method variant of ivy.eigvalsh. This method
  simply wraps the function, and so the docstring for ivy.eigvalsh also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  x
      input array having shape (..., M, M) and whose innermost two dimensions form
      square matrices. Must have floating-point data type.
  out
      optional output array, for writing the result to. It must have a shape that
      the inputs broadcast to.
  
  Returns
  -------
  ret
      an array containing the computed eigenvalues. The returned array must have
      shape (..., M) and have the same data type as x.
  
  
  This function conforms to the `Array API Standard
  <https://data-apis.org/array-api/latest/>`_. This docstring is an extension of
  the `docstring <https://data-apis.org/array-api/latest/
  extensions/generated/array_api.linalg.eigvalsh.html>`_
  in the standard.
  
  Both the description and the type hints above assumes an array input for
  simplicity, but this function is *nestable*, and therefore also
  accepts :class:`ivy.Container` instances in place of any of the arguments.
  
  Examples
  --------
  With :class:`ivy.Array` inputs:
  
  >>> x = ivy.array([[[1.0,2.0],[2.0,1.0]]])
  >>> y = ivy.eigvalsh(x)
  >>> print(y)
  ivy.array([[-1.,  3.]])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.eigvalsh",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.eigvalsh","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","x","input","array","having","shape","(","...",",","M",",","M",")","and","whose","innermost","two","dimensions","form","square","matrices",".","Must","have","floating-point","data","type",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","an","array","containing","the","computed","eigenvalues",".","The","returned","array","must","have","shape","(","...",",","M",")","and","have","the","same","data","type","as","x",".","This","function","conforms","to","the","`","Array","API","Standard","<","https",":","\/\/data-apis.org\/array-api\/latest\/",">","`","_",".","This","docstring","is","an","extension","of","the","`","docstring","<","https",":","\/\/data-apis.org\/array-api\/latest\/","extensions\/generated\/array_api.linalg.eigvalsh.html",">","`","_","in","the","standard",".","Both","the","description","and","the","type","hints","above","assumes","an","array","input","for","simplicity",",","but","this","function","is","*","nestable","*",",","and","therefore","also","accepts",":","class",":","`","ivy.Container","`","instances","in","place","of","any","of","the","arguments",".","Examples","--","--","--","--","With",":","class",":","`","ivy.Array","`","inputs",":",">",">",">","x","=","ivy.array","(","[","[","[","1.0,2.0","]",",","[","2.0,1.0","]","]","]",")",">",">",">","y","=","ivy.eigvalsh","(","x",")",">",">",">","print","(","y",")","ivy.array","(","[","[","-1.",",","3",".","]","]",")"]
code: def eigvalsh(
      self: ivy.Array,
      /,
      *,
      UPLO: str = "L",
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.eigvalsh. This method
      simply wraps the function, and so the docstring for ivy.eigvalsh also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      x
          input array having shape (..., M, M) and whose innermost two dimensions form
          square matrices. Must have floating-point data type.
      out
          optional output array, for writing the result to. It must have a shape that
          the inputs broadcast to.
  
      Returns
      -------
      ret
          an array containing the computed eigenvalues. The returned array must have
          shape (..., M) and have the same data type as x.
  
  
      This function conforms to the `Array API Standard
      <https://data-apis.org/array-api/latest/>`_. This docstring is an extension of
      the `docstring <https://data-apis.org/array-api/latest/
      extensions/generated/array_api.linalg.eigvalsh.html>`_
      in the standard.
  
      Both the description and the type hints above assumes an array input for
      simplicity, but this function is *nestable*, and therefore also
      accepts :class:`ivy.Container` instances in place of any of the arguments.
  
      Examples
      --------
      With :class:`ivy.Array` inputs:
  
      >>> x = ivy.array([[[1.0,2.0],[2.0,1.0]]])
      >>> y = ivy.eigvalsh(x)
      >>> print(y)
      ivy.array([[-1.,  3.]])
      """
      return ivy.eigvalsh(self._data, UPLO=UPLO, out=out)
  
imports: import abc
  from typing import Union, Optional, Literal, Tuple, List, Sequence
  import ivy
label_desc: Use image node_id 9 for calling the _ArrayWithLinearAlgebra obj's underlying member method code with example usage: obj.eigvalsh() and returns: ivy