Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::math::tools::polynomial< T > Class Template Reference

#include <polynomial.hpp>

Public Types

typedef std::vector< T >
::value_type 
value_type
 
typedef std::vector< T >::size_type size_type
 

Public Member Functions

 polynomial ()
 
template<class U >
 polynomial (const U *data, unsigned order)
 
template<class U >
 polynomial (const U &point)
 
 polynomial (const polynomial &p)
 
template<class U >
 polynomial (const polynomial< U > &p)
 
size_type size () const
 
size_type degree () const
 
value_typeoperator[] (size_type i)
 
const value_typeoperator[] (size_type i) const
 
T evaluate (T z) const
 
std::vector< Tchebyshev () const
 
template<class U >
polynomialoperator+= (const U &value)
 
template<class U >
polynomialoperator-= (const U &value)
 
template<class U >
polynomialoperator*= (const U &value)
 
template<class U >
polynomialoperator+= (const polynomial< U > &value)
 
template<class U >
polynomialoperator-= (const polynomial< U > &value)
 
template<class U >
polynomialoperator*= (const polynomial< U > &value)
 

Member Typedef Documentation

template<class T>
typedef std::vector<T>::size_type boost::math::tools::polynomial< T >::size_type
template<class T>
typedef std::vector<T>::value_type boost::math::tools::polynomial< T >::value_type

Constructor & Destructor Documentation

template<class T>
boost::math::tools::polynomial< T >::polynomial ( )
inline
template<class T>
template<class U >
boost::math::tools::polynomial< T >::polynomial ( const U *  data,
unsigned  order 
)
inline
template<class T>
template<class U >
boost::math::tools::polynomial< T >::polynomial ( const U &  point)
inline
template<class T>
boost::math::tools::polynomial< T >::polynomial ( const polynomial< T > &  p)
inline
template<class T>
template<class U >
boost::math::tools::polynomial< T >::polynomial ( const polynomial< U > &  p)
inline

Member Function Documentation

template<class T>
std::vector<T> boost::math::tools::polynomial< T >::chebyshev ( ) const
inline
template<class T>
size_type boost::math::tools::polynomial< T >::degree ( ) const
inline
template<class T>
T boost::math::tools::polynomial< T >::evaluate ( T  z) const
inline
template<class T>
template<class U >
polynomial& boost::math::tools::polynomial< T >::operator*= ( const U &  value)
inline
template<class T>
template<class U >
polynomial& boost::math::tools::polynomial< T >::operator+= ( const U &  value)
inline
template<class T>
template<class U >
polynomial& boost::math::tools::polynomial< T >::operator-= ( const U &  value)
inline
template<class T>
value_type& boost::math::tools::polynomial< T >::operator[] ( size_type  i)
inline
template<class T>
const value_type& boost::math::tools::polynomial< T >::operator[] ( size_type  i) const
inline

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