Average values over ranges of one variable Given X (size N*1) and Y (N*M), this function splits the range of X into up to K intervals (bins) containing approximately equal numbers of elements, and ...
Cubic spline approximation (smoothing) approximate [X,Y], weighted by W (inverse variance of the Y values; if not given, equal weighting is assumed), at XI
Cubic spline approximation with smoothing parameter estimation Approximately interpolates [X,Y], weighted by W (inverse variance; if not given, equal weighting is assumed), at XI.
De-duplication and sorting to facilitate spline smoothing Points are sorted in ascending order of X, with each set of duplicates (values with the same X, within TOL) replaced by a weighted average.
Apply a Tikhonov regularization, the functional to be minimized is F = FD + LAMBDA1 * F1 + LAMBDA2 * F2 = sum_(i=1)^M (y_i-u(x_i))^2 + + LAMBDA1 * dintegral (du/dx)^2+(du/dy)^2 dA + + LAMBDA2 * din...