factorial

Factorial function

📝 Syntax

  • R = factorial(M)

📥 Input argument

  • M - a integer, real single or real double matrix.

📤 Output argument

  • R - result of factorial function.

📄 Description

factorial computes the factorial function: the product of all integers values: 1 _ 2 _ ... * M

💡 Example

R = factorial([1:10])
R = factorial(int8(4))

🔗 See also

gamma.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?