sablib
Loading...
Searching...
No Matches
sma.h
Go to the documentation of this file.
1
6
7#ifndef __SABLIB_SMA_H__
8#define __SABLIB_SMA_H__
9
10#include <vector>
11
12namespace sablib {
13
22const std::vector<double> BaselineSMA(std::vector<double> & y, const unsigned int n, const unsigned int loop = 50);
23
24}; // namespace sablib
25
26#endif // __SABLIB_SMA_H__
const std::vector< double > BaselineSMA(std::vector< double > &y, const unsigned int n, const unsigned int loop)
Performs background estimation using a simple moving average.
Definition sma.cpp:16