nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
poly_utils.hpp
Go to the documentation of this file.
1
3// toolboxes/signal/include/nk/signal/digital_filtering/poly_utils.hpp
4//
5// Signal-processing polynomial utilities.
6
7#pragma once
8
9#include <memory_resource>
10#include <nk/value/value.hpp>
11
12namespace nk::signal {
13
16
17
34Value polyscale(const Value &p, const Value &scale,
35 std::pmr::memory_resource *mr = nullptr);
36
51Value polystab(const Value &a, std::pmr::memory_resource *mr = nullptr);
52
53
55} // namespace nk::signal
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
Value polyscale(const Value &p, const Value &scale, std::pmr::memory_resource *mr=nullptr)
Radial scaling of polynomial roots (y = polyscale(p, scale)).
Value polystab(const Value &a, std::pmr::memory_resource *mr=nullptr)
Stabilise a polynomial (b = polystab(a)).