|
liba 0.1.15
An algorithm library based on C/C++
|
polynomial More...
#include "a.h"Go to the source code of this file.
Functions | |
| void | a_poly_swap (a_real *a, a_size n) |
| swap between \( \sum_{i=0}^{n}a_{i}x^{i} \) and \( \sum_{i=0}^{n}a_{i}x^{n-i} \) | |
| void | a_poly_swap_ (a_real *a, a_real *b) |
| a_real | a_poly_eval (a_real const *a, a_size n, a_real x) |
| horner function for polynomial \( \sum_{i=0}^{n}a_{i}x^{i} \) | |
| a_real | a_poly_eval_ (a_real const *a, a_real const *b, a_real x) |
| a_real | a_poly_evar (a_real const *a, a_size n, a_real x) |
| horner function for polynomial \( \sum_{i=0}^{n}a_{i}x^{n-i} \) | |
| a_real | a_poly_evar_ (a_real const *a, a_real const *b, a_real x) |
| void | a_poly_xTx (a_uint m, a_real const *x, a_uint n, a_real *A) |
| compute the matrix A^T * A for polynomial fitting. | |
| void | a_poly_xTy (a_uint m, a_real const *x, a_real const *y, a_uint n, a_real *b) |
| compute the vector A^T * y for polynomial fitting. | |
polynomial