docstr: ivy.Array instance method variant of ivy.inv. This method simply
  wraps the function, and so the docstring for ivy.inv also applies to
  this method with minimal changes.
  
  Parameters
  ----------
  self
      input array having shape ``(..., M, M)`` and whose innermost two
      dimensions form square matrices. Should have a 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 multiplicative inverses. The returned array
      must have a floating-point data type determined by :ref:`type-promotion`
      and must have the same shape as ``x``.
  
  Examples
  --------
  With :class:`ivy.Array` inputs:
  
  >>> x = ivy.array([[1.0, 2.0],[3.0, 4.0]])
  >>> y = x.inv()
  >>> print(y)
  ivy.array([[-2., 1.],[1.5, -0.5]])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.inv",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.inv","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","having","shape","``","(","...",",","M",",","M",")","``","and","whose","innermost","two","dimensions","form","square","matrices",".","Should","have","a","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","multiplicative","inverses",".","The","returned","array","must","have","a","floating-point","data","type","determined","by",":","ref",":","`","type-promotion","`","and","must","have","the","same","shape","as","``","x","``",".","Examples","--","--","--","--","With",":","class",":","`","ivy.Array","`","inputs",":",">",">",">","x","=","ivy.array","(","[","[","1.0",",","2.0","]",",","[","3.0",",","4.0","]","]",")",">",">",">","y","=","x.inv","(",")",">",">",">","print","(","y",")","ivy.array","(","[","[","-2.",",","1",".","]",",","[","1.5",",","-0.5","]","]",")"]
code: def inv(
      self: ivy.Array,
      /,
      *,
      adjoint: bool = False,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.inv. This method simply
      wraps the function, and so the docstring for ivy.inv also applies to
      this method with minimal changes.
  
      Parameters
      ----------
      self
          input array having shape ``(..., M, M)`` and whose innermost two
          dimensions form square matrices. Should have a 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 multiplicative inverses. The returned array
          must have a floating-point data type determined by :ref:`type-promotion`
          and must have the same shape as ``x``.
  
      Examples
      --------
      With :class:`ivy.Array` inputs:
  
      >>> x = ivy.array([[1.0, 2.0],[3.0, 4.0]])
      >>> y = x.inv()
      >>> print(y)
      ivy.array([[-2., 1.],[1.5, -0.5]])
      """
      return ivy.inv(self._data, adjoint=adjoint, out=out)
  
imports: import abc
  from typing import Union, Optional, Literal, Tuple, List, Sequence
  import ivy
label_desc: Use image node_id 11 for calling the _ArrayWithLinearAlgebra obj's underlying member method code with example usage: obj.inv() and returns: ivy