#include <memory_resource>#include <nk/value/value.hpp>#include <utility>Go to the source code of this file.
Classes | |
| struct | nk::control::Tf2ZpResult |
| Result of tf2zp — zeros, poles, and gain from tf coefficients. More... | |
| struct | nk::control::StateSpace |
| State-space realisation (A, B, C, D), the result of tf2ss. More... | |
Functions | |
| Tf2ZpResult | nk::control::tf2zp (const Value &num, const Value &den, std::pmr::memory_resource *mr=nullptr) |
| Convert tf coefficients to zero-pole-gain form. | |
| std::pair< Value, Value > | nk::control::zp2tf (const Value &z, const Value &p, const Value &k, std::pmr::memory_resource *mr=nullptr) |
| Convert zero-pole-gain form to tf coefficients. | |
| StateSpace | nk::control::tf2ss (const Value &num, const Value &den, std::pmr::memory_resource *mr=nullptr) |
| Convert tf coefficients to controllable canonical state-space. | |
| std::pair< Value, Value > | nk::control::ss2tf (const Value &A, const Value &B, const Value &C, const Value &D, int iu, std::pmr::memory_resource *mr=nullptr) |
| Convert state-space to tf coefficients. | |
| Value | nk::control::minreal (const Value &sys, double tol=0.0, std::pmr::memory_resource *mr=nullptr) |
| Minimal realization — cancel pole/zero pairs (sysr = minreal(sys, tol)). | |