5 #define WANT_STREAM // include.h will get stream fns 58 AddMessage(
"detected by Newmat: matrix not positive definite\n\n");
67 AddMessage(
"detected by Newmat: matrix is singular\n\n");
76 AddMessage(
"detected by Newmat: process fails to converge\n\n");
121 MatrixDetails(
A); MatrixDetails(B);
139 AddMessage(
"detected by Newmat: cannot convert matrix to vector\n\n");
147 AddMessage(
"detected by Newmat: cannot convert matrix to vector\n\n");
156 AddMessage(
"detected by Newmat: matrix is not square\n\n");
165 AddMessage(
"detected by Newmat: matrix is not square\n\n");
173 AddMessage(
"detected by Newmat: incompatible submatrix dimension\n\n");
181 AddMessage(
"detected by Newmat: incompatible dimensions\n\n");
190 AddMessage(
"detected by Newmat: incompatible dimensions\n\n");
191 MatrixDetails(
A); MatrixDetails(B);
211 AddMessage(
"detected by Newmat: cannot build matrix type ");
220 AddMessage(
"detected by Newmat: index error: requested index = ");
230 AddMessage(
"detected by Newmat: index error: requested indices = ");
242 AddMessage(
"detected by Newmat: element error: requested index (wrt 0) = ");
254 "detected by Newmat: element error: requested indices (wrt 0) = ");
264 AddMessage(
"internal error detected by Newmat: please inform author\n");
276 int ExeCounter::nreports;
278 ExeCounter::ExeCounter(
int xl,
int xf) : line(xl), fileid(xf), nexe(0) {}
280 ExeCounter::~ExeCounter()
283 std::cout <<
"REPORT " << std::setw(6) << nreports <<
" " 284 << std::setw(6) << fileid <<
" " << std::setw(6) << line
285 <<
" " << std::setw(6) << nexe <<
"\n";
static unsigned long Select
IndexException(int i, const GeneralMatrix &A)
static void AddMessage(const char *a_what)
void GetRow(MatrixRowCol &)
void GetCol(MatrixRowCol &)
static unsigned long Select
static unsigned long Select
NPDException(const GeneralMatrix &)
OverflowException(const char *c)
SingularException(const GeneralMatrix &A)
NotDefinedException(const char *op, const char *matrix)
void MatrixErrorNoSpace(const void *v)
CannotBuildException(const char *matrix)
static unsigned long Select
static unsigned long Select
static unsigned long Select
const char * Value() const
IncompatibleDimensionsException()
static unsigned long Select
ConvergenceException(const GeneralMatrix &A)
SubMatrixDimensionException()
void GetRow(MatrixRowCol &)
static unsigned long Select
static void AddInt(int value)
void GetCol(MatrixRowCol &)
static unsigned long Select
static unsigned long Select
static unsigned long Select
static unsigned long Select
static unsigned long Select
static unsigned long Select
InternalException(const char *c)