pub fn make_bounded_sum<MI, T>(
    bounds: (T, T)
) -> Fallible<Transformation<VectorDomain<AtomDomain<T>>, AtomDomain<T>, MI, AbsoluteDistance<T>>>where
    MI: Metric,
    T: MakeBoundedSum<MI>,
    (VectorDomain<AtomDomain<T>>, MI): MetricSpace,
Expand description

Make a Transformation that computes the sum of bounded data. Use make_clamp to bound data.

Citations

Arguments

  • bounds - Tuple of lower and upper bounds for data in the input domain.

Generics

  • MI - Input Metric. One of SymmetricDistance or InsertDeleteDistance.
  • T - Atomic Input Type and Output Type.