diagonalMatrix.h
Go to the documentation of this file.
1 
10 #ifndef _oblas_diagonalMatrix_h_
11 #define _oblas_diagonalMatrix_h_
12 
13 #ifndef NDEBUG
14 # define NDEBUG
15 #endif
16 #include <boost/numeric/ublas/banded.hpp>
17 
18 
19 namespace oBLAS {
20 
21  namespace ublas = boost::numeric::ublas;
22 
23 
24  class diagonalMatrix : public ublas::banded_matrix<double> {
25 
26  public:
27  diagonalMatrix(int i);
28  diagonalMatrix(const ublas::matrix<double>& r);
30  void operator=(const ublas::matrix<double>& r);
31  const diagonalMatrix* GetInverse();
32 
33  private:
34  void Init();
35  diagonalMatrix(); // no default constuctor ...
37 
38  };
39 
40 }
41 
42 
43 #endif
diagonalMatrix * fInverse
void operator=(const ublas::matrix< double > &r)
const diagonalMatrix * GetInverse()

, generated on Tue Sep 26 2023.