pub fn decompose_matrix(
data: &FdMatrix,
family: WaveletFamily,
mode: BoundaryMode,
level: Option<usize>,
) -> Result<Vec<WaveletCoeffs>, FdarError>Expand description
Multi-level orthogonal DWT over every row (curve) of an [FdMatrix].
Each row is a signal of length data.ncols(); the result holds one
WaveletCoeffs per row, in row order. The batch path is exactly the per-row
decompose applied to each row (data.row(i)), so its output is identical to
calling decompose on each row individually.
ยงErrors
FdarError::InvalidDimensionif the matrix has zero rows or zero columns.FdarError::InvalidParameterif the family is unsupported or an explicitlevelis invalid for the row length (surfaced fromdecompose).