implementation of the beta function, also called the Euler integral of the first kind More...
Go to the source code of this file.
Functions | |
| template<class T > | |
| VNL_EXPORT double | vnl_beta (T x, T y) |
| Computation of beta function in terms of gamma function. More... | |
| template<class T > | |
| VNL_EXPORT double | vnl_log_beta (T x, T y) |
| Computation of the log beta function in terms of the log gamma function. More... | |
implementation of the beta function, also called the Euler integral of the first kind
Definition in file vnl_beta.h.
|
inline |
Computation of beta function in terms of gamma function.
Actually, this implementation refers to vnl_log_gamma, since this involves just a single call to std::exp instead of three.
Definition at line 17 of file vnl_beta.h.
|
inline |
Computation of the log beta function in terms of the log gamma function.
vnl_log_beta is just the std::log (natural logarithm) of the beta function.
Definition at line 27 of file vnl_beta.h.
1.8.15