Scilab 5.5.1

Please note that the recommended version of Scilab is 6.1.0. This page might be outdated.

See the recommended documentation of this function

# factorial

The factorial function

### Calling Sequence

f = factorial ( n )

### Parameters

- n :
a matrix of doubles. Must contain positive integers.

- f :
a matrix of doubles.

### Description

Returns the factorial of n, that is, the product of all integers 1 * 2 * ... * n.

This function overflows as soon as n>170.

### Examples

### Bibliography

Introduction to discrete probabilities, Michael Baudin

## Comments

Add a comment:Please login to comment this page.