1 /*
2 * Copyright (c) 2011, Michael Lehn
3 *
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1) Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2) Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
15 * distribution.
16 * 3) Neither the name of the FLENS development group nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33 #ifndef FLENS_LAPACK_LAPACK_H
34 #define FLENS_LAPACK_LAPACK_H 1
35
36 #ifndef LAPACK_DEBUG_OUT
37 //# define LAPACK_DEBUG_OUT(msg) std::cerr << msg << std::endl
38 # define LAPACK_DEBUG_OUT(msg)
39 #endif // LAPACK_DEBUG_OUT
40
41
42 #ifndef TRACE_INIT
43 # define TRACE_INIT int count = 0
44 #endif // TRACE_INIT
45
46 #ifndef TRACE
47 # define TRACE(msg) std::cerr << msg << ++count << std::endl
48 #endif // TRACE
49
50
51
52 #include <flens/lapack/aux/con.h>
53 #include <flens/lapack/aux/convert.h>
54 #include <flens/lapack/aux/equ.h>
55 #include <flens/lapack/aux/ilaenv.h>
56 #include <flens/lapack/aux/ilalc.h>
57 #include <flens/lapack/aux/ilalr.h>
58 #include <flens/lapack/aux/iparmq.h>
59 #include <flens/lapack/aux/labad.h>
60 #include <flens/lapack/aux/lacn2.h>
61 #include <flens/lapack/aux/ladiv.h>
62 #include <flens/lapack/aux/laln2.h>
63 #include <flens/lapack/aux/lamch.h>
64 #include <flens/lapack/aux/lan.h>
65 #include <flens/lapack/aux/laq.h>
66 #include <flens/lapack/aux/larf.h>
67 #include <flens/lapack/aux/larfb.h>
68 #include <flens/lapack/aux/larfg.h>
69 #include <flens/lapack/aux/larft.h>
70 #include <flens/lapack/aux/larfx.h>
71 #include <flens/lapack/aux/lartg.h>
72 #include <flens/lapack/aux/lascl.h>
73 #include <flens/lapack/aux/latrs.h>
74 #include <flens/lapack/aux/lapy2.h>
75 #include <flens/lapack/aux/lassq.h>
76 #include <flens/lapack/aux/laswp.h>
77 #include <flens/lapack/aux/lasy2.h>
78 #include <flens/lapack/aux/nint.h>
79 #include <flens/lapack/aux/pocon.h>
80 #include <flens/lapack/aux/rscl.h>
81 #include <flens/lapack/aux/sign.h>
82
83 #include <flens/lapack/debug/isidentical.h>
84
85 #include <flens/lapack/eig/bak.h>
86 #include <flens/lapack/eig/bal.h>
87 #include <flens/lapack/eig/es.h>
88 #include <flens/lapack/eig/esx.h>
89 #include <flens/lapack/eig/ev.h>
90 #include <flens/lapack/eig/evx.h>
91 #include <flens/lapack/eig/hd2.h>
92 #include <flens/lapack/eig/hrd.h>
93 #include <flens/lapack/eig/hseqr.h>
94 #include <flens/lapack/eig/lahr2.h>
95 #include <flens/lapack/eig/laexc.h>
96 #include <flens/lapack/eig/lahqr.h>
97 #include <flens/lapack/eig/lanv2.h>
98 #include <flens/lapack/eig/laqr0.h>
99 #include <flens/lapack/eig/laqr1.h>
100 #include <flens/lapack/eig/laqr2.h>
101 #include <flens/lapack/eig/laqr3.h>
102 #include <flens/lapack/eig/laqr4.h>
103 #include <flens/lapack/eig/laqr5.h>
104 #include <flens/lapack/eig/laqtr.h>
105 #include <flens/lapack/eig/orghr.h>
106 #include <flens/lapack/eig/ormhr.h>
107 #include <flens/lapack/eig/trevc.h>
108 #include <flens/lapack/eig/trexc.h>
109 #include <flens/lapack/eig/trsen.h>
110 #include <flens/lapack/eig/trsna.h>
111 #include <flens/lapack/eig/trsyl.h>
112
113 #include <flens/lapack/gesv/lauu2.h>
114 #include <flens/lapack/gesv/lauum.h>
115 #include <flens/lapack/gesv/potf2.h>
116 #include <flens/lapack/gesv/posv.h>
117 #include <flens/lapack/gesv/potrf.h>
118 #include <flens/lapack/gesv/potri.h>
119 #include <flens/lapack/gesv/potrs.h>
120 #include <flens/lapack/gesv/rfs.h>
121 #include <flens/lapack/gesv/sv.h>
122 #include <flens/lapack/gesv/svx.h>
123 #include <flens/lapack/gesv/tf2.h>
124 #include <flens/lapack/gesv/trf.h>
125 #include <flens/lapack/gesv/ti2.h>
126 #include <flens/lapack/gesv/tri.h>
127 #include <flens/lapack/gesv/trs.h>
128
129 #include <flens/lapack/lq/lq2.h>
130 #include <flens/lapack/lq/lqf.h>
131 #include <flens/lapack/lq/orgl2.h>
132 #include <flens/lapack/lq/orglq.h>
133 #include <flens/lapack/lq/orml2.h>
134 #include <flens/lapack/lq/ormlq.h>
135
136 #include <flens/lapack/ls/ls.h>
137
138 #include <flens/lapack/qr/laqp2.h>
139 #include <flens/lapack/qr/laqps.h>
140 #include <flens/lapack/qr/org2r.h>
141 #include <flens/lapack/qr/orgqr.h>
142 #include <flens/lapack/qr/orm2r.h>
143 #include <flens/lapack/qr/ormqr.h>
144 #include <flens/lapack/qr/qp3.h>
145 #include <flens/lapack/qr/qr2.h>
146 #include <flens/lapack/qr/qrf.h>
147 #include <flens/lapack/qr/qrs.h>
148
149 #include <flens/lapack/svd/jsv.h>
150 #include <flens/lapack/svd/svj.h>
151 #include <flens/lapack/svd/svj0.h>
152 #include <flens/lapack/svd/svj1.h>
153
154
155 #if defined CHECK_CXXLAPACK || defined USE_NATIVE_ILAENV
156 # include <flens/lapack/interface/include/f77lapack.h>
157 #endif
158
159 /*
160 #include <flens/lapack/qr/qrs.h>
161 */
162
163 #include <flens/lapack/typedefs.h>
164
165 #endif // FLENS_LAPACK_LAPACK_H
2 * Copyright (c) 2011, Michael Lehn
3 *
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1) Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2) Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
15 * distribution.
16 * 3) Neither the name of the FLENS development group nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33 #ifndef FLENS_LAPACK_LAPACK_H
34 #define FLENS_LAPACK_LAPACK_H 1
35
36 #ifndef LAPACK_DEBUG_OUT
37 //# define LAPACK_DEBUG_OUT(msg) std::cerr << msg << std::endl
38 # define LAPACK_DEBUG_OUT(msg)
39 #endif // LAPACK_DEBUG_OUT
40
41
42 #ifndef TRACE_INIT
43 # define TRACE_INIT int count = 0
44 #endif // TRACE_INIT
45
46 #ifndef TRACE
47 # define TRACE(msg) std::cerr << msg << ++count << std::endl
48 #endif // TRACE
49
50
51
52 #include <flens/lapack/aux/con.h>
53 #include <flens/lapack/aux/convert.h>
54 #include <flens/lapack/aux/equ.h>
55 #include <flens/lapack/aux/ilaenv.h>
56 #include <flens/lapack/aux/ilalc.h>
57 #include <flens/lapack/aux/ilalr.h>
58 #include <flens/lapack/aux/iparmq.h>
59 #include <flens/lapack/aux/labad.h>
60 #include <flens/lapack/aux/lacn2.h>
61 #include <flens/lapack/aux/ladiv.h>
62 #include <flens/lapack/aux/laln2.h>
63 #include <flens/lapack/aux/lamch.h>
64 #include <flens/lapack/aux/lan.h>
65 #include <flens/lapack/aux/laq.h>
66 #include <flens/lapack/aux/larf.h>
67 #include <flens/lapack/aux/larfb.h>
68 #include <flens/lapack/aux/larfg.h>
69 #include <flens/lapack/aux/larft.h>
70 #include <flens/lapack/aux/larfx.h>
71 #include <flens/lapack/aux/lartg.h>
72 #include <flens/lapack/aux/lascl.h>
73 #include <flens/lapack/aux/latrs.h>
74 #include <flens/lapack/aux/lapy2.h>
75 #include <flens/lapack/aux/lassq.h>
76 #include <flens/lapack/aux/laswp.h>
77 #include <flens/lapack/aux/lasy2.h>
78 #include <flens/lapack/aux/nint.h>
79 #include <flens/lapack/aux/pocon.h>
80 #include <flens/lapack/aux/rscl.h>
81 #include <flens/lapack/aux/sign.h>
82
83 #include <flens/lapack/debug/isidentical.h>
84
85 #include <flens/lapack/eig/bak.h>
86 #include <flens/lapack/eig/bal.h>
87 #include <flens/lapack/eig/es.h>
88 #include <flens/lapack/eig/esx.h>
89 #include <flens/lapack/eig/ev.h>
90 #include <flens/lapack/eig/evx.h>
91 #include <flens/lapack/eig/hd2.h>
92 #include <flens/lapack/eig/hrd.h>
93 #include <flens/lapack/eig/hseqr.h>
94 #include <flens/lapack/eig/lahr2.h>
95 #include <flens/lapack/eig/laexc.h>
96 #include <flens/lapack/eig/lahqr.h>
97 #include <flens/lapack/eig/lanv2.h>
98 #include <flens/lapack/eig/laqr0.h>
99 #include <flens/lapack/eig/laqr1.h>
100 #include <flens/lapack/eig/laqr2.h>
101 #include <flens/lapack/eig/laqr3.h>
102 #include <flens/lapack/eig/laqr4.h>
103 #include <flens/lapack/eig/laqr5.h>
104 #include <flens/lapack/eig/laqtr.h>
105 #include <flens/lapack/eig/orghr.h>
106 #include <flens/lapack/eig/ormhr.h>
107 #include <flens/lapack/eig/trevc.h>
108 #include <flens/lapack/eig/trexc.h>
109 #include <flens/lapack/eig/trsen.h>
110 #include <flens/lapack/eig/trsna.h>
111 #include <flens/lapack/eig/trsyl.h>
112
113 #include <flens/lapack/gesv/lauu2.h>
114 #include <flens/lapack/gesv/lauum.h>
115 #include <flens/lapack/gesv/potf2.h>
116 #include <flens/lapack/gesv/posv.h>
117 #include <flens/lapack/gesv/potrf.h>
118 #include <flens/lapack/gesv/potri.h>
119 #include <flens/lapack/gesv/potrs.h>
120 #include <flens/lapack/gesv/rfs.h>
121 #include <flens/lapack/gesv/sv.h>
122 #include <flens/lapack/gesv/svx.h>
123 #include <flens/lapack/gesv/tf2.h>
124 #include <flens/lapack/gesv/trf.h>
125 #include <flens/lapack/gesv/ti2.h>
126 #include <flens/lapack/gesv/tri.h>
127 #include <flens/lapack/gesv/trs.h>
128
129 #include <flens/lapack/lq/lq2.h>
130 #include <flens/lapack/lq/lqf.h>
131 #include <flens/lapack/lq/orgl2.h>
132 #include <flens/lapack/lq/orglq.h>
133 #include <flens/lapack/lq/orml2.h>
134 #include <flens/lapack/lq/ormlq.h>
135
136 #include <flens/lapack/ls/ls.h>
137
138 #include <flens/lapack/qr/laqp2.h>
139 #include <flens/lapack/qr/laqps.h>
140 #include <flens/lapack/qr/org2r.h>
141 #include <flens/lapack/qr/orgqr.h>
142 #include <flens/lapack/qr/orm2r.h>
143 #include <flens/lapack/qr/ormqr.h>
144 #include <flens/lapack/qr/qp3.h>
145 #include <flens/lapack/qr/qr2.h>
146 #include <flens/lapack/qr/qrf.h>
147 #include <flens/lapack/qr/qrs.h>
148
149 #include <flens/lapack/svd/jsv.h>
150 #include <flens/lapack/svd/svj.h>
151 #include <flens/lapack/svd/svj0.h>
152 #include <flens/lapack/svd/svj1.h>
153
154
155 #if defined CHECK_CXXLAPACK || defined USE_NATIVE_ILAENV
156 # include <flens/lapack/interface/include/f77lapack.h>
157 #endif
158
159 /*
160 #include <flens/lapack/qr/qrs.h>
161 */
162
163 #include <flens/lapack/typedefs.h>
164
165 #endif // FLENS_LAPACK_LAPACK_H