Factorial

Parent Previous Next

Factorial


Factorial function



Syntax


factorial(n)

n is a integer

Return the factorial of n.


n is row/column integer array

Return a vector in which each element is the factorial n[i].


Example


Input

Output

factorial(5)


Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator