MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_window()

void MayaFlux::Kinesis::Stochastic::Estimate::set_window ( size_t  window)

Sets the window size used by windowed models.

Clears any accumulated window contents; the estimate rebuilds from the next window worth of samples.

Definition at line 21 of file Estimate.cpp.

22{
23 m_window = window == 0 ? 1 : window;
26}
Memory::HistoryBuffer< double > m_history
Definition Estimate.hpp:400
void resize(size_t new_capacity)
Resize buffer capacity.

References m_history, m_state, m_window, MayaFlux::Memory::HistoryBuffer< T >::resize(), and MayaFlux::Kinesis::Stochastic::EstimateState::sample_count.

+ Here is the call graph for this function: