MC++
Chebyshev Model Arithmetic for Factorable Functions

Classes

class  mc::CModel< T >::Exceptions
 Exceptions of mc::CModel. More...
 
struct  mc::CModel< T >::Options
 Options of mc::CModel. More...
 

Functions

 mc::CModel< T >::CModel (const unsigned int nvar, const unsigned int nord)
 Constructor of Chebyshev model environment for nvar variables and order nord
 
 mc::CModel< T >::~CModel ()
 Destructor of Chebyshev model environment.
 
const T * mc::CModel< T >::bndvar () const
 Get const pointer to array of size _nvar with original variable bounds.
 
CModel< T > * mc::CVar< T >::env () const
 Get pointer to linked Chebyshev model environment.
 
 mc::CVar< T >::CVar (const double d=0.)
 Constructor of Chebyshev variable for a real scalar.
 
 mc::CVar< T >::CVar (const T &B)
 Constructor of Chebyshev variable for a remainder bound.
 
 mc::CVar< T >::CVar (CModel< T > *CM, const unsigned int ix, const T &X)
 Constructor of Chebyshev variable with index ix (starting from 0) and bounded by X
 
template<typename U >
 mc::CVar< T >::CVar (CModel< T > *&CM, const CVar< U > &CV)
 Copy constructor of Chebyshev variable in different Chebyshev model environment (with implicit type conversion)
 
template<typename U >
 mc::CVar< T >::CVar (CModel< T > *&CM, const CVar< U > &CV, const T &(U::*method)() const )
 Copy constructor of Chebyshev variable in different Chebyshev model environment (with explicit type conversion as given by class member function method)
 
template<typename U >
 mc::CVar< T >::CVar (CModel< T > *&CM, const CVar< U > &CV, T(*method)(const U &))
 Copy constructor of Chebyshev variable in different Chebyshev model environment (with explicit type conversion as given by non-class member function method)
 
 mc::CVar< T >::CVar (const CVar< T > &CV)
 Copy constructor of Chebyshev variable.
 
 mc::CVar< T >::~CVar ()
 Destructor of Chebyshev variable.
 
CVar< T > & mc::CVar< T >::set (CModel< T > *CM, const unsigned int ix, const T &X)
 Set Chebyshev variable with index ix (starting from 0) and bounded by X
 
CVar< T > & mc::CVar< T >::set (CModel< T > *CM)
 Set Chebyshev model environment in Chebyshev variable to env
 
double mc::CVar< T >::polynomial (const double *x) const
 Evaluate polynomial part at x
 
double mc::CVar< T >::P (const double *x) const
 Shortcut to mc::CVar::polynomial.
 
CVar< T > mc::CVar< T >::polynomial () const
 Return new Chebyshev variable with same multivariate polynomial part but zero remainder.
 
CVar< T > mc::CVar< T >::P () const
 Shortcut to mc::CVar::polynomial.
 
CVar< T > & mc::CVar< T >::center ()
 Center remainder term of Chebyshev variable.
 
CVar< T > & mc::CVar< T >::C ()
 Shortcut to mc::CVar::center.
 
double mc::CVar< T >::constant (const bool reset=false)
 Get coefficient of constant term in Chebyshev variable. The value of this coefficient is reset to 0 if reset=true, otherwise it is left unmodified (default).
 
double * mc::CVar< T >::linear () const
 Get pointer to array of size nvar with coefficients of linear term in Chebyshev variable.
 
double mc::CVar< T >::linear (const unsigned int ivar, const bool reset=false)
 Get coefficients of linear term for variable ivar in Chebyshev variable. The value of this coefficient is reset to 0 if reset=true, otherwise it is left unmodified (default).
 

Detailed Description