The R Project SVN R

Rev

Rev 68948 | Rev 81560 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 74363
Line 62... Line 62...
62
  (Abramowitz and Stegun section 6.1.1, page 255)
62
  (Abramowitz and Stegun section 6.1.1, page 255)
63
  \deqn{\Gamma(x) = \int_0^\infty t^{x-1} e^{-t} dt}{\Gamma(x) = integral_0^Inf t^(x-1) exp(-t) dt}
63
  \deqn{\Gamma(x) = \int_0^\infty t^{x-1} e^{-t} dt}{\Gamma(x) = integral_0^Inf t^(x-1) exp(-t) dt}
64
  for all real \code{x} except zero and negative integers (when
64
  for all real \code{x} except zero and negative integers (when
65
  \code{NaN} is returned).  There will be a warning on possible loss of
65
  \code{NaN} is returned).  There will be a warning on possible loss of
66
  precision for values which are too close (within about
66
  precision for values which are too close (within about
67
  \eqn{10^{-8}}{1e-8})) to a negative integer less than \samp{-10}.
67
  \eqn{10^{-8}}{1e-8}) to a negative integer less than \samp{-10}.
68
 
68
 
69
  \code{factorial(x)} (\eqn{x!} for non-negative integer \code{x})
69
  \code{factorial(x)} (\eqn{x!} for non-negative integer \code{x})
70
  is defined to be \code{gamma(x+1)} and \code{lfactorial} to be
70
  is defined to be \code{gamma(x+1)} and \code{lfactorial} to be
71
  \code{lgamma(x+1)}.
71
  \code{lgamma(x+1)}.
72
 
72