tlx
polynomial_regression.hpp File Reference
#include <cmath>
#include <cstdlib>
#include <vector>

Go to the source code of this file.

Classes

class  PolynomialRegression< Type, WithStore >
 Calculate the regression polynomial \( a_0+a_1x^1+a_2x^2+\cdots+a_nx^n \) from a list of 2D points. More...
 
struct  PolynomialRegression< Type, WithStore >::Point
 2D point More...
 
struct  PolynomialRegression< Type, WithStore >::Coefficients
 polynomial stored as the coefficients of \( a_0+a_1 x^1+a_2 x^2+\cdots+a_n x^n \) More...
 

Namespaces

 tlx