pub trait TimeMatrixFold<T>: TimeMatrixTick {
// Required method
fn fold(&mut self, sample: Timed<T>) -> Result<(), FoldError>;
}Expand description
A TimeMatrix type that can sample data.
This trait provides fold operations for TimeMatrix types. Folding samples updates
aggregations and advances a TimeMatrix forward in time.
See also the TimeMatrixTick supertrait. This trait supports both ticking and sampling, but
is not completely type erased: the sample input type parameter T is needed.