Skip to content

Math.Erfc

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to calculate the complementary error function of. This can be any real number. FloatFloat2Float3Float4Color[Any]
Output ➡️ Outputs the probability result of the complementary error function of the input. The output is always between 0 and 2. FloatFloat2Float3Float4Color[Any]

This shard calculates the complementary error function of the given input. The complementary error function is related to the probability that the absolute value of a random variable with normal distribution of mean 0 and variance 1/2 is greater than the input value.

Details

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

Examples

1
2
@f3(0.0 1.0 2.0)
Math.Erfc | Log