This bijector maps inputs from [0, inf] to [0, 1]. The inverse of the bijector applied to a uniform random variable X ~ U(0, 1) gives back a random variable with the Rayleigh distribution:

Y ~ Rayleigh(scale)
pdf(y; scale, y >= 0) = (1 / scale) * (y / scale) * exp(-(y / scale)**2 / 2)
tfb_rayleigh_cdf(scale, validate_args = FALSE, name = "rayleigh_cdf")

Arguments

scale

Positive floating-point tensor. This is l in Y = g(X) = 1 - exp( -(X/l)**2 / 2 ), X >= 0.

validate_args

Logical, default FALSE. Whether to validate input with asserts. If validate_args is FALSE, and the inputs are invalid, correct behavior is not guaranteed.

name

name prefixed to Ops created by this class.

Value

a bijector instance.

Details

Likewise, the forward of this bijector is the Rayleigh distribution CDF.

See also