Owning Class: basic
Requires: MathScript RT Module
c = factorial(a)
Computes the factorial of a given number. For all natural numbers a, factorial(a) = a*(a-1)*...*2*1.
| Name | Description |
|---|---|
| a | Specifies a natural number. a must be less than 20. |
| Name | Description |
|---|---|
| c | Returns the factorial of a. c is a scalar. |
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
C = factorial(5)/(factorial(2)*factorial(3))