Skip to contents

Make a Transformation that computes the sum of bounded ints. The effective range is reduced, as (bounds * size) must not overflow.

Usage

make_sized_bounded_int_checked_sum(size, bounds, .T = NULL)

Arguments

size

Number of records in input data.

bounds

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

.T

Atomic Input Type and Output Type

Value

Transformation

Details

make_sized_bounded_int_checked_sum in Rust documentation.

Citations:

Supporting Elements:

  • Input Domain: VectorDomain<AtomDomain<T>>

  • Output Domain: AtomDomain<T>

  • Input Metric: SymmetricDistance

  • Output Metric: AbsoluteDistance<T>