Skip to content

signal.Resampling.Function.resampleAverageRef

Christian d'Heureuse edited this page Jun 7, 2026 · 2 revisions

dsp-collection / signal/Resampling / resampleAverageRef

Function: resampleAverageRef()

function resampleAverageRef(ia, oa): void;

Defined in: signal/Resampling.ts:264

Reference implementation of one-dimensional resampling using averaging interpolation.

This a slow reference implementation. It is simpler to understand than the optimized implementation and produces the same result.

Parameters

ia

ArrayLike<number>

Input array.

oa

MutableArrayLike<number>

output array.

Returns

void

Clone this wiki locally