OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Classes | Functions
SavitzkyGolay.h File Reference
#include "Filters/Filter.h"
Include dependency graph for SavitzkyGolay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SavitzkyGolayFilter
 

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 Hypervolume::n, and 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, Hypervolume::n, 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, abs(), endl(), Hypervolume::n, 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, Physics::c, endl(), lubksb(), ludcmp(), nr, pow(), and sum().

Referenced by SavitzkyGolayFilter::SavitzkyGolayFilter().

Here is the call graph for this function: