Patterns in static

Apophenia

apop_smoothing.c File Reference

Functions


Detailed Description

A few smoothing-type functions, like moving averages.


Function Documentation

apop_model* apop_histogram_moving_average ( apop_model m,
size_t  bandwidth 
)

Return a new histogram that is the moving average of the input histogram.

Parameters:
m A histogram, in apop_model form.
bandwidth The number of elements to be smoothed.
gsl_vector* apop_vector_moving_average ( gsl_vector *  v,
size_t  bandwidth 
)

Return a new vector that is the moving average of the input vector.

Parameters:
v The input vector, unsmoothed
bandwidth The number of elements to be smoothed.

SourceForge.net Logo

Autogenerated by doxygen on 23 Nov 2009.