EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::math::Polynome< ORDER > Class Template Reference

#include <Fraction.hpp>

Public Member Functions

 Polynome ()
 
 Polynome (const std::vector< double > &c)
 
template<int RORDER>
 Polynome (const Polynome< RORDER > &copy)
 
template<int RORDER>
Polynome< ORDER+RORDER > operator* (const Polynome< RORDER > right)
 
Polynome< ORDER > operator* (double k)
 
template<int RORDER>
Polynome< MAX(ORDER, RORDER)> operator+ (const Polynome< RORDER > right)
 
Polynome< ORDER > operator+ (double right)
 
template<int RORDER>
Fraction< MAX(ORDER, RORDER)> operator/ (const Polynome< RORDER > right)
 

Static Public Member Functions

static constexpr int MAX (int x, int y)
 

Public Attributes

double c [N]
 

Static Public Attributes

static constexpr int N = (ORDER + 1)
 

Constructor & Destructor Documentation

template<int ORDER>
eeros::math::Polynome< ORDER >::Polynome ( )
inline
template<int ORDER>
eeros::math::Polynome< ORDER >::Polynome ( const std::vector< double > &  c)
inlineexplicit
template<int ORDER>
template<int RORDER>
eeros::math::Polynome< ORDER >::Polynome ( const Polynome< RORDER > &  copy)
inlineexplicit

Member Function Documentation

template<int ORDER>
static constexpr int eeros::math::Polynome< ORDER >::MAX ( int  x,
int  y 
)
inlinestatic
template<int ORDER>
template<int RORDER>
Polynome<ORDER+RORDER> eeros::math::Polynome< ORDER >::operator* ( const Polynome< RORDER >  right)
inline
template<int ORDER>
Polynome<ORDER> eeros::math::Polynome< ORDER >::operator* ( double  k)
inline
template<int ORDER>
template<int RORDER>
Polynome<MAX(ORDER,RORDER)> eeros::math::Polynome< ORDER >::operator+ ( const Polynome< RORDER >  right)
inline
template<int ORDER>
Polynome<ORDER> eeros::math::Polynome< ORDER >::operator+ ( double  right)
inline
template<int ORDER>
template<int RORDER>
Fraction<MAX(ORDER,RORDER)> eeros::math::Polynome< ORDER >::operator/ ( const Polynome< RORDER >  right)
inline

Member Data Documentation

template<int ORDER>
double eeros::math::Polynome< ORDER >::c[N]
template<int ORDER>
constexpr int eeros::math::Polynome< ORDER >::N = (ORDER + 1)
static

The documentation for this class was generated from the following file: