sf

open override fun sf(x: Double): Double(source)

Returns the survival function value at x for this Laplace distribution.

The survival function is 1 - cdf(x), computed using the complementary piecewise formula to avoid catastrophic cancellation when the CDF is close to 1.

Return

the probability that a value is greater than x, in the range [0, 1].

Parameters

x

the point at which to evaluate the survival probability.