Skip to main content

accumulate_values_batch

Function accumulate_values_batch 

Source
pub fn accumulate_values_batch(
    grid: GridView<'_>,
    peaks: PeakBatchView<'_>,
    support: SupportPolicy,
) -> Result<Vec<f64>, ProfileError>
Expand description

Accumulate only calculated profile values for a borrowed peak batch.

This values-only path preserves peak-order summation and exact support semantics while avoiding derivative evaluation and storage.

ยงErrors

Returns ProfileError if support is invalid or allocation fails.