Logic functions
===============

.. Hint:: `NumPy API Reference: Logic functions <https://numpy.org/doc/stable/reference/routines.logic.html>`_

.. currentmodule:: cupy

Truth value testing
-------------------

.. autosummary::
   :toctree: generated/

   all
   any
   union1d


Array contents
--------------

.. autosummary::
   :toctree: generated/

   isfinite
   isinf
   isnan
   isneginf
   isposinf


Array type testing
------------------

.. autosummary::
   :toctree: generated/

   iscomplex
   iscomplexobj
   isfortran
   isreal
   isrealobj
   isscalar


Logic operations
----------------

.. autosummary::
   :toctree: generated/

   logical_and
   logical_or
   logical_not
   logical_xor


Comparison
----------

.. autosummary::
   :toctree: generated/

   allclose
   isclose
   array_equal
   array_equiv
   greater
   greater_equal
   less
   less_equal
   equal
   not_equal
