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

Go to the source code of this file.

Functions

Value nk::comm::rcosdesign (double beta, int span, int sps, const std::string &shape="normal", std::pmr::memory_resource *mr=nullptr)
 Design a raised-cosine or root-raised-cosine FIR filter (h = rcosdesign(beta, span, sps, shape)).
Value nk::comm::gaussdesign (double BT, int span, int sps, std::pmr::memory_resource *mr=nullptr)
 Design a Gaussian FIR pulse-shaping filter (h = gaussdesign(BT, span, sps)).
Value nk::comm::rectpulse (const Value &x, int n, std::pmr::memory_resource *mr=nullptr)
 Rectangular pulse shaping (y = rectpulse(x, n)).
Value nk::comm::intdump (const Value &x, int n, std::pmr::memory_resource *mr=nullptr)
 Integrate-and-dump (y = intdump(x, n)).