nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
extras.hpp File Reference
#include <memory_resource>
#include <nk/value/value.hpp>

Go to the source code of this file.

Functions

Value nk::signal::upfirdn (const Value &x, const Value &h, size_t p, size_t q=1, std::pmr::memory_resource *mr=nullptr)
 Upsample-FIR-Downsample (polyphase) rational rate conversion.
Value nk::signal::interp (const Value &x, size_t r, size_t n=4, double alpha=0.5, std::pmr::memory_resource *mr=nullptr)
 Integer-factor interpolation with a low-pass FIR kernel.
Value nk::signal::intfilt (size_t r, size_t n=4, double alpha=0.5, std::pmr::memory_resource *mr=nullptr)
 Design an FIR interpolation kernel.
Value nk::signal::fftfilt (const Value &b, const Value &x, size_t nfft=0, std::pmr::memory_resource *mr=nullptr)
 Overlap-add FFT-based FIR filtering.