The gamma function is defined as:

This extends the factorial values so that for .