...one of the most highly
regarded and expertly designed C++ library projects in the
world.

— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 9d7de5a977.

#include <boost/math/special_functions/hypergeometric_1F0.hpp> namespace boost { namespace math { template <class T1, class T2>calculated-result-typehypergeometric_1F0(T1 a, T2 z); template <class T1, class T2, class Policy>calculated-result-typehypergeometric_1F0(T1 a, T2 z, const Policy&); }} // namespaces

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.

The implementation is trivial:

_{1}F_{0}(a, z) = (1-z)^{-a}