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 "
../smoothing/moving_average.h
"
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__
moving_average.h
Smoothing using simple/weighted moving average.
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:14
baseline
sma.h
Generated by
1.16.1