docstr: ivy.Array instance method variant of ivy.nextafter. This method
  simply wraps the function, and so the docstring for ivy.nextafter also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      First input array.
  x2
      Second input array.
  out
      Alternate output array in which to place the result.
      The default is None.
  
  Returns
  -------
  ret
      The next representable values of x1 in the direction of x2.
  
  Examples
  --------
  >>> x1 = ivy.array([1.0e-50, 2.0e+50])
  >>> x2 = ivy.array([2.0, 1.0])
  >>> x1.nextafter(x2)
  ivy.array([1.4013e-45., 3.4028e+38])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.nextafter",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.nextafter","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","First","input","array",".","x2","Second","input","array",".","out","Alternate","output","array","in","which","to","place","the","result",".","The","default","is","None",".","Returns","--","--","--","-","ret","The","next","representable","values","of","x1","in","the","direction","of","x2",".","Examples","--","--","--","--",">",">",">","x1","=","ivy.array","(","[","1.0e-50",",","2.0e+50","]",")",">",">",">","x2","=","ivy.array","(","[","2.0",",","1.0","]",")",">",">",">","x1.nextafter","(","x2",")","ivy.array","(","[","1.4013e-45.",",","3.4028e+38","]",")"]
code: def nextafter(
      self: ivy.Array,
      x2: ivy.Array,
      /,
      *,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.nextafter. This method
      simply wraps the function, and so the docstring for ivy.nextafter also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          First input array.
      x2
          Second input array.
      out
          Alternate output array in which to place the result.
          The default is None.
  
      Returns
      -------
      ret
          The next representable values of x1 in the direction of x2.
  
      Examples
      --------
      >>> x1 = ivy.array([1.0e-50, 2.0e+50])
      >>> x2 = ivy.array([2.0, 1.0])
      >>> x1.nextafter(x2)
      ivy.array([1.4013e-45., 3.4028e+38])
      """
      return ivy.nextafter(self._data, x2, out=out)
  
imports: import abc
  from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  import ivy
label_desc: Use image node_id 17 for calling the _ArrayWithElementWiseExperimental obj's underlying member method code with example usage: obj.nextafter() and returns: ivy