Module fdata

Module fdata 

Source
Expand description

Functional data operations: mean, center, derivatives, norms, and geometric median.

Structs§

Deriv2DResult
Result of 2D partial derivatives.

Functions§

center_1d
Center functional data by subtracting the mean function.
deriv_1d
Compute numerical derivative of functional data (parallelized over rows).
deriv_2d
Compute 2D partial derivatives for surface data.
geometric_median_1d
Compute the geometric median (L1 median) of functional data using Weiszfeld’s algorithm.
geometric_median_2d
Compute the geometric median for 2D functional data.
mean_1d
Compute the mean function across all samples (1D).
mean_2d
Compute the mean function for 2D surfaces.
norm_lp_1d
Compute Lp norm for each sample.