Exception for non-symmetric matrices if symmetric matrices are required. More...
#include <exceptions.hh>
Public Member Functions | |
template<class Value , class = std::enable_if_t<std::is_arithmetic<Value>::value>> | |
NonSymmetricMatrixException (const std::string &function, const Value &rows, const Value &cols, const std::string &file, const int line) | |
Constructor. More... | |
Exception for non-symmetric matrices if symmetric matrices are required.
|
inline |
Constructor.
function | name of the function throwing this exception |
rows | number of rows of matrix |
cols | number of columns of matrix |
file | file containing the throwing code |
line | line containing the throwing code |