tridiag.h
Go to the documentation of this file.
1 /*
2  -------------------------------------------------------------------
3 
4  Copyright (C) 2006-2017, Andrew W. Steiner
5 
6  This file is part of O2scl.
7 
8  O2scl is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version.
12 
13  O2scl is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with O2scl. If not, see <http://www.gnu.org/licenses/>.
20 
21  -------------------------------------------------------------------
22 */
23 /** \file tridiag.h
24  \brief Header wrapper for \ref tridiag_base.h
25 */
26 #ifndef O2SCL_TRIDIAG_H
27 #define O2SCL_TRIDIAG_H
28 
29 #include <o2scl/householder.h>
30 #include <o2scl/givens.h>
31 
32 namespace o2scl_linalg {
33 
34 #define O2SCL_IX(V,i) V[i]
35 #define O2SCL_IX2(M,i,j) M(i,j)
36 #include <o2scl/tridiag_base.h>
37 #undef O2SCL_IX
38 #undef O2SCL_IX2
39 
40 }
41 
42 namespace o2scl_linalg_bracket {
43 
44 #define O2SCL_IX(V,i) V[i]
45 #define O2SCL_IX2(M,i,j) M[i][j]
46 #include <o2scl/tridiag_base.h>
47 #undef O2SCL_IX
48 #undef O2SCL_IX2
49 
50 }
51 
52 #endif
The namespace for linear algebra classes and functions with operator()
Definition: bidiag.h:46
The namespace for linear algebra classes and functions.
Definition: bidiag.h:36

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).