comparison xtract/xtract_scalar.h @ 123:efb1c1ae2ba8

- reimplemented xtract_spectral_variance() xtract_spectral_skewness() and xtract_spectral_kurtosis() using correct maths - removed xtract_spectral_average_deviation()
author Jamie Bullock <jamie@postlude.co.uk>
date Wed, 30 Mar 2011 10:51:39 +0000
parents 2b2d0609e44f
children 2bdf5e248870
comparison
equal deleted inserted replaced
122:571c53e87dbd 123:efb1c1ae2ba8
69 * \param *data: a pointer to the first element in an array of floats 69 * \param *data: a pointer to the first element in an array of floats
70 * \param N: the number of elements to be considered 70 * \param N: the number of elements to be considered
71 * \param *argv: a pointer to a float representing the mean of the input vector 71 * \param *argv: a pointer to a float representing the mean of the input vector
72 * \param *result: the average deviation of N values from the array pointed to by *data 72 * \param *result: the average deviation of N values from the array pointed to by *data
73 */ 73 */
74 int xtract_average_deviation(const float *data, const int N, const void *argv, float *result); 74 /*int xtract_average_deviation(const float *data, const int N, const void *argv, float *result);
75 */
75 76
76 /** \brief Extract the skewness of an input vector 77 /** \brief Extract the skewness of an input vector
77 * 78 *
78 * \param *data: a pointer to the first element in an array of floats 79 * \param *data: a pointer to the first element in an array of floats
79 * \param N: the number of elements to be considered 80 * \param N: the number of elements to be considered