Defines | Functions
polyfit.hpp File Reference
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/lu.hpp>
#include <vector>
#include <stdexcept>
Include dependency graph for polyfit.hpp:
This graph shows which files directly or indirectly include this file:

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 Documentation

Definition at line 8 of file polyfit.hpp.

#define BOOST_UBLAS_TYPE_CHECK   0

Definition at line 6 of file polyfit.hpp.


Function Documentation

template<typename T >
std::vector<T> polyfit ( const std::vector< T > &  oX,
const std::vector< T > &  oY,
int  nDegree 
)

Definition at line 33 of file polyfit.hpp.

template<typename T >
std::vector<T> polyval ( const std::vector< T > &  oCoeff,
const std::vector< T > &  oX 
)

Definition at line 98 of file polyfit.hpp.



dt_local_planner
Author(s): Stephan Hofstaetter
autogenerated on Fri Aug 28 2015 13:41:25