Mvlgamma
Source:R/gen-namespace-docs.R
, R/gen-namespace-examples.R
, R/gen-namespace.R
torch_mvlgamma.Rd
Mvlgamma
mvlgamma(input, p) -> Tensor
Computes the multivariate log-gamma function <https://en.wikipedia.org/wiki/Multivariate_gamma_function>
_) with dimension
All elements must be greater than
Examples
if (torch_is_installed()) {
a = torch_empty(c(2, 3))$uniform_(1, 2)
a
torch_mvlgamma(a, 2)
}
#> torch_tensor
#> 0.3959 0.5675 0.4083
#> 0.3926 0.4480 0.4206
#> [ CPUFloatType{2,3} ]