DSP Run-Time Library Guide
stats.h — Statistical Functions
Table 4-6
lists the statistical functions defined in the
that are described in
Table 4-6. Stats Functions
Description
Autocoherence
Autocorrelation
Cross-coherence
Cross-correlation
Histogram
Mean
Root Mean Square
Variance
Count Zero
Crossing
4-16
"DSP Run-Time Library Reference" on page
Prototype
void autocohf (const float a[ ], int n,
int m, float c[ ]);
void autocoh_fr16 (const fract16 a[ ], int n,
int m, fract16 c[ ]);
void autocorrf (const float a[ ], int n,
int m, float c[ ]);
void autocorr_fr16 (const fract16 a[ ], int n,
int m, fract16 c[ ]);
void crosscohf (const float a[ ], const float b[ ], int n,
int m, float c[ ]);
void crosscoh_fr16 (const fract16 a[ ], const fract16 b[ ],
int n, int m, fract16 c[ ]);
void crosscorrf (const float a[ ], const float b[ ], int n,
int m, float c[ ]);
void crosscorr_fr16 (const fract16 a[ ], const fract16 b[ ],
int n, int m, fract16 c[ ]);
void histogramf (const float a[ ], int c[ ], float max,
float min, int n, int m);
void histogram_fr16 (const fract16 a[ ], int c[ ],
fract16 max, fract16 min, int n, int m);
float meanf (const float a[ ], int n);
fract16 mean_fr16 (const fract16 a[ ], int n);
float rmsf (const float a[ ], int n);
fract16 rms_fr16 (const fract16 a[ ], int n);
float varf (const float a[ ], int n)
fract16 var_fr16 (const fract16 a[ ], int n);
float zero_crossf (const float a[ ], int n);
fract16 zero_cross_fr16 (const fract16 a[ ], int n);
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
header file
stats.h
4-22.
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers