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
12
namespace
sablib {
13
22
const
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__
sablib::BaselineSMA
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
GitHub
sablib
sablib
baseline
sma.h
Generated by
1.16.1