Function opendp::combinators::make_pureDP_to_fixed_approxDP
source · pub fn make_pureDP_to_fixed_approxDP<DI, TO, MI, QO>(
m: Measurement<DI, TO, MI, MaxDivergence<QO>>
) -> Fallible<Measurement<DI, TO, MI, FixedSmoothedMaxDivergence<QO>>>
Expand description
Constructs a new output measurement where the output measure
is casted from MaxDivergence<QO>
to FixedSmoothedMaxDivergence<QO>
.
Arguments
meas
- a measurement with a privacy measure to be casted
Generics
DI
- Input DomainDO
- Output DomainMI
- Input MetricQO
- Output distance type. One off32
orf64
.