Skip to contents

Evaluated in log space: the first term carries exp((alpha-1)/lambda), which overflows for large alpha – and large alpha is exactly where the curve is read, since the epsilon tends to the pure-DP 1/lambda.

Usage

morie_rdp_laplace(alpha, lam, sensitivity = 1)

Arguments

alpha

Renyi order, must exceed 1.

lam

Noise scale.

sensitivity

Query sensitivity.

Value

The RDP epsilon at alpha.

Examples

morie_rdp_laplace(2, 1.0)
#> [1] 0.6191236