Toast++
1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Main Page
Related Pages
Modules
Classes
Files
File List
libmath
sbsmatrix.h
1
// -*-C++-*-
2
3
#ifndef __SBSMATRIX_H
4
#define __SBSMATRIX_H
5
6
template
<
class
MT>
class
TSparseBandSymMatrix
:
public
TBandSymMatrix
<MT> {
7
public
:
8
TSparseBandSymMatrix
();
9
TSparseBandSymMatrix
(
int
rc,
int
hb);
10
TSparseBandSymMatrix
(
const
TSparseBandSymMatrix<MT>
&A);
11
12
virtual
~
TSparseBandSymMatrix
();
13
14
void
Register ();
15
virtual
void
Ax (
const
TVector<MT>
&x,
TVector<MT>
&b)
const
;
16
friend
void
CHdecomp (
TSparseBandSymMatrix<MT>
&a);
17
18
private
:
19
int
*rowfill;
20
int
*colfill;
21
int
**rowindex;
22
int
**colindex;
23
};
24
25
// ==========================================================================
26
// inline functions
27
28
// ==========================================================================
29
// typedefs for specific instances of `TSparseBandSymMatrix'
30
31
typedef
TSparseBandSymMatrix<double>
RSparseBandSymMatrix
;
// 'real'
32
typedef
TSparseBandSymMatrix<float>
FSparseBandSymMatrix
;
// 'float'
33
typedef
TSparseBandSymMatrix<complex>
CSparseBandSymMatrix
;
// 'complex'
34
typedef
TSparseBandSymMatrix<int>
ISparseBandSymMatrix
;
// 'integer'
35
typedef
TSparseBandSymMatrix<double>
SparseBandSymMatrix
;
// for backward
36
// compatibility
37
38
#endif // !__SBSMATRIX_H
TVector< MT >
TSparseBandSymMatrix
Definition:
sbsmatrix.h:6
TBandSymMatrix
Definition:
bsmatrix.h:36
Generated on Tue Sep 2 2014 17:14:26 for Toast++ by
1.8.6