liba 0.1.15
An algorithm library based on C/C++
Loading...
Searching...
No Matches
poly.h File Reference

polynomial More...

#include "a.h"
Include dependency graph for poly.h:

Go to the source code of this file.

Functions

double * a_poly_swap (double *a, size_t n)
 swap between \( \sum_{i=0}^{n}a_{i}x^{i} \) and \( \sum_{i=0}^{n}a_{i}x^{n-i} \)
 
double a_poly_eval (double const *a, size_t n, double x)
 horner function for polynomial \( \sum_{i=0}^{n}a_{i}x^{i} \)
 
double a_poly_eval_ (double const *a, double const *b, double x)
 
double a_poly_evar (double const *a, size_t n, double x)
 horner function for polynomial \( \sum_{i=0}^{n}a_{i}x^{n-i} \)
 
double a_poly_evar_ (double const *a, double const *b, double x)
 

Detailed Description

polynomial