# Classification functions

xtensor provides the following classification functions for xexpressions and scalars:

Defined in `xtensor/core/xmath.hpp`

Warning

doxygenfunction: Unable to resolve function “isfinite” with arguments (E&&) in doxygen xml output for project “xtensor” from directory: ../xml. Potential matches:

    - template<class T> bool isfinite(const std::complex<T> &c)
    - template<class T> std::enable_if_t<xtl::is_arithmetic<T>::value, bool> isfinite(const T &t)

Warning

doxygenfunction: Unable to resolve function “isinf” with arguments (E&&) in doxygen xml output for project “xtensor” from directory: ../xml. Potential matches:

    - template<class T> bool isinf(const std::complex<T> &c)
    - template<class T> std::enable_if_t<xtl::is_arithmetic<T>::value, bool> isinf(const T &t)

Warning

doxygenfunction: Unable to resolve function “isnan” with arguments (E&&) in doxygen xml output for project “xtensor” from directory: ../xml. Potential matches:

    - template<class T> bool isnan(const std::complex<T> &c)
    - template<class T> std::enable_if_t<xtl::is_arithmetic<T>::value, bool> isnan(const T &t)

Warning

doxygenfunction: Cannot find function “isclose” in doxygen xml output for project “xtensor” from directory: ../xml

Warning

doxygenfunction: Cannot find function “allclose” in doxygen xml output for project “xtensor” from directory: ../xml