13 using namespace oBLAS;
22 ublas::banded_matrix<double>(i, i, 0, 0)
35 ublas::banded_matrix<double>(r.size1(), r.size1(), 0, 0)
37 const unsigned int size = this->size1();
38 for (
unsigned int i = 0; i < size; ++i)
39 (*
this)(i, i) = r(i, i);
77 const unsigned int size = this->size1();
78 for (
unsigned int i = 0; i < size; ++i)
79 (*
this)(i, i) = r(i, i);
92 const unsigned int size = this->size1();
96 const double epsilon = std::numeric_limits<double>::epsilon();
98 for (
unsigned int i = 0; i < size; ++i) {
99 const double tmp = (*this)(i, i);
100 if (fabs(tmp) > epsilon)
diagonalMatrix * fInverse
void operator=(const ublas::matrix< double > &r)
const diagonalMatrix * GetInverse()