pub fn accuracy_to_discrete_gaussian_scale<T>(
    accuracy: T,
    alpha: T
) -> Fallible<T>where
    f64: InfCast<T>,
    T: InfCast<f64>,
Expand description

Convert a desired accuracy (tolerance) into a discrete gaussian noise scale at a statistical significance level alpha.

Arguments

  • accuracy - Desired accuracy. A tolerance for how far values may diverge from the input to the mechanism.
  • alpha - Statistical significance, level-alpha, or (1. - alpha)100% confidence. Must be within (0, 1].

Generics

  • T - Data type of accuracy and alpha

Proof Definition

(Proof Document)