46 MT Get (
int r,
int c)
const;
49 void New (
int rc,
int hb);
55 bool PIndex (
int i,
int j,
int &r,
int &c);
59 void LIndex (
int r,
int c,
int &i,
int &j);
69 MT LineVecMul (
int line,
const TVector<MT> &x)
const;
98 void Allocate (
int rc,
int hband);
116 : TRootMatrix<MT> (rc, hband)
126 Allocate (A.rows, A.hband);
150 #endif // !MATH_DEBUG
159 for (r = 0; r < rows; r++) {
161 for (c = hband-1, k = r, br = 0; c >= 0 && k >= 0; c--, k--)
163 for (c = hband-2, k = r+1; c >= 0 && k < rows; c--, k++)
164 br += data[k][c] * x[k];
168 #endif // !MATH_DEBUG
173 #ifdef NEED_FRIEND_PT
202 #endif // !__BSMATRIX_H
Definition: dnsmatrix.h:17
Definition: bsmatrix.h:36