MayaFlux 1.0.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);
275 }
std::vector< float > * out
double update(double sample)
Feed one new sample, updating the running estimate.
Definition Estimate.cpp:34

References out.