Skip to content

Function autocorrelate

function autocorrelate(const univector<T, Tag1> &) dft

template <typename T, univector_tag Tag1>
univector<std::remove_const_t<T>> autocorrelate(const univector<T, Tag1>& src)

Computes the auto-correlation of a real or complex signal.

Template parameters
T Element type of the input (may be const-qualified).
Tag1 Storage tag of the input univector.
Parameters
src Input signal.
Returns
The auto-correlation of src for non-negative lags (length src.size() ).

Note

When KFR is built with multiarchitecture support, this function is runtime-dispatched to the best implementation for the current CPU.

Fully qualified name: kfr::autocorrelate(const univector<T, Tag1> &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.