Function opendp::transformations::make_bounded_int_ordered_sum
source · pub fn make_bounded_int_ordered_sum<T>(
bounds: (T, T)
) -> Fallible<Transformation<VectorDomain<AtomDomain<T>>, AtomDomain<T>, InsertDeleteDistance, AbsoluteDistance<T>>>where
T: Number + AddIsExact,
Expand description
Make a Transformation that computes the sum of bounded ints.
You may need to use make_ordered_random
to impose an ordering on the data.
Citations
- CSVW22 Widespread Underestimation of Sensitivity…
- DMNS06 Calibrating Noise to Sensitivity in Private Data Analysis
Arguments
bounds
- Tuple of lower and upper bounds for data in the input domain.
Generics
T
- Atomic Input Type and Output Type