15 #define REPORT { static ExeCounter ExeCount(__LINE__,11); ++ExeCount; } 28 int a = first_row - 1;
int b = last_row - first_row + 1;
29 int c = first_col - 1;
int d = last_col - first_col + 1;
38 Tracer tr(
"SubMatrix(symmetric)");
39 int a = first_row - 1;
int b = last_row - first_row + 1;
48 Tracer tr(
"SubMatrix(row)");
49 int a = first_row - 1;
57 Tracer tr(
"SubMatrix(rows)");
58 int a = first_row - 1;
int b = last_row - first_row + 1;
67 Tracer tr(
"SubMatrix(column)");
68 int c = first_col - 1;
76 Tracer tr(
"SubMatrix(columns)");
77 int c = first_col - 1;
int d = last_col - first_col + 1;
86 Tracer tr(
"SubMatrix(LHS)");
91 if (row_number < 0) row_number = gm1->
Nrows();
92 if (col_number < 0) col_number = gm1->
Ncols();
93 if (row_skip+row_number > gm1->
Nrows()
94 || col_skip+col_number > gm1->
Ncols())
105 if (row_number != gmx->
Nrows() || col_number != gmx->
Ncols())
134 if (row_number != gmx->
Nrows() || col_number != gmx->
Ncols())
137 ( row_skip == col_skip
138 && gm->Type().IsSymmetric()
164 Tracer tr(
"SubMatrix(<<Real*)");
166 if (row_skip+row_number > gm->Nrows() || col_skip+col_number > gm->Ncols())
181 Tracer tr(
"SubMatrix(<<int*)");
183 if (row_skip+row_number > gm->Nrows() || col_skip+col_number > gm->Ncols())
198 Tracer tr(
"SubMatrix(=Real)");
213 Tracer tr(
"SubMatrix(inject)");
215 if (row_number != gmx.
Nrows() || col_number != gmx.
Ncols())
236 if (row_number != gmx->
Nrows() || col_number != gmx->
Ncols())
266 if (row_number != gmx->
Nrows() || col_number != gmx->
Ncols())
291 Tracer tr(
"SubMatrix(+= or -= Real)");
316 Tracer tr(
"SubMatrix(*= or /= Real)");
void operator<<(const BaseMatrix &)
void Check(const MatrixRowCol &)
GetSubMatrix Column(int) const
void operator+=(const BaseMatrix &)
void Copy(const MatrixRowCol &)
GetSubMatrix Columns(int, int) const
void Add(const MatrixRowCol &)
GetSubMatrix SymSubMatrix(int, int) const
GeneralMatrix * Evaluate(MatrixType mt=MatrixTypeUnSp)
void operator-=(const BaseMatrix &)
void CopyCheck(const MatrixRowCol &)
void Inject(const GeneralMatrix &)
void Multiply(const MatrixRowCol &)
void operator=(const BaseMatrix &)
void Sub(const MatrixRowCol &)
GetSubMatrix Row(int) const
void SubRowCol(MatrixRowCol &, int, int) const
virtual MatrixType Type() const =0
void Inject(const MatrixRowCol &)
GetSubMatrix SubMatrix(int, int, int, int) const
GetSubMatrix Rows(int, int) const