Function smartnoise_runtime::components::resize::resize_integer[][src]

pub fn resize_integer(
    data: ArrayD<Integer>,
    resize_config: RowResizeConfig,
    number_cols: Option<i64>,
    lower: ArrayD<Integer>,
    upper: ArrayD<Integer>,
    privacy_definition: &Option<PrivacyDefinition>
) -> Result<ArrayD<Integer>>

Resizes data (made up exclusively of i64) based on estimate of n and true size of data.

Arguments

Return

A resized version of data consistent with the provided n