Math.LGamma¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input float or sequence of floats to calculate the log gamma function of. | Float Float2 Float3 Float4 Color [Any] |
||
Output ➡️ |
Outputs the log gamma function of the input. The output is always positive for positive inputs. | Float Float2 Float3 Float4 Color [Any] |
This shard calculates the log gamma function of the given input. The log gamma function is the natural logarithm of the absolute value of the gamma function.
Details¶
If a sequence of floats was provided as input, the shard will calculate the log gamma function for each element in the sequence and output a sequence.
If a sequence of vectors was provided as input, the shard will calculate the log gamma function for each component in each vector in the sequence and output a sequence of vectors where each component in each vector is the result of the log gamma function calculation of the corresponding component in the input sequence.
Examples¶
1 2 3 |
|
[info] [sample-wire] @f3(0 0.572365 12.8018)