Learn R Programming

HypergeoMat (version 4.0.3)

mvgamma: Multivariate Gamma function (of complex variable)

Description

The multivariate Gamma function (mvgamma) and its logarithm (lmvgamma).

Usage

lmvgamma(x, p)

mvgamma(x, p)

Value

A real or a complex number.

Arguments

x

a real or a complex number; Re(x)>0 for lmvgamma and x must not be a negative integer for mvgamma

p

a positive integer, the dimension

Examples

Run this code
x <- 5
mvgamma(x, p = 2)
sqrt(pi)*gamma(x)*gamma(x-1/2)

Run the code above in your browser using DataLab