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

Go to the source code of this file.

Functions

std::tuple< Value, Value, Value > nk::signal::shiftdata (const Value &x, int dim=0, std::pmr::memory_resource *mr=nullptr)
 Move a chosen dimension to the leading axis for dim-aware processing.
Value nk::signal::unshiftdata (const Value &x, const Value &perm, const Value &nshifts, std::pmr::memory_resource *mr=nullptr)
 Inverse of shiftdata.