Computes the Stirling approximation to the gamma function.
Input argument. If x is negative, the node uses the absolute value of x.
Default: 0
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Value of the Stirling function.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
The following approximation defines the Stirling approximation to the gamma function.
The function is defined according to the following interval for the input value.
This node supports the entire domain of this function that produces real-valued results. The function is defined for nonnegative real values of x.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application