Skip to main content

Module irreg_fdata

Module irreg_fdata 

Source
Expand description

Irregular functional data operations.

This module provides data structures and algorithms for functional data where observations have different evaluation points (irregular/sparse sampling).

§Storage Format

Uses a CSR-like (Compressed Sparse Row) format for efficient storage:

  • offsets[i]..offsets[i+1] gives the slice indices for observation i
  • argvals and values store all data contiguously

This format is memory-efficient and enables parallel processing of observations.

§Example

For 3 curves with varying numbers of observation points:

  • Curve 0: 5 points
  • Curve 1: 3 points
  • Curve 2: 7 points

The offsets would be: [0, 5, 8, 15]

Re-exports§

pub use kernels::mean_irreg;
pub use kernels::KernelType;
pub use smoothing::cov_irreg;
pub use smoothing::integrate_irreg;
pub use smoothing::metric_lp_irreg;
pub use smoothing::norm_lp_irreg;
pub use smoothing::to_regular_grid;

Modules§

kernels
Kernel functions and mean estimation for irregular functional data.
smoothing
Integration, norms, covariance estimation, distances, and grid conversion for irregular functional data.

Structs§

IrregFdata
Compressed storage for irregular functional data.