Function summary | |
---|---|

closest-polynomial |
s &key (order 3) |

least-squares-estimation |
s &key (order 3) |

polynomial-value |
x coeffs &key (element-type t) |

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.

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