Scilab 6.0.0
Aide de Scilab >> Fonctions spéciales > gamma
gamma
The gamma function.
Syntax
y = gamma(x)
Arguments
- x
real vector or matrix
- y
real vector or matrix with same size than x.
Description
gamma(x)
evaluates the gamma function at all the
elements of x
. The gamma function is defined by
:
and generalizes the factorial function for real numbers
(gamma(n+1) = n!
).
Examples
// simple examples gamma(0.5) gamma(6)-prod(1:5)
See Also
History
Version | Description |
5.4.0 | Overloading allowed for list, mlist, tlist and hypermatrix types. |
Comments
Add a comment:
Please login to comment this page.