View source on GitHub |
Computes the scaled complementary error function exp(x**) * erfc(x).
tfp.substrates.jax.math.erfcx(
x, name=None
)
References
[1] M. Shepherd and J. Laframboise, Chebyshev approximation of (1 + 2 * x) * exp(x**2) * erfc(x) https://www.ams.org/journals/mcom/1981-36-153/S0025-5718-1981-0595058-X/
Args | |
---|---|
x
|
A Tensor with type float32 or float64 .
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
erfcx
|
erfcx(x) evaluated at x . A Tensor with the same shape and same
dtype as x .
|