Skip to contents

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

Usage

prim_erf_inv(operand)

Arguments

operand

(arrayish)
Arrayish value of data type floating-point.

Value

arrayish
Has the same shape and data type as the input. It is ambiguous if the input is ambiguous.

Implemented Rules

  • stablehlo

  • reverse

StableHLO

Lowers to stablehlo::hlo_erf_inv().

See also

Examples

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