Writes the order key of every value, stopping at the shorter span.
Definition at line 48 of file OrderKey.hpp.
49{
50 const size_t count = std::min(values.size(), keys.size());
51 for (
size_t i = 0; i <
count; ++i) {
53 }
54}
constexpr uint64_t order_key(double value) noexcept
The order key of a value.
std::vector< double > count(std::span< const double > data, size_t n_windows, uint32_t hop_size, uint32_t window_size)
Sample count per window (as double for pipeline uniformity).
References count(), and order_key().