pub fn stl_fdata(
data: &[f64],
n: usize,
m: usize,
_argvals: &[f64],
period: usize,
s_window: Option<usize>,
t_window: Option<usize>,
robust: bool,
) -> StlResultExpand description
Wrapper function for functional data STL decomposition.
Computes STL decomposition for each curve in the functional data object and returns aggregated results.
§Arguments
data- Column-major matrix (n x m) of functional datan- Number of samples (rows)m- Number of evaluation points (columns)argvals- Time points of length m (used to infer period if needed)period- Seasonal period (in number of observations)s_window- Seasonal smoothing windowt_window- Trend smoothing window (0 for auto)robust- Whether to use robustness iterations
§Returns
StlResult with decomposed components.