Former-commit-id:06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f] Former-commit-id:9f19e3f712
64 lines
802 B
ReStructuredText
Executable file
64 lines
802 B
ReStructuredText
Executable file
Logic functions
|
|
***************
|
|
|
|
.. currentmodule:: numpy
|
|
|
|
Truth value testing
|
|
-------------------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
all
|
|
any
|
|
|
|
Array contents
|
|
--------------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
isfinite
|
|
isinf
|
|
isnan
|
|
isneginf
|
|
isposinf
|
|
|
|
Array type testing
|
|
------------------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
iscomplex
|
|
iscomplexobj
|
|
isfortran
|
|
isreal
|
|
isrealobj
|
|
isscalar
|
|
|
|
Logical operations
|
|
------------------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
logical_and
|
|
logical_or
|
|
logical_not
|
|
logical_xor
|
|
|
|
Comparison
|
|
----------
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
allclose
|
|
array_equal
|
|
array_equiv
|
|
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
greater
|
|
greater_equal
|
|
less
|
|
less_equal
|
|
equal
|
|
not_equal
|