MC++
mc::CModel< T >::Exceptions Class Reference

Exceptions of mc::CModel.

#include <cmodel.hpp>

Public Types

enum  TYPE {
  DIV =1, INV, LOG, SQRT,
  ACOS, EIGEN, INIT =-1, INCON =-2,
  CMODEL =-3, UNDEF =-33
}
 Enumeration type for CModel exception handling. More...
 

Public Member Functions

 Exceptions (TYPE ierr)
 Constructor for error ierr
 
int ierr ()
 Error flag.
 
std::string what ()
 Error description.
 

Member Enumeration Documentation

template<typename T>
enum mc::CModel::Exceptions::TYPE
Enumerator
DIV 

Division by zero scalar.

INV 

Inverse operation with zero in range.

LOG 

Log operation with non-positive numbers in range.

SQRT 

Square-root operation with negative numbers in range.

ACOS 

Sine/Cosine inverse operation with range outside [-1,1].

EIGEN 

Failed to compute eigenvalue decomposition in range bounder CModel::Options::EIGEN.

INIT 

Failed to construct Chebyshev variable.

INCON 

Chebyshev model bound does not intersect with bound in template parameter arithmetic.

CMODEL 

Operation between Chebyshev variables linked to different Chebyshev models.

UNDEF 

Feature not yet implemented in mc::CModel.


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