Math.Erf¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input float or sequence of floats to calculate the error function of. This can be any real number. | Float Float2 Float3 Float4 Color [Any] |
||
Output ➡️ |
Outputs probability result of the error function of the input. The output is always between -1 and 1. | Float Float2 Float3 Float4 Color [Any] |
This shard calculates the error function of the given input. The error function is related to the probability that a random variable with normal distribution of mean 0 and variance 1/2 falls in the range specified by the input value.
Details¶
If a sequence of floats was provided as input, the shard will calculate error function for each element in the sequence and output a sequence.
If a sequence of vectors was provided as input, the shard will calculate error 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 error function calculation of the corresponding component in the input sequence.
Examples¶
1 2 3 4 5 |
|