in reply to Re^4: Exponential Function Programming
in thread Exponential Function Programming
You do know what "factorial" means, correct? It's really easy to write a routine to calculate factorials. Just remember that 0! is defined as 1. In any case, n! is only defined for non-negative integers (the closely related gamma function is defined for all real numbers). For sufficiently large values of n, n! is approximated by Stirling's approximation.
|
|---|