xtensor
Loading...
Searching...
No Matches
Error and gamma functions

Functions

template<class E >
auto xt::erf (E &&e) noexcept -> detail::xfunction_type_t< math::erf_fun, E >
 Error function.
 
template<class E >
auto xt::erfc (E &&e) noexcept -> detail::xfunction_type_t< math::erfc_fun, E >
 Complementary error function.
 
template<class E >
auto xt::tgamma (E &&e) noexcept -> detail::xfunction_type_t< math::tgamma_fun, E >
 Gamma function.
 
template<class E >
auto xt::lgamma (E &&e) noexcept -> detail::xfunction_type_t< math::lgamma_fun, E >
 Natural logarithm of the gamma function.
 

Detailed Description

Function Documentation

◆ erf()

template<class E >
auto xt::erf ( E && e) -> detail::xfunction_type_t<math::erf_fun, E>
inlinenoexcept

Error function.

Returns an xfunction for the element-wise error function of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 1509 of file xmath.hpp.

◆ erfc()

template<class E >
auto xt::erfc ( E && e) -> detail::xfunction_type_t<math::erfc_fun, E>
inlinenoexcept

Complementary error function.

Returns an xfunction for the element-wise complementary error function of e, whithout loss of precision for large argument.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 1524 of file xmath.hpp.

◆ lgamma()

template<class E >
auto xt::lgamma ( E && e) -> detail::xfunction_type_t<math::lgamma_fun, E>
inlinenoexcept

Natural logarithm of the gamma function.

Returns an xfunction for the element-wise logarithm of the asbolute value fo the gamma function of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 1554 of file xmath.hpp.

◆ tgamma()

template<class E >
auto xt::tgamma ( E && e) -> detail::xfunction_type_t<math::tgamma_fun, E>
inlinenoexcept

Gamma function.

Returns an xfunction for the element-wise gamma function of e.

Parameters
ean xexpression
Returns
an xfunction

Definition at line 1539 of file xmath.hpp.