120 m_message =
"Empty vector cannot be indexed.";
147 if (rows > 0 && cols > 0) {
153 m_message =
"Empty matrix cannot be indexed.";
196 m_message =
"Vector cross product only defined for 3 dimensions but"
222 " is incompatible with matrix size (" +
240 int cols1,
int rows2,
int cols2)
246 m_message =
"Matrices are incompatible for operation.";
249 m_message +=
" differs from matrix size ";
336 m_message =
"Matrix has not been factorised using " + type;
354 m_message =
"All matrix elements are zero.";
370 int min_order,
int max_order)
377 "requested; must be comprised in [" +
gammalib::str(min_order) +
invalid_order(std::string origin, int order, int min_order, int max_order)
Invalid ordering scheme requested.
empty(std::string origin)
Empty object exception.
vector_mismatch(std::string origin, int size1, int size2)
Vector dimensions differ.
double sum(const GVector &vector)
Computes vector sum.
matrix_vector_mismatch(std::string origin, int num, int rows, int cols)
Mismatch between matrix and vector.
double min(const GVector &vector)
Computes minimum vector element.
matrix_mismatch(std::string origin, int rows1, int cols1, int rows2, int cols2)
Mismatch between matrices.
matrix_zero(std::string origin)
All matrix elements are zero.
vector_bad_cross_dim(std::string origin, int elements)
Invalid vector dimension for cross product.
double max(const GVector &vector)
Computes maximum vector element.
matrix_not_square(std::string origin, int rows, int cols)
Matrix not square.
matrix_not_factorised(std::string origin, std::string type)
Matrix has not been factorised.
Exception handler interface definition.
matrix_not_pos_definite(std::string origin, int row, double sum)
Matrix is not positive definite.
out_of_range(std::string origin, int inx, int min, int max)
Index is out of range.
std::string str(const unsigned short int &value)
Convert unsigned short integer value into string.
matrix_not_symmetric(std::string origin, int cols, int rows)
Matrix is not symmetric.