LINEAR++ library: AFF to LAPACK

◆ LINEAR_LAPACK_failure

#define LINEAR_LAPACK_failure (   C,
  N,
  M,
 
)
Value:
if ((C)) { throw( linear::LapackException ( M , N , __FILE__, \
__LINE__, #C, V )); }
Exception thrown in case of LAPACK return value error.
Definition: error.h:114

Check an assertion for a LAPACK return value and report by throwing an exception.

Parameters
Cassert condition
Nname of subroutine (of type char*)
Mmessage of type char*
VLAPACK return value

Definition at line 166 of file error.h.

Referenced by linear::lapack::dposv().