#include <memory_resource>#include <nk/value/value.hpp>Go to the source code of this file.
Functions | |
| Value | nk::signal::nextpow2 (double n, std::pmr::memory_resource *mr=nullptr) |
| Smallest integer p such that \( 2^p \ge n \) (scalar form). | |
| Value | nk::signal::nextpow2 (const Value &x, std::pmr::memory_resource *mr=nullptr) |
| Vectorised nextpow2 — applies elementwise to an array. | |
| Value | nk::signal::fftshift (const Value &x, std::pmr::memory_resource *mr=nullptr) |
| DC-to-center reordering for FFT output (multidim form). | |
| Value | nk::signal::ifftshift (const Value &x, std::pmr::memory_resource *mr=nullptr) |
| Inverse of fftshift — shift by floor(extent/2). | |
| Value | nk::signal::fftshift (const Value &x, int dim, std::pmr::memory_resource *mr=nullptr) |
| Single-dim fftshift — shift only along axis dim. | |
| Value | nk::signal::ifftshift (const Value &x, int dim, std::pmr::memory_resource *mr=nullptr) |
| Single-dim ifftshift — inverse of single-dim fftshift. | |