Function summary
closest-polynomial s &key (order 3)
least-squares-estimation s &key (order 3)
polynomial-value x coeffs &key (element-type t)
least-squares-estimation   s &key (order 3)  [Function]

Finds the coefficients of the closest polynomial of order 'order' by a least squares estimation. Highest order coeffs first. The polynomial is considered to be defined between 0 and 1.

polynomial-value   x coeffs &key (element-type t)  [Function]

Computes the polynomial values of the polynomial defined by its coefficients. 'x' can be a number or an array.

closest-polynomial   s &key (order 3)  [Function]

Makes a polynomial approximation of s.