sablib
Loading...
Searching...
No Matches
arpls.h
Go to the documentation of this file.
1
9
10#ifndef __SABLIB_ARPLS_H__
11#define __SABLIB_ARPLS_H__
12
13#include <stdexcept>
14
15#include "result_type.h"
16#include "sablib_export.h"
17
18namespace sablib {
19
31SABLIB_EXPORT const BaselineResult BaselineArPLS(
32 const std::vector<double> & y, const double lambda, const unsigned int s = 2,
33 const unsigned int loop = 50, const double eps = 1e-3
34);
35
36}; // namespace sablib
37
38#endif // __SABLIB_ARPLS_H__
const BaselineResult BaselineArPLS(const std::vector< double > &y, const double lambda, const unsigned int s, const unsigned int loop, const double eps)
Performs baseline estimation using asymmetrically reweighted Penalized Least Squares(arPLS).
Definition arpls.cpp:18
Common definition of return value for baseline estimation functions.
Return value structure for baseline estimation functions.
Definition result_type.h:19