Skip to content

Function reset

function reset(const expression_iir_l<filters, T, E1, Stateless> &) dsp

template <size_t filters, typename T, typename E1, bool Stateless>
KFR_INTRINSIC void reset(const expression_iir_l<filters, T, E1, Stateless>& self)

Clears an IIR cascade's delay-line state while preserving its coefficients.

May be called only between processing passes. For referenced-state expressions, clears the externally owned state.

Parameters
self Look-ahead IIR expression to reset.
Template parameters
filters Number of cascaded biquad sections.
T Floating-point element type.
E1 Type of the wrapped input expression.
Stateless Whether the filter state is externally owned.

Fully qualified name: kfr::reset(const expression_iir_l<filters, T, E1, Stateless> &)

Declared at dsp/biquad.hpp:463

Function reset

function reset(const expression_iir<filters, T, E1, Stateless> &) dsp

template <size_t filters, typename T, typename E1, bool Stateless>
KFR_INTRINSIC void reset(const expression_iir<filters, T, E1, Stateless>& self)

Clears an IIR cascade's delay-line state while preserving its coefficients. May be called only between processing passes. For referenced-state expressions, clears the externally owned state.

Parameters
self Look-ahead IIR expression to reset.
Template parameters
filters Number of cascaded biquad sections.
T Floating-point element type.
E1 Type of the wrapped input expression.
Stateless Whether the filter state is externally owned.

Fully qualified name: kfr::reset(const expression_iir<filters, T, E1, Stateless> &)

Declared at dsp/biquad.hpp:475

Function reset

function reset(const expression_short_fir<tapcount, T, U, E1, stateless> &) dsp

template <size_t tapcount, typename T, typename U, typename E1, bool stateless>
KFR_INTRINSIC void reset(const expression_short_fir<tapcount, T, U, E1, stateless>& self)

Clears a short FIR expression's delay line while preserving its taps.

May be called only between processing passes. For referenced-state expressions, clears the externally owned state.

Parameters
self Short FIR expression to reset.
Template parameters
tapcount Internal padded tap count.
T Coefficient type.
U Sample/value type.
E1 Type of the wrapped input expression.
stateless Whether the filter state is externally owned.

Fully qualified name: kfr::reset(const expression_short_fir<tapcount, T, U, E1, stateless> &)

Declared at dsp/fir.hpp:406

Function reset

function reset(const expression_fir<T, U, E1, stateless> &) dsp

template <typename T, typename U, typename E1, bool stateless>
KFR_INTRINSIC void reset(const expression_fir<T, U, E1, stateless>& self)

Clears a generic FIR expression's delay line while preserving its taps.

May be called only between processing passes. For referenced-state expressions, clears the externally owned state.

Parameters
self FIR expression to reset.
Template parameters
T Coefficient type.
U Sample/value type.
E1 Type of the wrapped input expression.
stateless Whether the filter state is externally owned.

Fully qualified name: kfr::reset(const expression_fir<T, U, E1, stateless> &)

Declared at dsp/fir.hpp:425

Function reset

function reset(const expression_moving_sum<U, E1, STag, stateless> &) dsp

template <typename U, typename E1, univector_tag STag, bool stateless>
KFR_INTRINSIC void reset(const expression_moving_sum<U, E1, STag, stateless>& self)

Clears a moving-sum expression's delay line and restores its cursors.

May be called only between processing passes. For referenced-state expressions, clears the externally owned state.

Parameters
self Moving-sum expression to reset.
Template parameters
U Sample/value type.
E1 Type of the wrapped input expression.
STag Tag of the delay-line storage.
stateless Whether the filter state is externally owned.

Fully qualified name: kfr::reset(const expression_moving_sum<U, E1, STag, stateless> &)

Declared at dsp/fir.hpp:445

Function reset

function reset(const expression_delay<delay, E, stateless, STag> &) dsp

template <size_t delay, typename E, bool stateless, univector_tag STag>
    requires(delay != 1)
KFR_INTRINSIC void reset(const expression_delay<delay, E, stateless, STag>& self)

Clears a multi-sample delay expression's ring buffer and cursor.

May be called only between processing passes. For referenced-state expressions, clears the externally owned state.

Parameters
self Delay expression to reset.
Template parameters
delay Delay length in samples.
E Type of the wrapped input expression.
stateless Whether the delay state is externally owned.
STag Tag of the delay-line storage.

Fully qualified name: kfr::reset(const expression_delay<delay, E, stateless, STag> &)

Declared at dsp/delay.hpp:167

Function reset

function reset(const expression_delay<1, E, stateless, STag> &) dsp

template <typename E, bool stateless, univector_tag STag>
KFR_INTRINSIC void reset(const expression_delay<1, E, stateless, STag>& self)

Clears a one-sample delay expression's stored sample.

May be called only between processing passes. For referenced-state expressions, clears the externally owned state.

Parameters
self Delay expression to reset.
Template parameters
E Type of the wrapped input expression.
stateless Whether the delay state is externally owned.
STag Tag of the delay-line storage.

Fully qualified name: kfr::reset(const expression_delay<1, E, stateless, STag> &)

Declared at dsp/delay.hpp:186

Function reset

function reset(const expression_goertzel<T> &) dsp

template <typename T>
KFR_INTRINSIC void reset(const expression_goertzel<T>& self)

Clears a Goertzel resonator's recursive state.

Calling reset before destruction causes the expression to report an empty DFT bin when it is destroyed.

Parameters
self Goertzel expression to reset.
Template parameters
T Sample and result type.

Fully qualified name: kfr::reset(const expression_goertzel<T> &)

Declared at dsp/goertzel.hpp:194

Function reset

function reset(const expression_parallel_goertzel<T, width> &) dsp

template <typename T, size_t width>
KFR_INTRINSIC void reset(const expression_parallel_goertzel<T, width>& self)

Clears all recursive states in a parallel Goertzel expression.

Calling reset before destruction causes the expression to report empty DFT bins when it is destroyed.

Parameters
self Parallel Goertzel expression to reset.
Template parameters
T Sample and result type.
width Number of parallel resonators.

Fully qualified name: kfr::reset(const expression_parallel_goertzel<T, width> &)

Declared at dsp/goertzel.hpp:212

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