Skip to contents

Element-wise inverse error function (the inverse of erf on (-1, 1)).

Usage

nv_erf_inv(operand)

Arguments

operand

(arrayish)
Operand.

Value

arrayish
Has the same shape and data type as the input.

See also

prim_erf_inv() for the underlying primitive.

Examples

x <- nv_array(c(-0.5, 0, 0.5))
nv_erf_inv(x)
#> AnvlArray
#>  -0.4769
#>   0.0000
#>   0.4769
#> [ CPUf32{3} ]