docstr: Calculate the minimum value of the input array ``x``.
  
  Parameters
  ----------
  self
      Input array. Should have a real-valued data type.
  axis
      axis or axes along which minimum values must be computed.
      By default, the minimum value must be computed over the
      entire array. If a tuple of integers,minimum values must be
      computed over multiple axes. Default: ``None``.
  
  keepdims
      optional boolean, if ``True``, the reduced axes (dimensions)
      must be included in the result as singleton dimensions, and,
      accordingly, the result must be compatible with the input
      array (see :ref:`broadcasting`). Otherwise, if ``False``, the
      reduced axes (dimensions) must not be included in the
      result. Default: ``False``.
  initial
      The maximum value of an output element.
      Must be present to allow computation on empty slice.
  where
      Elements to compare for minimum
  out
      optional output array, for writing the result to.
  
  Returns
  -------
  ret
      if the minimum value was computed over the entire array, a
      zero-dimensional array containing the minimum value; otherwise,
      a non-zero-dimensional array containing the minimum values.
      The returned array must have the same data type
      as ``x``.
  
  Examples
  --------
  With :code:`ivy.Array` input:
  
  >>> x = ivy.array([3., 4., 5.])
  >>> y = x.min()
  >>> print(y)
  ivy.array(3.)
  
  >>> x = ivy.array([[-1, 0, 1], [2, 3, 4]])
  >>> y = x.min(axis=1)
  >>> print(y)
  ivy.array([-1,  2])
  
  >>> x = ivy.array([0.1, 1.1, 2.1])
  >>> y = ivy.array(0.)
  >>> x.min(out=y)
  >>> print(y)
  ivy.array(0.1)
docstr_tok: ["Calculate","the","minimum","value","of","the","input","array","``","x","``",".","Parameters","--","--","--","--","--","self","Input","array",".","Should","have","a","real-valued","data","type",".","axis","axis","or","axes","along","which","minimum","values","must","be","computed",".","By","default",",","the","minimum","value","must","be","computed","over","the","entire","array",".","If","a","tuple","of","integers",",","minimum","values","must","be","computed","over","multiple","axes",".","Default",":","``","None","``",".","keepdims","optional","boolean",",","if","``","True","``",",","the","reduced","axes","(","dimensions",")","must","be","included","in","the","result","as","singleton","dimensions",",","and",",","accordingly",",","the","result","must","be","compatible","with","the","input","array","(","see",":","ref",":","`","broadcasting","`",")",".","Otherwise",",","if","``","False","``",",","the","reduced","axes","(","dimensions",")","must","not","be","included","in","the","result",".","Default",":","``","False","``",".","initial","The","maximum","value","of","an","output","element",".","Must","be","present","to","allow","computation","on","empty","slice",".","where","Elements","to","compare","for","minimum","out","optional","output","array",",","for","writing","the","result","to",".","Returns","--","--","--","-","ret","if","the","minimum","value","was","computed","over","the","entire","array",",","a","zero-dimensional","array","containing","the","minimum","value",";","otherwise",",","a","non-zero-dimensional","array","containing","the","minimum","values",".","The","returned","array","must","have","the","same","data","type","as","``","x","``",".","Examples","--","--","--","--","With",":","code",":","`","ivy.Array","`","input",":",">",">",">","x","=","ivy.array","(","[","3.",",","4.",",","5",".","]",")",">",">",">","y","=","x.min","(",")",">",">",">","print","(","y",")","ivy.array","(","3",".",")",">",">",">","x","=","ivy.array","(","[","[","-1",",","0",",","1","]",",","[","2",",","3",",","4","]","]",")",">",">",">","y","=","x.min","(","axis=1",")",">",">",">","print","(","y",")","ivy.array","(","[","-1",",","2","]",")",">",">",">","x","=","ivy.array","(","[","0.1",",","1.1",",","2.1","]",")",">",">",">","y","=","ivy.array","(","0",".",")",">",">",">","x.min","(","out=y",")",">",">",">","print","(","y",")","ivy.array","(","0.1",")"]
code: def min(
      self: ivy.Array,
      /,
      *,
      axis: Optional[Union[int, Sequence[int]]] = None,
      keepdims: bool = False,
      initial: Optional[Union[int, float, complex]] = None,
      where: Optional[ivy.Array] = None,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Calculate the minimum value of the input array ``x``.
  
      Parameters
      ----------
      self
          Input array. Should have a real-valued data type.
      axis
          axis or axes along which minimum values must be computed.
          By default, the minimum value must be computed over the
          entire array. If a tuple of integers,minimum values must be
          computed over multiple axes. Default: ``None``.
  
      keepdims
          optional boolean, if ``True``, the reduced axes (dimensions)
          must be included in the result as singleton dimensions, and,
          accordingly, the result must be compatible with the input
          array (see :ref:`broadcasting`). Otherwise, if ``False``, the
          reduced axes (dimensions) must not be included in the
          result. Default: ``False``.
      initial
          The maximum value of an output element.
          Must be present to allow computation on empty slice.
      where
          Elements to compare for minimum
      out
          optional output array, for writing the result to.
  
      Returns
      -------
      ret
          if the minimum value was computed over the entire array, a
          zero-dimensional array containing the minimum value; otherwise,
          a non-zero-dimensional array containing the minimum values.
          The returned array must have the same data type
          as ``x``.
  
      Examples
      --------
      With :code:`ivy.Array` input:
  
      >>> x = ivy.array([3., 4., 5.])
      >>> y = x.min()
      >>> print(y)
      ivy.array(3.)
  
      >>> x = ivy.array([[-1, 0, 1], [2, 3, 4]])
      >>> y = x.min(axis=1)
      >>> print(y)
      ivy.array([-1,  2])
  
      >>> x = ivy.array([0.1, 1.1, 2.1])
      >>> y = ivy.array(0.)
      >>> x.min(out=y)
      >>> print(y)
      ivy.array(0.1)
      """
      return ivy.min(
          self._data,
          axis=axis,
          keepdims=keepdims,
          initial=initial,
          where=where,
          out=out,
      )
  
file_path: ivy/ivy/data_classes/array/statistical.py
imports: from typing import Optional, Union, Sequence
  import abc
  import ivy
label_desc: Use image node_id 1 for calling the _ArrayWithStatistical obj's underlying member method code with example usage: obj.min() and returns: ivy