math.erfinv() function
The math.erfinv()
function returns the inverse error function of x
.
Output data type: Float
import "math"
math.erfinv(x: 0.22)
// Returns 0.19750838337227364
Parameters
x
The value used in the operation.
x
should be greater than -1 and less than 1.
Otherwise, the operation will return NaN
.
Special cases
math.erfinv(x: 1) // Returns +Inf
math.erfinv(x: -1) // Returns -Inf
math.erfinv(x: <-1) // Returns NaN
math.erfinv(x: > 1) // Returns NaN
math.erfinv(x: NaN) // Returns NaN
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.