nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
findpeaks.hpp
Go to the documentation of this file.
1
3// toolboxes/signal/include/nk/signal/measurements/findpeaks.hpp
4#pragma once
5
6#include <memory_resource>
7#include <nk/value/value.hpp>
8
9#include <tuple>
10
11namespace nk::signal {
12
15
16
35std::tuple<Value, Value>
36findpeaks(const Value & x,
37 std::pmr::memory_resource * mr = nullptr);
38
39
41} // namespace nk::signal
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
std::tuple< Value, Value > findpeaks(const Value &x, std::pmr::memory_resource *mr=nullptr)
Locate strict local maxima in a signal.