22#include <memory_resource>
23#include <nk/value/value.hpp>
43 std::pmr::memory_resource * mr =
nullptr);
59 std::pmr::memory_resource * mr =
nullptr);
74 std::pmr::memory_resource * mr =
nullptr);
86 std::pmr::memory_resource *mr =
nullptr);
101 std::pmr::memory_resource * mr =
nullptr);
114 std::pmr::memory_resource *mr =
nullptr);
126 std::pmr::memory_resource *mr =
nullptr);
143 std::pmr::memory_resource * mr =
nullptr);
155 std::pmr::memory_resource * mr =
nullptr);
165 std::pmr::memory_resource *mr =
nullptr);
175 std::pmr::memory_resource *mr =
nullptr);
188 std::pmr::memory_resource * mr =
nullptr);
Core MATLAB-compatible multidimensional array and scalar value type.
static const Value Empty
MATLAB-style empty matrix sentinel — a 0×0 DOUBLE value.
Value undershoot(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Percent undershoot below the lower state level.
Value pulseperiod(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Period between consecutive same-direction mid-state crossings.
Value risetime(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Rise time of positive-going transitions.
Value pulsewidth(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Duration each pulse stays above the mid-state.
Value settlingtime(const Value &x, const Value &fs=Value::Empty, double tol=0.02, std::pmr::memory_resource *mr=nullptr)
Settling time of each transition.
Value statelevels(const Value &x, std::pmr::memory_resource *mr=nullptr)
Estimate the [low, high] state levels of a step-shaped signal.
Value overshoot(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Percent overshoot above the upper state.
Value pulsesep(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Separation between consecutive pulses (time below mid-state).
Value falltime(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Fall time of negative-going transitions (90% → 10%).
Value dutycycle(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Duty cycle: fraction of each pulse period spent above the mid-state.
Value midcross(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Mid-state crossing times.
Value slewrate(const Value &x, const Value &fs=Value::Empty, std::pmr::memory_resource *mr=nullptr)
Slew rate of each transition.