<< Miscellaneous Miscellaneous corrcoef >>

stixbox >> stixbox > Miscellaneous > betaln

betaln

Logarithm of Beta Function

Calling Sequence

L = betaln(z,w)

Parameters

z :

a matrix of doubles, the first shape parameter, z>=0.

w :

a matrix of doubles, the second shape parameter, w>=0.

L :

a matrix of doubles, the function value.

Description

Computes the logarithme of the Beta function.

The logarithm of the Beta function is defined by

\begin{eqnarray}
\log(B(z,w)) = \log(\Gamma(z)) + \log(\Gamma(w)) - \log(\Gamma(z+w))
\end{eqnarray}

Examples

x=510
betaln(x,x)

Authors


Report an issue
<< Miscellaneous Miscellaneous corrcoef >>