svd.h
Go to the documentation of this file.
1 /*
2  -------------------------------------------------------------------
3 
4  Copyright (C) 2010-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 svd.h
24  \brief Header wrapper for \ref svd_base.h
25 */
26 #ifndef O2SCL_SVD_H
27 #define O2SCL_SVD_H
28 
29 // For gsl_isnan()
30 #include <gsl/gsl_sys.h>
31 // For GSL_SQRT_DBL_MAX, etc.
32 #include <gsl/gsl_machine.h>
33 
34 #include <o2scl/err_hnd.h>
35 #include <o2scl/permutation.h>
36 #include <o2scl/cblas.h>
37 #include <o2scl/vector.h>
38 #include <o2scl/bidiag.h>
39 #include <o2scl/svdstep.h>
40 
41 namespace o2scl_linalg {
42 
43 #define O2SCL_CBLAS_NAMESPACE o2scl_cblas
44 
45 #define O2SCL_IX(V,i) V[i]
46 #define O2SCL_IX2(M,i,j) M(i,j)
47 #include <o2scl/svd_base.h>
48 #undef O2SCL_IX
49 #undef O2SCL_IX2
50 
51 #undef O2SCL_CBLAS_NAMESPACE
52 
53 }
54 
55 namespace o2scl_linalg_bracket {
56 
57 #define O2SCL_CBLAS_NAMESPACE o2scl_cblas_bracket
58 
59 #define O2SCL_IX(V,i) V[i]
60 #define O2SCL_IX2(M,i,j) M[i][j]
61 #include <o2scl/svd_base.h>
62 #undef O2SCL_IX
63 #undef O2SCL_IX2
64 
65 #undef O2SCL_CBLAS_NAMESPACE
66 
67 }
68 
69 #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).