Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Hypergeometric 1F0

#include <boost/math/special_functions/hypergeometric_1F0.hpp>

namespace boost { namespace math {

template <class T1, class T2>
calculated-result-type hypergeometric_1F0(T1 a, T2 z);

template <class T1, class T2, class Policy>
calculated-result-type hypergeometric_1F0(T1 a, T2 z, const Policy&);

}} // namespaces
Description

The function hypergeometric_1F0 returns the result of:

The return type of these functions is computed using the result type calculation rules when T1 and T2 are different types.

The final Policy argument is optional and can be used to control the behaviour of the function: how it handles errors, what level of precision to use etc. Refer to the policy documentation for more details.

The functions return the result of domain_error whenever the result is undefined or complex. This occurs for z == 1 or 1 - z < 0 and a not an integer.

Implementation

The implementation is trivial:

1F0(a, z) = (1-z)-a


PrevUpHomeNext