Functions
core/vnl/vnl_beta.h File Reference

implementation of the beta function, also called the Euler integral of the first kind More...

#include "vnl_gamma.h"

Go to the source code of this file.

Functions

template<class T >
double vnl_beta (T x, T y)
 Computation of beta function in terms of gamma function.
template<class T >
double vnl_log_beta (T x, T y)
 Computation of the log beta function in terms of the log gamma function.

Detailed Description

implementation of the beta function, also called the Euler integral of the first kind

Author:
Gamze Tunali

Definition in file vnl_beta.h.


Function Documentation

template<class T >
double vnl_beta ( x,
y 
) [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 16 of file vnl_beta.h.

template<class T >
double vnl_log_beta ( x,
y 
) [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 26 of file vnl_beta.h.