float sum_f(float *array, uint32_t n_elements)
Compute the sum array elements.
int32_t variance_i(int32_t *array, uint32_t n_elements)
Compute the variance of an array of values (integer).
float mean_f(float *arr, uint32_t n_elements)
Compute the mean value of an array (float)
int32_t covariance_i(int32_t *array1, int32_t *array2, uint32_t n_elements)
Compute the covariance of two arrays V(X) = E[(X-E[X])(Y-E[Y])] = E[XY] - E[X]E[Y] where E[X] is the ...
int32_t mean_i(int32_t *array, uint32_t n_elements)
Compute the mean value of an array This is implemented using floats to handle scaling of all variable...
float covariance_f(float *array1, float *array2, uint32_t n_elements)
Compute the covariance of two arrays V(X) = E[(X-E[X])(Y-E[Y])] = E[XY] - E[X]E[Y] where E[X] is the ...
float variance_f(float *array, uint32_t n_elements)
Compute the variance of an array of values (float).
int int32_t
Typedef defining 32 bit int type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.