docstr: ivy.Array instance method variant of ivy.pinv. This method simply
  wraps the function, and so the docstring for ivy.pinv also applies to
  this method with minimal changes.
  
  Parameters
  ----------
  self
      input array having shape ``(..., M, N)`` and whose innermost two
      dimensions form ``MxN`` matrices. Should have a floating-point data type.
  rtol
      relative tolerance for small singular values. More details in ivy.pinv.
  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 pseudo-inverses. More details in ivy.pinv.
  
  Examples
  --------
  >>> x = ivy.array([[1., 2.], [3., 4.]])
  >>> y = x.pinv()
  >>> print(y)
  ivy.array([[-1.99999988,  1.        ],
         [ 1.5       , -0.5       ]])
  
  >>> x = ivy.array([[1., 2.], [3., 4.]])
  >>> z = ivy.zeros((2,2))
  >>> x.pinv(rtol=0, out=z)
  >>> print(z)
  ivy.array([[-1.99999988,  1.        ],
         [ 1.5       , -0.5       ]])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.pinv",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.pinv","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","having","shape","``","(","...",",","M",",","N",")","``","and","whose","innermost","two","dimensions","form","``","MxN","``","matrices",".","Should","have","a","floating-point","data","type",".","rtol","relative","tolerance","for","small","singular","values",".","More","details","in","ivy.pinv",".","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","pseudo-inverses",".","More","details","in","ivy.pinv",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","[","1.",",","2",".","]",",","[","3.",",","4",".","]","]",")",">",">",">","y","=","x.pinv","(",")",">",">",">","print","(","y",")","ivy.array","(","[","[","-1.99999988",",","1",".","]",",","[","1.5",",","-0.5","]","]",")",">",">",">","x","=","ivy.array","(","[","[","1.",",","2",".","]",",","[","3.",",","4",".","]","]",")",">",">",">","z","=","ivy.zeros","(","(","2,2",")",")",">",">",">","x.pinv","(","rtol=0",",","out=z",")",">",">",">","print","(","z",")","ivy.array","(","[","[","-1.99999988",",","1",".","]",",","[","1.5",",","-0.5","]","]",")"]
code: def pinv(
      self: ivy.Array,
      /,
      *,
      rtol: Optional[Union[float, Tuple[float]]] = None,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.pinv. This method simply
      wraps the function, and so the docstring for ivy.pinv also applies to
      this method with minimal changes.
  
      Parameters
      ----------
      self
          input array having shape ``(..., M, N)`` and whose innermost two
          dimensions form ``MxN`` matrices. Should have a floating-point data type.
      rtol
          relative tolerance for small singular values. More details in ivy.pinv.
      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 pseudo-inverses. More details in ivy.pinv.
  
      Examples
      --------
      >>> x = ivy.array([[1., 2.], [3., 4.]])
      >>> y = x.pinv()
      >>> print(y)
      ivy.array([[-1.99999988,  1.        ],
             [ 1.5       , -0.5       ]])
  
      >>> x = ivy.array([[1., 2.], [3., 4.]])
      >>> z = ivy.zeros((2,2))
      >>> x.pinv(rtol=0, out=z)
      >>> print(z)
      ivy.array([[-1.99999988,  1.        ],
             [ 1.5       , -0.5       ]])
      """
      return ivy.pinv(self._data, rtol=rtol, out=out)
  
imports: import abc
  from typing import Union, Optional, Literal, Tuple, List, Sequence
  import ivy
label_desc: Use image node_id 17 for calling the _ArrayWithLinearAlgebra obj's underlying member method code with example usage: obj.pinv() and returns: ivy