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