|
Contents | Previous | Next | Subchapters |
| Syntax |
gamma(x) |
| See Also | gammln , gammainc , factorl |
+inf
/ - t (x - 1)
gamma(x) = | e t dt
/
0
You can use integration by parts to note that
if x is equal to an integer greater than zero,
gamma(x) = (x - 1) !
x = seq(4)
gamma(x)
O-Matrix will reply
{
1
1
2
6
}