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 "result_type.h"
11#include "sablib_export.h"
12
13namespace sablib {
14
23SABLIB_EXPORT const BaselineResult BaselineSMA(const std::vector<double> & y, const unsigned int n, const unsigned int loop = 50);
24
25}; // namespace sablib
26
27#endif // __SABLIB_SMA_H__
Common definition of return value for baseline estimation functions.
const BaselineResult BaselineSMA(const std::vector< double > &y, const unsigned int n, const unsigned int loop)
Performs background estimation using a simple moving average.
Definition sma.cpp:16
Return value structure for baseline estimation functions.
Definition result_type.h:19