sized bounded float checked sum constructor
Source:R/transformations.R
make_sized_bounded_float_checked_sum.Rd
Make a Transformation that computes the sum of bounded floats with known dataset size.
Details
This uses a restricted-sensitivity proof that takes advantage of known dataset size for better utility.
S (summation algorithm) | input type |
Sequential<S::Item> | Vec<S::Item> |
Pairwise<S::Item> | Vec<S::Item> |
S::Item
is the type of all of the following:
each bound, each element in the input data, the output data, and the output sensitivity.
For example, to construct a transformation that pairwise-sums f32
half-precision floats,
set S
to Pairwise<f32>
.
Required features: contrib
make_sized_bounded_float_checked_sum in Rust documentation.
Citations:
Supporting Elements:
Input Domain:
VectorDomain<AtomDomain<S::Item>>
Output Domain:
AtomDomain<S::Item>
Input Metric:
SymmetricDistance
Output Metric:
AbsoluteDistance<S::Item>