pub struct HoltResult {
pub level: Vec<f64>,
pub trend: Vec<f64>,
pub fitted: Vec<f64>,
}Expand description
Result of Holt’s linear smoothing at each time step.
Fields§
§level: Vec<f64>Level estimates.
trend: Vec<f64>Trend estimates.
fitted: Vec<f64>Fitted values (level + trend from previous step).
Implementations§
Trait Implementations§
Source§impl Clone for HoltResult
impl Clone for HoltResult
Source§fn clone(&self) -> HoltResult
fn clone(&self) -> HoltResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HoltResult
impl RefUnwindSafe for HoltResult
impl Send for HoltResult
impl Sync for HoltResult
impl Unpin for HoltResult
impl UnwindSafe for HoltResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more