6 #define WANT_STREAM // include.h will get stream fns 57 AddMessage(
"detected by Newmat: matrix not positive definite\n\n");
66 AddMessage(
"detected by Newmat: matrix is singular\n\n");
75 AddMessage(
"detected by Newmat: process fails to converge\n\n");
138 AddMessage(
"detected by Newmat: cannot convert matrix to vector\n\n");
146 AddMessage(
"detected by Newmat: cannot convert matrix to vector\n\n");
155 AddMessage(
"detected by Newmat: matrix is not square\n\n");
164 AddMessage(
"detected by Newmat: matrix is not square\n\n");
172 AddMessage(
"detected by Newmat: incompatible submatrix dimension\n\n");
180 AddMessage(
"detected by Newmat: incompatible dimensions\n\n");
189 AddMessage(
"detected by Newmat: incompatible dimensions\n\n");
199 AddMessage(
"detected by Newmat: incompatible dimensions\n\n");
220 AddMessage(
"detected by Newmat: cannot build matrix type ");
229 AddMessage(
"detected by Newmat: index error: requested index = ");
239 AddMessage(
"detected by Newmat: index error: requested indices = ");
251 AddMessage(
"detected by Newmat: element error: requested index (wrt 0) = ");
263 "detected by Newmat: element error: requested indices (wrt 0) = ");
273 AddMessage(
"internal error detected by Newmat: please inform author\n");
285 int ExeCounter::nreports;
287 ExeCounter::ExeCounter(
int xl,
int xf) :
line(xl), fileid(xf), nexe(0) {}
289 ExeCounter::~ExeCounter()
292 cout <<
"REPORT " << setw(6) << nreports <<
" " 293 << setw(6) << fileid <<
" " << setw(6) <<
line 294 <<
" " << setw(6) << nexe <<
"\n";
static unsigned long Select
IndexException(int i, const GeneralMatrix &A)
static void AddMessage(const char *a_what)
void GetRow(MatrixRowCol &)
static void MatrixDetails(const GeneralMatrix &A)
void GetCol(MatrixRowCol &)
static unsigned long Select
static unsigned long Select
virtual MatrixBandWidth bandwidth() const
NPDException(const GeneralMatrix &)
OverflowException(const char *c)
SingularException(const GeneralMatrix &A)
NotDefinedException(const char *op, const char *matrix)
CannotBuildException(const char *matrix)
static unsigned long Select
static unsigned long Select
FloatVector FloatVector * a
static unsigned long Select
void MatrixErrorNoSpace(const void *v)
test for allocation fails
IncompatibleDimensionsException()
const char * Value() const
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
Logic_error(const char *a_what=0)
static unsigned long Select
static unsigned long Select
static unsigned long Select
static unsigned long Select
The classes for matrices that can contain data are derived from this.
static unsigned long Select
InternalException(const char *c)