11 #ifndef CT_BANDMATRIX_H
12 #define CT_BANDMATRIX_H
58 BandMatrix(
size_t n,
size_t kl,
size_t ku, doublereal v = 0.0);
84 void resize(
size_t n,
size_t kl,
size_t ku, doublereal v = 0.0);
90 void bfill(doublereal v = 0.0);
109 doublereal
operator()(
size_t i,
size_t j)
const;
121 doublereal&
value(
size_t i,
size_t j);
132 doublereal
value(
size_t i,
size_t j)
const;
141 size_t index(
size_t i,
size_t j)
const;
153 doublereal
_value(
size_t i,
size_t j)
const;
156 virtual size_t nRows()
const;
193 virtual void mult(
const doublereal* b, doublereal* prod)
const;
200 virtual void leftMult(
const doublereal*
const b, doublereal*
const prod)
const;
223 int solve(
const doublereal*
const b, doublereal*
const x);
234 int solve(doublereal* b);
241 virtual vector_fp::iterator
begin();
247 vector_fp::iterator
end();
253 vector_fp::const_iterator
begin()
const;
259 vector_fp::const_iterator
end()
const;
290 virtual doublereal
rcond(doublereal a1norm);
310 virtual doublereal
oneNorm()
const;
350 virtual doublereal*
const*
colPts();
372 virtual size_t checkRows(doublereal& valueSmall)
const;
383 virtual size_t checkColumns(doublereal& valueSmall)
const;
426 void err(std::string msg)
const;
438 std::ostream& operator<<(std::ostream& s,
const BandMatrix& m);