Var - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

DSP Run-Time Library Reference

var

variance
Synopsis
#include <stats.h>
float varf(a,n)
const float a[];
int n;
fract16 var_fr16(a, n)
const fract16 a[];
int n;
Description
This function computes the variance of the input elements contained
within input vector
Algorithm
n
1
2
n
*
a
i
=
i
0
=
c
n n
(
Domain
38
-3.4 x 10
to +3.4 x 10
-1.0 to +1.0
4-108
and returns the result.
a
n
1
2
(
a
)
i
=
i
0
1
)
38
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
/* Pointer to input vector a
/* Number of input samples
/* Pointer to input vector a
/* Number of input samples
for
varf( )
for
var_fr16( )
for ADSP-219x DSPs
*/
*/
*/
*/

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents