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
13
namespace
sablib {
14
23
SABLIB_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__
result_type.h
Common definition of return value for baseline estimation functions.
sablib::BaselineSMA
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
sablib::BaselineResult
Return value structure for baseline estimation functions.
Definition
result_type.h:19
baseline
sma.h
Generated by
1.16.1