TABLE OF CONTENTS
CmiscUtils/dfactorial [ Functions ]
NAME
dfactorial --- compute the factorial of a double
FUNCTION
Factorial function, needed by dnegbin to compute negative binomial density.
SYNOPSIS
609 double dfactorial(double x)
INPUTS
x double
OUTPUTS
x!
SOURCE
613 { 614 return x>1 ? x*dfactorial(x-1) : x; 615 }