nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
multilevel.hpp File Reference
#include <memory_resource>
#include <nk/value/value.hpp>
#include <string>
#include <utility>

Go to the source code of this file.

Classes

struct  nk::wavelet::WenergyResult
 Energy distribution of a wavelet decomposition. More...

Functions

std::pair< Value, Value > nk::wavelet::wavedec (const Value &x, int n, const std::string &wname, std::pmr::memory_resource *mr=nullptr)
 Multi-level 1-D DWT ([C, L] = wavedec(x, n, wname)).
Value nk::wavelet::waverec (const Value &C, const Value &L, const std::string &wname, std::pmr::memory_resource *mr=nullptr)
 Inverse of wavedec.
Value nk::wavelet::appcoef (const Value &C, const Value &L, const std::string &wname, int level, std::pmr::memory_resource *mr=nullptr)
 Extract approximation coefficients at a given level (appcoef).
Value nk::wavelet::appcoef_with_filters_pub (const Value &C, const Value &L, const std::vector< double > &Lo_R, const std::vector< double > &Hi_R, int level, std::pmr::memory_resource *mr=nullptr)
 Internal entry: appcoef with explicit synthesis filters.
Value nk::wavelet::detcoef (const Value &C, const Value &L, int level, std::pmr::memory_resource *mr=nullptr)
 Extract detail coefficients at a given level (detcoef(C, L, level)).
Value nk::wavelet::wrcoef (const std::string &type, const Value &c, const Value &l, const std::string &wname, int n, std::pmr::memory_resource *mr=nullptr)
 Single-band reconstruction (wrcoef(type, c, l, wname, n)).
WenergyResult nk::wavelet::wenergy (const Value &C, const Value &L, std::pmr::memory_resource *mr=nullptr)
 Percentage of energy in the approximation and detail bands ([Ea, Ed] = wenergy(C, L)).
Value nk::wavelet::upcoef (const std::string &type, const Value &X, const std::string &wname, int n, long long len=-1, std::pmr::memory_resource *mr=nullptr)
 Direct reconstruction of a single coefficient branch (Y = upcoef(O, X, wname, N[, L])).