Documentation

math.erfcinv() function

math.erfcinv() returns the inverse of math.erfc().

Function type signature
(x: float) => float

For more information, see Function type signatures.

Parameters

x

(Required) Value to operate on.

x should be greater than 0 and less than 2. Otherwise the operation will return NaN.

Examples

Return the inverse complimentary error function

import "math"

math.erfcinv(x: 0.42345)// 0.5660037715858239

Use math.erfcinv in map

import "math"

data
    |> map(fn: (r) => ({r with _value: math.erfcinv(x: r._value)}))

View example input and output


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more