Error and gamma functions¶
xtensor provides the following error and gamma functions for xexpressions:
Defined in xtensor/xmath.hpp
-
template<class
E
>
autoxt
::
erf
(E &&e) noexcept -> detail::xfunction_type_t<math::erf_fun, E>¶ Error function.
Returns an xfunction for the element-wise error function of e.
- Return
an xfunction
- Parameters
e
: an xexpression
-
template<class
E
>
autoxt
::
erfc
(E &&e) noexcept -> detail::xfunction_type_t<math::erfc_fun, E>¶ Complementary error function.
Returns an xfunction for the element-wise complementary error function of e, whithout loss of precision for large argument.
- Return
an xfunction
- Parameters
e
: an xexpression