OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
SavitzkyGolay.cpp File Reference
#include "Filters/SavitzkyGolay.h"
#include "gsl/gsl_fft_real.h"
#include "gsl/gsl_fft_halfcomplex.h"
#include <iostream>
#include <cmath>
Include dependency graph for SavitzkyGolay.cpp:

Go to the source code of this file.

Functions

void savgol (std::vector< double > &c, const int &np, const int &nl, const int &nr, const int &ld, const int &m)
void convlv (const std::vector< double > &data, const std::vector< double > &respns, const int &isign, std::vector< double > &ans)
void ludcmp (std::vector< double > &a, std::vector< int > &indx, double &d)
void lubksb (std::vector< double > &a, std::vector< int > &indx, std::vector< double > &b)

Function Documentation

◆ convlv()

void convlv ( const std::vector< double > & data,
const std::vector< double > & respns,
const int & isign,
std::vector< double > & ans )

Definition at line 74 of file SavitzkyGolay.cpp.

References real().

Referenced by SavitzkyGolayFilter::apply(), and SavitzkyGolayFilter::calc_derivative().

Here is the call graph for this function:

◆ lubksb()

void lubksb ( std::vector< double > & a,
std::vector< int > & indx,
std::vector< double > & b )

Definition at line 185 of file SavitzkyGolay.cpp.

References a, and sum().

Referenced by savgol().

Here is the call graph for this function:

◆ ludcmp()

void ludcmp ( std::vector< double > & a,
std::vector< int > & indx,
double & d )

Definition at line 126 of file SavitzkyGolay.cpp.

References a, and sum().

Referenced by savgol().

Here is the call graph for this function:

◆ savgol()

void savgol ( std::vector< double > & c,
const int & np,
const int & nl,
const int & nr,
const int & ld,
const int & m )

Definition at line 32 of file SavitzkyGolay.cpp.

References a, c, lubksb(), ludcmp(), nr, pow(), and sum().

Referenced by SavitzkyGolayFilter::SavitzkyGolayFilter().

Here is the call graph for this function: