@skybloxsystems/ticket-bot
Version:
44 lines (27 loc) • 897 B
Markdown
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
Compute the factorial of a value
Factorial only supports an integer value as argument.
For matrices, the function is evaluated element wise.
```js
math.factorial(n)
```
Parameter | Type | Description
--------- | ---- | -----------
`n` | number &
Type | Description
---- | -----------
number &
```js
math.factorial(5) // returns 120
math.factorial(3) // returns 6
```
[](combinations.md),
[](combinationsWithRep.md),
[](gamma.md),
[](permutations.md)