<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
exceptionHandling.hpp File Reference
#include <iostream>
#include <stdexcept>
#include <string>
Include dependency graph for exceptionHandling.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tlapack::EcOpts
 Options for error checking. More...
 
struct  tlapack::ErrorCheck
 Descriptor for Exception Handling. More...
 

Macros

#define tlapack_check(cond)
 Throw an error if cond is false.
 
#define tlapack_check_false(cond)
 Throw an error if cond is true.
 
#define TLAPACK_DEFAULT_INFCHECK   true
 Default behavior of checks for Infs.
 
#define TLAPACK_DEFAULT_NANCHECK   true
 Default behavior of checks for NaNs.
 
#define tlapack_error(info, detailedInfo)
 Error handler.
 
#define tlapack_error_if(cond, info, detailedInfo)
 Error handler with conditional.
 
#define tlapack_warning(info, detailedInfo)
 Warning handler.
 

Functions

std::string tlapack::internal::error_msg (int info, const std::string &detailedInfo)
 Create a string with the error message.
 

Variables

constexpr ErrorCheck tlapack::NO_ERROR_CHECK = {false, false, false}
 Options to disable error checking.
 

Detailed Description

Author
Weslley S Pereira, University of Colorado Denver, USA