10 #include "vnl/vnl_export.h" 12 #if 1 // implementation via vnl_log_gamma 18 #else // implementation via vnl_gamma; less efficient since it needs 3x std::exp VNL_EXPORT double vnl_beta(T x, T y)
Computation of beta function in terms of gamma function.
double vnl_gamma(double x)
Approximate gamma function.
VNL_EXPORT double vnl_log_beta(T x, T y)
Computation of the log beta function in terms of the log gamma function.
double vnl_log_gamma(double x)
Approximate gamma function.
Complete and incomplete gamma function approximations.