Public Member Functions | Protected Attributes | List of all members
gte::Polynomial1< Real > Class Template Reference

#include <GtePolynomial1.h>

Public Member Functions

void Divide (Polynomial1 const &divisor, Polynomial1 &quotient, Polynomial1 &remainder) const
 
void EliminateLeadingZeros ()
 
unsigned int GetDegree () const
 
Polynomial1 GetDerivative () const
 
Polynomial1 GetInversion () const
 
bool operator!= (Polynomial1< Real > const &p) const
 
Real operator() (Real t) const
 
bool operator< (Polynomial1< Real > const &p) const
 
bool operator<= (Polynomial1< Real > const &p) const
 
bool operator== (Polynomial1< Real > const &p) const
 
bool operator> (Polynomial1< Real > const &p) const
 
bool operator>= (Polynomial1< Real > const &p) const
 
Real const & operator[] (unsigned int i) const
 
Real & operator[] (unsigned int i)
 
 Polynomial1 ()
 
 Polynomial1 (unsigned int degree)
 
 Polynomial1 (std::initializer_list< Real > values)
 
void SetCoefficients (Real value)
 
void SetDegree (unsigned int degree)
 

Protected Attributes

std::vector< Real > mCoefficient
 

Detailed Description

template<typename Real>
class gte::Polynomial1< Real >

Definition at line 19 of file GtePolynomial1.h.

Constructor & Destructor Documentation

template<typename Real >
gte::Polynomial1< Real >::Polynomial1 ( )

Definition at line 152 of file GtePolynomial1.h.

template<typename Real >
gte::Polynomial1< Real >::Polynomial1 ( unsigned int  degree)

Definition at line 160 of file GtePolynomial1.h.

template<typename Real >
gte::Polynomial1< Real >::Polynomial1 ( std::initializer_list< Real >  values)

Definition at line 168 of file GtePolynomial1.h.

Member Function Documentation

template<typename Real >
void gte::Polynomial1< Real >::Divide ( Polynomial1< Real > const &  divisor,
Polynomial1< Real > &  quotient,
Polynomial1< Real > &  remainder 
) const

Definition at line 311 of file GtePolynomial1.h.

template<typename Real >
void gte::Polynomial1< Real >::EliminateLeadingZeros ( )

Definition at line 291 of file GtePolynomial1.h.

template<typename Real >
unsigned int gte::Polynomial1< Real >::GetDegree ( ) const
inline

Definition at line 190 of file GtePolynomial1.h.

template<typename Real >
Polynomial1< Real > gte::Polynomial1< Real >::GetDerivative ( ) const

Definition at line 258 of file GtePolynomial1.h.

template<typename Real >
Polynomial1< Real > gte::Polynomial1< Real >::GetInversion ( ) const

Definition at line 279 of file GtePolynomial1.h.

template<typename Real >
bool gte::Polynomial1< Real >::operator!= ( Polynomial1< Real > const &  p) const
inline

Definition at line 215 of file GtePolynomial1.h.

template<typename Real >
Real gte::Polynomial1< Real >::operator() ( Real  t) const

Definition at line 245 of file GtePolynomial1.h.

template<typename Real >
bool gte::Polynomial1< Real >::operator< ( Polynomial1< Real > const &  p) const
inline

Definition at line 221 of file GtePolynomial1.h.

template<typename Real >
bool gte::Polynomial1< Real >::operator<= ( Polynomial1< Real > const &  p) const
inline

Definition at line 227 of file GtePolynomial1.h.

template<typename Real >
bool gte::Polynomial1< Real >::operator== ( Polynomial1< Real > const &  p) const
inline

Definition at line 209 of file GtePolynomial1.h.

template<typename Real >
bool gte::Polynomial1< Real >::operator> ( Polynomial1< Real > const &  p) const
inline

Definition at line 233 of file GtePolynomial1.h.

template<typename Real >
bool gte::Polynomial1< Real >::operator>= ( Polynomial1< Real > const &  p) const
inline

Definition at line 239 of file GtePolynomial1.h.

template<typename Real >
Real const & gte::Polynomial1< Real >::operator[] ( unsigned int  i) const
inline

Definition at line 197 of file GtePolynomial1.h.

template<typename Real >
Real & gte::Polynomial1< Real >::operator[] ( unsigned int  i)
inline

Definition at line 203 of file GtePolynomial1.h.

template<typename Real >
void gte::Polynomial1< Real >::SetCoefficients ( Real  value)

Definition at line 184 of file GtePolynomial1.h.

template<typename Real >
void gte::Polynomial1< Real >::SetDegree ( unsigned int  degree)

Definition at line 178 of file GtePolynomial1.h.

Member Data Documentation

template<typename Real>
std::vector<Real> gte::Polynomial1< Real >::mCoefficient
protected

Definition at line 82 of file GtePolynomial1.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06