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::Fraction< ORDER > Class Template Reference

#include <Fraction.hpp>

Public Member Functions

 Fraction ()
 
 Fraction (const std::vector< double > n)
 
 Fraction (const std::vector< double > &n, const std::vector< double > &d)
 
template<int RORDER>
Fraction< ORDER+RORDER > operator* (const Fraction< RORDER > right)
 
Fraction< ORDER > operator* (double k)
 
template<int RORDER>
Fraction< ORDER+RORDER > operator+ (const Fraction< RORDER > right)
 
Fraction< ORDER > operator+ (const double right)
 

Public Attributes

Polynome< ORDER > numerator
 
Polynome< ORDER > denominator
 

Constructor & Destructor Documentation

template<int ORDER>
eeros::math::Fraction< ORDER >::Fraction ( )
inline
template<int ORDER>
eeros::math::Fraction< ORDER >::Fraction ( const std::vector< double >  n)
inlineexplicit
template<int ORDER>
eeros::math::Fraction< ORDER >::Fraction ( const std::vector< double > &  n,
const std::vector< double > &  d 
)
inline

Member Function Documentation

template<int ORDER>
template<int RORDER>
Fraction<ORDER+RORDER> eeros::math::Fraction< ORDER >::operator* ( const Fraction< RORDER >  right)
inline
template<int ORDER>
Fraction<ORDER> eeros::math::Fraction< ORDER >::operator* ( double  k)
inline
template<int ORDER>
template<int RORDER>
Fraction<ORDER+RORDER> eeros::math::Fraction< ORDER >::operator+ ( const Fraction< RORDER >  right)
inline
template<int ORDER>
Fraction<ORDER> eeros::math::Fraction< ORDER >::operator+ ( const double  right)
inline

Member Data Documentation

template<int ORDER>
Polynome<ORDER> eeros::math::Fraction< ORDER >::denominator
template<int ORDER>
Polynome<ORDER> eeros::math::Fraction< ORDER >::numerator

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