LINEAR++ library: AFF to LAPACK
Error handling module

Classes

class  linear::Exception
 Base class for exceptions. More...
 
class  linear::LapackException
 Exception thrown in case of LAPACK return value error. More...
 

Macros

#define LINEAR_Xassert(C, M, E)   if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); }
 Check an assertion and report by throwing an exception. More...
 
#define LINEAR_LAPACK_failure(C, N, M, V)
 Check an assertion for a LAPACK return value and report by throwing an exception. More...
 
#define LINEAR_assert(C, M)   LINEAR_Xassert( C , M , linear::Exception )
 Check an assertion and report by throwing an exception. More...
 
#define LINEAR_abort(M)   throw( linear::Exception ( M , __FILE__, __LINE__ ))
 Abort and give a message. More...
 
#define LINEAR_debug(C, N, M)
 produce debug outputCode which uses this macro has to include <iostream> More...
 

Detailed Description