nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
Loading...
Searching...
No Matches
dyad.hpp
Go to the documentation of this file.
1
3
// toolboxes/wavelet/include/nk/wavelet/dwt/dyad.hpp
4
//
5
// Dyadic upsample / downsample helpers (dyaddown / dyadup) and wmaxlev.
6
7
#pragma once
8
9
#include <memory_resource>
10
#include <string>
11
#include <nk/value/value.hpp>
12
13
namespace
nk::wavelet {
14
17
18
33
Value
dyaddown
(
const
Value
&x,
int
odd = 0,
char
type =
'c'
,
34
std::pmr::memory_resource *mr =
nullptr
);
35
49
Value
dyadup
(
const
Value
&x,
int
odd = 1,
char
type =
'c'
,
50
std::pmr::memory_resource *mr =
nullptr
);
51
64
Value
wmaxlev
(
const
Value
&N,
const
std::string &wname,
65
std::pmr::memory_resource *mr =
nullptr
);
66
67
69
}
// namespace nk::wavelet
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::wavelet::dyaddown
Value dyaddown(const Value &x, int odd=0, char type='c', std::pmr::memory_resource *mr=nullptr)
Dyadic downsampling — y = dyaddown(x, odd, type).
nk::wavelet::dyadup
Value dyadup(const Value &x, int odd=1, char type='c', std::pmr::memory_resource *mr=nullptr)
Dyadic upsampling with zero insertion — y = dyadup(x, odd, type).
nk::wavelet::wmaxlev
Value wmaxlev(const Value &N, const std::string &wname, std::pmr::memory_resource *mr=nullptr)
Maximum wavelet decomposition level — L = wmaxlev(N, wname).
src
toolboxes
wavelet
include
nk
wavelet
dwt
dyad.hpp
Generated by
1.17.0