Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
The factorial function
f = factorial ( n )
- n :
a matrix of doubles. Must contain positive integers.
- f :
a matrix of doubles.
Returns the factorial of n, that is, the product of all integers 1 * 2 * ... * n.
This function overflows as soon as n>170.
Introduction to discrete probabilities, Michael Baudin