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

Go to the source code of this file.

Functions

Value nk::signal::buffer (const Value &x, int n, int p=0, const Value &opt=Value::Empty, std::pmr::memory_resource *mr=nullptr)
 Partition x into frames of length n.
std::tuple< Value, Value > nk::signal::buffer2 (const Value &x, int n, int p=0, const Value &opt=Value::Empty, std::pmr::memory_resource *mr=nullptr)
 2-output form: [Y, Z] = buffer(x, n, p, opt).