Changed behavior of log(gamma(x))

This commit is contained in:
Waldir Leoncio 2019-12-16 16:36:51 +01:00
parent 27a296ad00
commit 002c0db3f9
4 changed files with 35 additions and 6 deletions

18
man/log_gamma.Rd Normal file
View file

@ -0,0 +1,18 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/log_gamma.R
\name{log_gamma}
\alias{log_gamma}
\title{Log Gamma}
\usage{
log_gamma(x)
}
\arguments{
\item{x}{number}
}
\value{
log(gamma(x)) for x > 0, Inf otherwise
}
\description{
Equal to log(gamma(x)) with special handling of x < 0 for
Matlab compatibility
}