MC++
|
Exceptions of mc::TModel.
#include <tmodel.hpp>
Public Types | |
enum | TYPE { DIV =1, INV, LOG, SQRT, ASIN, EIGEN, BERNSTEIN, INIT =-1, INCON =-2, TMODEL =-3, UNDEF =-33 } |
Enumeration type for TModel exception handling. More... | |
Public Member Functions | |
Exceptions (TYPE ierr) | |
Constructor for error ierr | |
int | ierr () |
Error flag. | |
std::string | what () |
Error description. | |
enum mc::TModel::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. |
ASIN |
Sine/Cosine inverse operation with range outside [-1,1]. |
EIGEN |
Failed to compute eigenvalue decomposition in range bounder TModel::Options::EIGEN. |
BERNSTEIN |
Failed to compute the maximum gap between a univariate term and its Bernstein model. |
INIT |
Failed to construct Taylor variable. |
INCON |
Taylor model bound does not intersect with bound in template parameter arithmetic. |
TMODEL |
Operation between Taylor variables linked to different Taylor models. |
UNDEF |
Feature not yet implemented in mc::TModel. |