Public Types | Static Public Member Functions | Static Private Member Functions | List of all members
PLMD::ves::WaveletGrid Class Reference

#include <WaveletGrid.h>

Public Types

using BinaryMap = std::unordered_map< std::string, std::vector< double > >
 
enum  Type { Type::db, Type::sym }
 

Static Public Member Functions

static std::unique_ptr< GridsetupGrid (unsigned order, unsigned gridsize, bool use_mother_wavelet, Type type)
 
static Type stringToType (std::string &type_str)
 
static std::string typeToString (Type type, bool abbrev=false)
 

Static Private Member Functions

static std::vector< double > calcIntegerValues (const Matrix< double > &M, int deriv)
 
static BinaryMap cascade (std::vector< Matrix< double >> &h_Matvec, std::vector< Matrix< double >> &g_Matvec, const std::vector< double > &values_at_integers, unsigned recursion_number, unsigned bins_per_int, unsigned derivnum, bool use_mother_wavelet)
 
static void fillGridFromMaps (std::unique_ptr< Grid > &grid, const BinaryMap &valuesmap, const BinaryMap &derivsmap)
 
static std::vector< double > getEigenvector (const Matrix< double > &A, double eigenvalue)
 
static std::vector< double > getFilterCoefficients (unsigned order, bool lowpass, Type type)
 
static std::vector< Matrix< double > > setupMatrices (const std::vector< double > &h)
 

Member Typedef Documentation

◆ BinaryMap

using PLMD::ves::WaveletGrid::BinaryMap = std::unordered_map<std::string, std::vector<double> >

Member Enumeration Documentation

◆ Type

Enumerator
db 
sym 

Member Function Documentation

◆ calcIntegerValues()

std::vector< double > PLMD::ves::WaveletGrid::calcIntegerValues ( const Matrix< double > &  M,
int  deriv 
)
staticprivate

◆ cascade()

WaveletGrid::BinaryMap PLMD::ves::WaveletGrid::cascade ( std::vector< Matrix< double >> &  h_Matvec,
std::vector< Matrix< double >> &  g_Matvec,
const std::vector< double > &  values_at_integers,
unsigned  recursion_number,
unsigned  bins_per_int,
unsigned  derivnum,
bool  use_mother_wavelet 
)
staticprivate

◆ fillGridFromMaps()

void PLMD::ves::WaveletGrid::fillGridFromMaps ( std::unique_ptr< Grid > &  grid,
const BinaryMap valuesmap,
const BinaryMap derivsmap 
)
staticprivate

◆ getEigenvector()

std::vector< double > PLMD::ves::WaveletGrid::getEigenvector ( const Matrix< double > &  A,
double  eigenvalue 
)
staticprivate

◆ getFilterCoefficients()

std::vector< double > PLMD::ves::WaveletGrid::getFilterCoefficients ( unsigned  order,
bool  lowpass,
Type  type 
)
staticprivate

◆ setupGrid()

std::unique_ptr< Grid > PLMD::ves::WaveletGrid::setupGrid ( unsigned  order,
unsigned  gridsize,
bool  use_mother_wavelet,
Type  type 
)
static

◆ setupMatrices()

std::vector< Matrix< double > > PLMD::ves::WaveletGrid::setupMatrices ( const std::vector< double > &  h)
staticprivate

◆ stringToType()

WaveletGrid::Type PLMD::ves::WaveletGrid::stringToType ( std::string &  type_str)
static

◆ typeToString()

std::string PLMD::ves::WaveletGrid::typeToString ( Type  type,
bool  abbrev = false 
)
static

The documentation for this class was generated from the following files: