library of assembled shared sources

http://lass.cocamware.com

lass::num::PolynomialQuotient< T > Class Template Reference

#include <polynomial_quotient.h>


Public Types

typedef PolynomialQuotient< T > TSelf
typedef Polynomial< T > TPolynomial
typedef NumTraits< T > TNumTraits
typedef util::CallTraits< T >
::TValue 
TValue
typedef util::CallTraits< T >
::TParam 
TParam
typedef util::CallTraits< T >
::TReference 
TReference
typedef util::CallTraits< T >
::TConstReference 
TConstReference
typedef std::vector< TValueTCoefficients
typedef std::pair
< TCoefficients, TCoefficients
TCoefficientsPair

Public Member Functions

 PolynomialQuotient ()
 PolynomialQuotient (TParam scalar)
 PolynomialQuotient (const TCoefficients &numerator)
 PolynomialQuotient (const TPolynomial &numerator)
 PolynomialQuotient (const TCoefficientsPair &numeratorDenominator)
 PolynomialQuotient (TParam scalar, const TCoefficients &denominator)
 PolynomialQuotient (TParam scalar, const TPolynomial &denominator)
 PolynomialQuotient (const TCoefficients &numerator, const TCoefficients &denominator)
 PolynomialQuotient (const TPolynomial &numerator, const TPolynomial &denominator)
template<typename InputIterator >
 PolynomialQuotient (InputIterator numFirst, InputIterator numLast)
template<typename InputIterator >
 PolynomialQuotient (InputIterator numFirst, InputIterator numLast, InputIterator denFirst, InputIterator denLast)
const TPolynomialnumerator () const
const TPolynomialdenominator () const
const TValue operator() (TParam x) const
const TSelfoperator+ () const
const TSelf operator- () const
TSelfoperator+= (const TSelf &other)
TSelfoperator-= (const TSelf &other)
TSelfoperator*= (const TSelf &other)
TSelfoperator/= (const TSelf &other)
TSelfoperator+= (const TPolynomial &other)
TSelfoperator-= (const TPolynomial &other)
TSelfoperator*= (const TPolynomial &other)
TSelfoperator/= (const TPolynomial &other)
TSelfoperator+= (TParam scalar)
TSelfoperator-= (TParam scalar)
TSelfoperator*= (TParam scalar)
TSelfoperator/= (TParam scalar)
TSelf derivative () const
TSelf pow (unsigned power) const

Static Public Member Functions

static TSelf one ()
static TSelf x ()

Private Attributes

TPolynomial numerator_
TPolynomial denominator_


Detailed Description

template<typename T>
class lass::num::PolynomialQuotient< T >

Definition at line 67 of file polynomial_quotient.h.


Member Typedef Documentation

template<typename T >
typedef PolynomialQuotient<T> lass::num::PolynomialQuotient< T >::TSelf

Definition at line 71 of file polynomial_quotient.h.

template<typename T >
typedef Polynomial<T> lass::num::PolynomialQuotient< T >::TPolynomial

Definition at line 72 of file polynomial_quotient.h.

template<typename T >
typedef NumTraits<T> lass::num::PolynomialQuotient< T >::TNumTraits

Definition at line 73 of file polynomial_quotient.h.

template<typename T >
typedef util::CallTraits<T>::TValue lass::num::PolynomialQuotient< T >::TValue

Definition at line 74 of file polynomial_quotient.h.

template<typename T >
typedef util::CallTraits<T>::TParam lass::num::PolynomialQuotient< T >::TParam

Definition at line 75 of file polynomial_quotient.h.

template<typename T >
typedef util::CallTraits<T>::TReference lass::num::PolynomialQuotient< T >::TReference

Definition at line 76 of file polynomial_quotient.h.

Definition at line 77 of file polynomial_quotient.h.

template<typename T >
typedef std::vector<TValue> lass::num::PolynomialQuotient< T >::TCoefficients

Definition at line 78 of file polynomial_quotient.h.

template<typename T >
typedef std::pair<TCoefficients, TCoefficients> lass::num::PolynomialQuotient< T >::TCoefficientsPair

Definition at line 79 of file polynomial_quotient.h.


Constructor & Destructor Documentation

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient (  )  [inline]

Definition at line 57 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( TParam  scalar  )  [inline, explicit]

Definition at line 65 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( const TCoefficients numerator  )  [inline, explicit]

Definition at line 74 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( const TPolynomial numerator  )  [inline, explicit]

Definition at line 83 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( const TCoefficientsPair numeratorDenominator  )  [inline, explicit]

Definition at line 92 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( TParam  scalar,
const TCoefficients denominator 
) [inline]

Definition at line 101 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( TParam  scalar,
const TPolynomial denominator 
) [inline]

Definition at line 110 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( const TCoefficients numerator,
const TCoefficients denominator 
) [inline]

Definition at line 119 of file polynomial_quotient.inl.

template<typename T >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( const TPolynomial numerator,
const TPolynomial denominator 
) [inline]

Definition at line 128 of file polynomial_quotient.inl.

template<typename T >
template<typename InputIterator >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( InputIterator  numFirst,
InputIterator  numLast 
) [inline]

Definition at line 137 of file polynomial_quotient.inl.

template<typename T >
template<typename InputIterator >
lass::num::PolynomialQuotient< T >::PolynomialQuotient ( InputIterator  numFirst,
InputIterator  numLast,
InputIterator  denFirst,
InputIterator  denLast 
) [inline]

Definition at line 146 of file polynomial_quotient.inl.


Member Function Documentation

template<typename T >
const PolynomialQuotient< T >::TPolynomial & lass::num::PolynomialQuotient< T >::numerator (  )  const [inline]

template<typename T >
const PolynomialQuotient< T >::TPolynomial & lass::num::PolynomialQuotient< T >::denominator (  )  const [inline]

template<typename T >
const PolynomialQuotient< T >::TValue lass::num::PolynomialQuotient< T >::operator() ( TParam  x  )  const [inline]

template<typename T >
const PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator+ (  )  const [inline]

Definition at line 183 of file polynomial_quotient.inl.

template<typename T >
const PolynomialQuotient< T > lass::num::PolynomialQuotient< T >::operator- (  )  const [inline]

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator+= ( const TSelf other  )  [inline]

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator-= ( const TSelf other  )  [inline]

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator*= ( const TSelf other  )  [inline]

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator/= ( const TSelf other  )  [inline]

template<typename T >
TSelf& lass::num::PolynomialQuotient< T >::operator+= ( const TPolynomial other  ) 

template<typename T >
TSelf& lass::num::PolynomialQuotient< T >::operator-= ( const TPolynomial other  ) 

template<typename T >
TSelf& lass::num::PolynomialQuotient< T >::operator*= ( const TPolynomial other  ) 

template<typename T >
TSelf& lass::num::PolynomialQuotient< T >::operator/= ( const TPolynomial other  ) 

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator+= ( TParam  scalar  )  [inline]

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator-= ( TParam  scalar  )  [inline]

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator*= ( TParam  scalar  )  [inline]

template<typename T >
PolynomialQuotient< T > & lass::num::PolynomialQuotient< T >::operator/= ( TParam  scalar  )  [inline]

template<typename T >
PolynomialQuotient< T > lass::num::PolynomialQuotient< T >::derivative (  )  const [inline]

template<typename T >
PolynomialQuotient< T > lass::num::PolynomialQuotient< T >::pow ( unsigned  power  )  const [inline]

template<typename T >
PolynomialQuotient< T > lass::num::PolynomialQuotient< T >::one (  )  [inline, static]

Definition at line 329 of file polynomial_quotient.inl.

template<typename T >
PolynomialQuotient< T > lass::num::PolynomialQuotient< T >::x (  )  [inline, static]

Definition at line 338 of file polynomial_quotient.inl.


Field Documentation

template<typename T >
TPolynomial lass::num::PolynomialQuotient< T >::numerator_ [private]

template<typename T >
TPolynomial lass::num::PolynomialQuotient< T >::denominator_ [private]


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

Generated on Mon Nov 10 14:22:10 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo