A method is described for fitting a piecewise cubic polynomial to a sequence of data by a onepass method. The polynomial pieces are calculated as the data is scanned only once from left to right. The algorithm is shown to be stable when a piecewise cubic polynomial is used which is continuous with its first derivative, while it becomes unstable if the polynomial is made continuous up to the second derivative. The knots of the approximating function are determined successively using a criterion by Powell.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.