Return the factorial of n. If n is scalar, this is equivalent to prod (1:n). If n is an array, the factorial of the elements of the array are returned.
prod (1:
)