Classification functions

xtensor provides the following classification functions for xexpressions and scalars:

Defined in xtensor/xmath.hpp

template <class E>
auto xt::isfinite(E &&e)

finite value check

Returns an xfunction for the element-wise finite value check tangent of e.

Return
an xfunction
Parameters

template <class E>
auto xt::isinf(E &&e)

infinity check

Returns an xfunction for the element-wise infinity check tangent of e.

Return
an xfunction
Parameters

template <class E>
auto xt::isnan(E &&e)

NaN check.

Returns an xfunction for the element-wise NaN check tangent of e.

Return
an xfunction
Parameters