Generalize beta, logbeta, etc. to any number of arguments
benninkrs opened this issue · comments
Is there interest in generalizing the beta function to any number of arguments? A basic implementation of logbeta
would be
logbeta() = -Inf
logbeta(args...) = sum(loggamma.(args)) - loggamma(sum(args))