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

◆ update_into()

void MayaFlux::Kinesis::Stochastic::Estimate::update_into ( double  sample,
Memory::HistoryBuffer< double > &  out 
)
inline

Feed one sample and push the filtered result into a HistoryBuffer.

Parameters
sampleRaw value for this step
outHistory buffer to receive the filtered value, so a caller can hand this buffer directly to Kinesis::Differential instead of maintaining a separate raw-sample buffer

Equivalent to update(sample) followed by out.push(value()), given as one call since running an Estimate purely to feed Differential is the primary intended usage rather than an incidental one.

Definition at line 271 of file Estimate.hpp.

272 {
273 update(sample);
274 out.push(m_state.filtered_value);
275 }
double update(double sample)
Feed one new sample, updating the running estimate.
Definition Estimate.cpp:34

References MayaFlux::Memory::HistoryBuffer< T >::push().

+ Here is the call graph for this function: