![]() |
CMSIS-DSP
Version 1.4.7
CMSIS DSP Software Library
|
variance = ((x[0] - x') * (x[0] - x') + (x[1] - x') * (x[1] - x') + ... + * (x[n-1] - x') * (x[n-1] - x')) / (N-1)where,
x[n] is the input sequence, N is the number of input samples, and x' is the mean value of the input sequence, x[n]. x' is defined as: x' = (x[0] + x[1] + ... + x[n-1]) / N
testInput_f32 points to the input data wire1, wir2, wire3 temporary buffers blockSize number of samples processed at a time refVarianceOut reference variance value