nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
hilbert.hpp
Go to the documentation of this file.
1
3// toolboxes/signal/include/nk/signal/transforms/hilbert.hpp
4#pragma once
5
6#include <memory_resource>
7#include <utility>
8#include <nk/value/value.hpp>
9
10namespace nk::signal {
11
14
15
38 std::pmr::memory_resource * mr = nullptr);
39
48 std::pmr::memory_resource * mr = nullptr);
49
59std::pair<Value, Value>
61 std::pmr::memory_resource * mr = nullptr);
62
78std::pair<Value, Value>
80 int mode,
81 std::size_t n,
82 std::pmr::memory_resource * mr = nullptr);
83
84
86} // namespace nk::signal
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
Value envelope(const Value &x, std::pmr::memory_resource *mr=nullptr)
Amplitude envelope of a real signal: |hilbert(x)|.
std::pair< Value, Value > envelope_full(const Value &x, int mode, std::size_t n, std::pmr::memory_resource *mr=nullptr)
Full multi-mode envelope computation.
std::pair< Value, Value > envelope_pair(const Value &x, std::pmr::memory_resource *mr=nullptr)
2-output envelope (DC-symmetric form).
Value hilbert(const Value &x, std::pmr::memory_resource *mr=nullptr)
Analytic signal via the discrete Hilbert transform.