Function fold_left_lerp_inplace

Source
pub fn fold_left_lerp_inplace<P>(
    evals: &mut Vec<P>,
    log_evals_size: usize,
    lerp_query: P::Scalar,
) -> Result<(), Error>
where P: PackedField,
Expand description

Inplace left linear interpolation (lerp, single variable) fold

Please note that this method is single threaded. Currently we always have some parallelism above this level, so it’s not a problem. Having no parallelism inside allows us to use more efficient optimizations for special cases. If we ever need a parallel version of this function, we can implement it separately.