mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
508 B
508 B
Function factorial
Compute the factorial of a value
n! factorial(n)
Factorial only supports an integer value as argument. For matrices, the function is evaluated element wise.
Parameters
| Parameter | Type | Description |
|---|
Returns
| Type | Description |
|---|---|
| Number | BigNumber | Array | Matrix | res |