Best approximation of the Heaviside function and best approximation of multiscale univariate datasets by cubic splines have a Gibbs phenomenon. Numerical experiments show that it can be reduced by using spline fits which are best approximations in an appropriate spline space obtained by the union of interpolation splines. We prove here the existence of spline fits which has never been done to the best of our knowledge. Their major disadvantage is that obtaining them can be time consuming. Thus we propose a sliding window method on seven nodes which is as efficient as the global method both for functions and datasets with abrupt changes of magnitude but within a linear complexity on the number of spline nodes.

生成讲解博客的中文版本

生成AI智能校验的中文版本