Skip to content

Math.TGamma

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to calculate the gamma function of. FloatFloat2Float3Float4Color[Any]Audio
Output ➡️ Outputs the gamma function of the input. Always positive for positive inputs. FloatFloat2Float3Float4Color[Any]Audio

This shard calculates the gamma function of the given input.

Details

If a sequence of floats was provided as input, the shard will calculate the 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 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 gamma function calculation of the corresponding component in the input sequence.

Examples

1
2
10.0 | Math.TGamma | Log
Assert.IsAlmost(362880.0 Break: true)

[info] [sample-wire] 362880