sablib
Loading...
Searching...
No Matches
moving_median.h
Go to the documentation of this file.
1
6
7#ifndef __SABLIB_MOVING_MEDIAN_H__
8#define __SABLIB_MOVING_MEDIAN_H__
9
10#include <stdexcept>
11#include <vector>
12
13#include "sablib_export.h"
14
15namespace sablib {
16
25SABLIB_EXPORT const std::vector<double> MovingMedian(const std::vector<double> & y, const unsigned int n);
26
27}; // namespace sablib
28
29#endif // __SABLIB_MOVING_MEDIAN_H__
const std::vector< double > MovingMedian(const std::vector< double > &y, const unsigned int n)
Performs moving median smoothing.