#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/lu.hpp>
#include <vector>
#include <stdexcept>
Go to the source code of this file.
Defines | |
#define | _USE_MATH_DEFINES |
#define | BOOST_UBLAS_TYPE_CHECK 0 |
Functions | |
template<typename T > | |
std::vector< T > | polyfit (const std::vector< T > &oX, const std::vector< T > &oY, int nDegree) |
template<typename T > | |
std::vector< T > | polyval (const std::vector< T > &oCoeff, const std::vector< T > &oX) |
#define _USE_MATH_DEFINES |
Definition at line 8 of file polyfit.hpp.
#define BOOST_UBLAS_TYPE_CHECK 0 |
Definition at line 6 of file polyfit.hpp.
std::vector<T> polyfit | ( | const std::vector< T > & | oX, |
const std::vector< T > & | oY, | ||
int | nDegree | ||
) |
Definition at line 33 of file polyfit.hpp.
std::vector<T> polyval | ( | const std::vector< T > & | oCoeff, |
const std::vector< T > & | oX | ||
) |
Definition at line 98 of file polyfit.hpp.