nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
fwht.hpp
Go to the documentation of this file.
1
3// toolboxes/signal/include/nk/signal/transforms/fwht.hpp
4#pragma once
5
6#include <memory_resource>
7#include <nk/value/value.hpp>
8#include <string>
9
10namespace nk::signal {
11
14
15
41Value fwht(const Value & x,
42 std::size_t n,
43 const std::string & ordering,
44 std::pmr::memory_resource *mr = nullptr);
45
61Value ifwht(const Value & y,
62 std::size_t n,
63 const std::string & ordering,
64 std::pmr::memory_resource *mr = nullptr);
65
66
68} // namespace nk::signal
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
Value ifwht(const Value &y, std::size_t n, const std::string &ordering, std::pmr::memory_resource *mr=nullptr)
Inverse fast Walsh-Hadamard transform (x = ifwht(y[, n[, ordering]])).
Value fwht(const Value &x, std::size_t n, const std::string &ordering, std::pmr::memory_resource *mr=nullptr)
Fast Walsh-Hadamard transform (y = fwht(x[, n[, ordering]])).