MC++
mc::Interval::Exceptions Class Reference

Exceptions of mc::Interval.

#include <interval.hpp>

Public Types

enum  TYPE {
  DIV =1, INV, LOG, SQRT,
  ACOS, ASIN, TAN
}
 Enumeration type for mc::Interval exceptions. More...
 

Public Member Functions

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

Member Enumeration Documentation

Enumerator
DIV 

Division by zero.

INV 

Inverse with zero in range.

LOG 

Log with negative values in range.

SQRT 

Square-root with nonpositive values in range.

ACOS 

Inverse cosine with values outside of [-1,1] range.

ASIN 

Inverse sine with values outside of [-1,1] range.

TAN 

Tangent with values \(\frac{\pi}{2}+k\,\pi\), with \(k\in\mathbb{Z}\), in range.


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