nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
Loading...
Searching...
No Matches
compand.hpp
Go to the documentation of this file.
1
3
// toolboxes/comm/include/nk/comm/eq/compand.hpp
4
//
5
// μ-law / A-law signal compander.
6
7
#pragma once
8
9
#include <memory_resource>
10
#include <nk/value/value.hpp>
11
#include <string>
12
13
namespace
nk::comm {
14
17
18
39
Value
compand
(
const
Value
&x,
double
param,
double
V,
40
const
std::string &method,
41
std::pmr::memory_resource *mr =
nullptr
);
42
43
45
}
// namespace nk::comm
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::comm::compand
Value compand(const Value &x, double param, double V, const std::string &method, std::pmr::memory_resource *mr=nullptr)
μ-law / A-law signal compander (y = compand(x, param, V, method)).
src
toolboxes
comm
include
nk
comm
eq
compand.hpp
Generated by
1.17.0