C++ template class for definition of and operation on variables in a Taylor model.
More...
|
T | B () const |
| Return range bounder. More...
|
|
T | bound () const |
| Return range bounder. More...
|
|
const T & | boundT () const |
| Return reference to range bounder in T arithmetic. More...
|
|
TaylorVariable< T > & | C () |
| Recenter remainder term. More...
|
|
TaylorVariable< T > & | center () |
| Return reference to current remainder. More...
|
|
double | constant () const |
| Return coefficient value in constant term. More...
|
|
TaylorModel< T > * | env () const |
| Return pointer to TaylorModel environment. More...
|
|
BooleanType | isCompact () const |
|
double * | linear () const |
| Return pointer to array of size nvar comprising coefficients in linear term. More...
|
|
TaylorVariable< T > & | operator*= (const TaylorVariable< T > &) |
|
TaylorVariable< T > & | operator*= (const double) |
|
TaylorVariable< T > & | operator*= (const T &) |
|
template<typename U > |
TaylorVariable< T > & | operator+= (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< T > & | operator+= (const U &) |
|
TaylorVariable< T > & | operator+= (const double) |
|
template<typename U > |
TaylorVariable< T > & | operator-= (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< T > & | operator-= (const U &) |
|
TaylorVariable< T > & | operator-= (const double) |
|
TaylorVariable< T > & | operator/= (const TaylorVariable< T > &) |
|
TaylorVariable< T > & | operator/= (const double) |
|
TaylorVariable< T > & | operator= (const double) |
| More overloaded operators. More...
|
|
TaylorVariable< T > & | operator= (const TaylorVariable< T > &) |
|
TaylorVariable< T > & | operator= (const T &) |
|
TaylorVariable< T > | P () const |
| Cancel remainder error term and return polynomial part. More...
|
|
double | P (const double *x) const |
| Evaluate polynomial part at point x More...
|
|
TaylorVariable< T > | polynomial () const |
| Cancel remainder term and return polynomial part. More...
|
|
double | polynomial (const double *x) const |
| Evaluate polynomial part at point x More...
|
|
double * | quadratic (const int opt=0) const |
| Return pointer to array of size nvar comprising coefficients in quadratic term (diagonal coefs if opt=0; upper triangular part otherwise) More...
|
|
T | R () const |
| Return const reference to current remainder. More...
|
|
double * | reference () const |
| Return pointer to array of size nvar comprising reference point. More...
|
|
T | remainder () const |
| Return const reference to current remainder. More...
|
|
TaylorVariable< T > & | set (TaylorModel< T > *TM, const unsigned int ix, const T &X) |
| Set the index and range for the variable ivar, that belongs to the interval X. More...
|
|
| TaylorVariable (const double d=0.) |
| Constructor for a real scalar. More...
|
|
| TaylorVariable (const T &B) |
| Constructor for a T variable. More...
|
|
| TaylorVariable (TaylorModel< T > *TM, const unsigned int ix, const T &X) |
| Constructor for the variable ix, that belongs to the interval X More...
|
|
| TaylorVariable (const TaylorVariable< T > &TV) |
| Copy constructor for identical range bounder. More...
|
|
template<typename U > |
| TaylorVariable (TaylorModel< T > *&TM, const TaylorVariable< U > &TV) |
| Copy constructor for different range bounder with implicit type conversion. More...
|
|
template<typename U > |
| TaylorVariable (TaylorModel< T > *&TM, const TaylorVariable< U > &TV, const T &(U::*method)() const ) |
| Copy constructor for different range bounder with explicit type conversion class member function. More...
|
|
template<typename U > |
| TaylorVariable (TaylorModel< T > *&TM, const TaylorVariable< U > &TV, T(*method)(const U &)) |
| Copy constructor for different range bounder with explicit type conversion non-class function. More...
|
|
| TaylorVariable (TaylorModel< T > *TM, const double d=0.) |
| Private constructor for a real scalar in a specific TaylorModel. More...
|
|
| ~TaylorVariable () |
| Class destructor. More...
|
|
|
template<typename U > |
TaylorVariable< U > | acos (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | asin (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | atan (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | cos (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | exp (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | hull (const TaylorVariable< U > &, const TaylorVariable< U > &) |
|
template<typename U > |
bool | inter (TaylorVariable< U > &, const TaylorVariable< U > &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | inv (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | log (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator* (const TaylorVariable< U > &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator* (const double, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator* (const TaylorVariable< U > &, const double) |
|
template<typename U > |
TaylorVariable< U > | operator* (const U &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator* (const TaylorVariable< U > &, const U &) |
|
template<typename U > |
TaylorVariable< U > | operator+ (const TaylorVariable< U > &) |
|
template<typename U , typename V > |
TaylorVariable< U > | operator+ (const TaylorVariable< U > &, const TaylorVariable< V > &) |
|
template<typename U , typename V > |
TaylorVariable< U > | operator+ (const TaylorVariable< U > &, const V &) |
|
template<typename U , typename V > |
TaylorVariable< U > | operator+ (const V &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator+ (const double, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator+ (const TaylorVariable< U > &, const double) |
|
template<typename U > |
TaylorVariable< U > | operator- (const TaylorVariable< U > &) |
|
template<typename U , typename V > |
TaylorVariable< U > | operator- (const TaylorVariable< U > &, const TaylorVariable< V > &) |
|
template<typename U , typename V > |
TaylorVariable< U > | operator- (const TaylorVariable< U > &, const V &) |
|
template<typename U , typename V > |
TaylorVariable< U > | operator- (const V &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator- (const double, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator- (const TaylorVariable< U > &, const double) |
|
template<typename U > |
TaylorVariable< U > | operator/ (const TaylorVariable< U > &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator/ (const double, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | operator/ (const TaylorVariable< U > &, const double) |
|
template<typename U > |
std::ostream & | operator<< (std::ostream &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | pow (const TaylorVariable< U > &, const int) |
|
template<typename U > |
TaylorVariable< U > | pow (const TaylorVariable< U > &, const double) |
|
template<typename U > |
TaylorVariable< U > | pow (const double, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | pow (const TaylorVariable< U > &, const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | sin (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | sqr (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | sqrt (const TaylorVariable< U > &) |
|
template<typename U > |
TaylorVariable< U > | tan (const TaylorVariable< U > &) |
|
template<typename U > |
void | TaylorModel (const unsigned int nvar, const unsigned int nord) |
|
template<typename U > |
class | TaylorVariable |
|
template<typename U > |
TaylorVariable< U > | xlog (const TaylorVariable< U > &) |
|
template<typename T>
class TaylorVariable< T >
C++ template class for definition of and operation on variables in a Taylor model.
mc::TaylorVariable<T> is a C++ template class for definition of and operation on the variables participating in a Taylor model of a factorable function. The template parameter T corresponds to the type used in computing the remainder error bound in the Taylor model.
Definition at line 42 of file taylor_model.hpp.