tomoto 0.3.0-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +45 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +162 -0
  5. data/ext/tomoto/ct.cpp +58 -0
  6. data/ext/tomoto/dmr.cpp +69 -0
  7. data/ext/tomoto/dt.cpp +91 -0
  8. data/ext/tomoto/extconf.rb +34 -0
  9. data/ext/tomoto/gdmr.cpp +42 -0
  10. data/ext/tomoto/hdp.cpp +47 -0
  11. data/ext/tomoto/hlda.cpp +71 -0
  12. data/ext/tomoto/hpa.cpp +32 -0
  13. data/ext/tomoto/lda.cpp +281 -0
  14. data/ext/tomoto/llda.cpp +33 -0
  15. data/ext/tomoto/mglda.cpp +81 -0
  16. data/ext/tomoto/pa.cpp +32 -0
  17. data/ext/tomoto/plda.cpp +33 -0
  18. data/ext/tomoto/slda.cpp +48 -0
  19. data/ext/tomoto/tomoto.cpp +48 -0
  20. data/ext/tomoto/utils.h +30 -0
  21. data/lib/tomoto/2.7/tomoto.so +0 -0
  22. data/lib/tomoto/3.0/tomoto.so +0 -0
  23. data/lib/tomoto/3.1/tomoto.so +0 -0
  24. data/lib/tomoto/ct.rb +24 -0
  25. data/lib/tomoto/dmr.rb +27 -0
  26. data/lib/tomoto/dt.rb +15 -0
  27. data/lib/tomoto/gdmr.rb +15 -0
  28. data/lib/tomoto/hdp.rb +11 -0
  29. data/lib/tomoto/hlda.rb +56 -0
  30. data/lib/tomoto/hpa.rb +11 -0
  31. data/lib/tomoto/lda.rb +181 -0
  32. data/lib/tomoto/llda.rb +15 -0
  33. data/lib/tomoto/mglda.rb +15 -0
  34. data/lib/tomoto/pa.rb +11 -0
  35. data/lib/tomoto/plda.rb +15 -0
  36. data/lib/tomoto/slda.rb +37 -0
  37. data/lib/tomoto/version.rb +3 -0
  38. data/lib/tomoto.rb +27 -0
  39. data/vendor/EigenRand/EigenRand/EigenRand +24 -0
  40. data/vendor/EigenRand/LICENSE +21 -0
  41. data/vendor/EigenRand/README.md +426 -0
  42. data/vendor/eigen/COPYING.APACHE +203 -0
  43. data/vendor/eigen/COPYING.BSD +26 -0
  44. data/vendor/eigen/COPYING.GPL +674 -0
  45. data/vendor/eigen/COPYING.LGPL +502 -0
  46. data/vendor/eigen/COPYING.MINPACK +51 -0
  47. data/vendor/eigen/COPYING.MPL2 +373 -0
  48. data/vendor/eigen/COPYING.README +18 -0
  49. data/vendor/eigen/Eigen/Cholesky +45 -0
  50. data/vendor/eigen/Eigen/CholmodSupport +48 -0
  51. data/vendor/eigen/Eigen/Core +384 -0
  52. data/vendor/eigen/Eigen/Dense +7 -0
  53. data/vendor/eigen/Eigen/Eigen +2 -0
  54. data/vendor/eigen/Eigen/Eigenvalues +60 -0
  55. data/vendor/eigen/Eigen/Geometry +59 -0
  56. data/vendor/eigen/Eigen/Householder +29 -0
  57. data/vendor/eigen/Eigen/IterativeLinearSolvers +48 -0
  58. data/vendor/eigen/Eigen/Jacobi +32 -0
  59. data/vendor/eigen/Eigen/KLUSupport +41 -0
  60. data/vendor/eigen/Eigen/LU +47 -0
  61. data/vendor/eigen/Eigen/MetisSupport +35 -0
  62. data/vendor/eigen/Eigen/OrderingMethods +70 -0
  63. data/vendor/eigen/Eigen/PaStiXSupport +49 -0
  64. data/vendor/eigen/Eigen/PardisoSupport +35 -0
  65. data/vendor/eigen/Eigen/QR +50 -0
  66. data/vendor/eigen/Eigen/QtAlignedMalloc +39 -0
  67. data/vendor/eigen/Eigen/SPQRSupport +34 -0
  68. data/vendor/eigen/Eigen/SVD +50 -0
  69. data/vendor/eigen/Eigen/Sparse +34 -0
  70. data/vendor/eigen/Eigen/SparseCholesky +37 -0
  71. data/vendor/eigen/Eigen/SparseCore +69 -0
  72. data/vendor/eigen/Eigen/SparseLU +50 -0
  73. data/vendor/eigen/Eigen/SparseQR +36 -0
  74. data/vendor/eigen/Eigen/StdDeque +27 -0
  75. data/vendor/eigen/Eigen/StdList +26 -0
  76. data/vendor/eigen/Eigen/StdVector +27 -0
  77. data/vendor/eigen/Eigen/SuperLUSupport +64 -0
  78. data/vendor/eigen/Eigen/UmfPackSupport +40 -0
  79. data/vendor/eigen/README.md +5 -0
  80. data/vendor/eigen/bench/README.txt +55 -0
  81. data/vendor/eigen/bench/btl/COPYING +340 -0
  82. data/vendor/eigen/bench/btl/README +154 -0
  83. data/vendor/eigen/bench/tensors/README +20 -0
  84. data/vendor/eigen/blas/README.txt +6 -0
  85. data/vendor/eigen/ci/README.md +56 -0
  86. data/vendor/eigen/demos/mandelbrot/README +10 -0
  87. data/vendor/eigen/demos/mix_eigen_and_c/README +9 -0
  88. data/vendor/eigen/demos/opengl/README +13 -0
  89. data/vendor/eigen/unsupported/Eigen/CXX11/src/Tensor/README.md +1815 -0
  90. data/vendor/eigen/unsupported/README.txt +50 -0
  91. data/vendor/tomotopy/LICENSE +21 -0
  92. data/vendor/tomotopy/README.kr.rst +512 -0
  93. data/vendor/tomotopy/README.rst +516 -0
  94. data/vendor/variant/LICENSE +25 -0
  95. data/vendor/variant/LICENSE_1_0.txt +23 -0
  96. data/vendor/variant/README.md +102 -0
  97. metadata +140 -0
@@ -0,0 +1,384 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
5
+ // Copyright (C) 2007-2011 Benoit Jacob <jacob.benoit.1@gmail.com>
6
+ //
7
+ // This Source Code Form is subject to the terms of the Mozilla
8
+ // Public License v. 2.0. If a copy of the MPL was not distributed
9
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
+
11
+ #ifndef EIGEN_CORE_H
12
+ #define EIGEN_CORE_H
13
+
14
+ // first thing Eigen does: stop the compiler from reporting useless warnings.
15
+ #include "src/Core/util/DisableStupidWarnings.h"
16
+
17
+ // then include this file where all our macros are defined. It's really important to do it first because
18
+ // it's where we do all the compiler/OS/arch detections and define most defaults.
19
+ #include "src/Core/util/Macros.h"
20
+
21
+ // This detects SSE/AVX/NEON/etc. and configure alignment settings
22
+ #include "src/Core/util/ConfigureVectorization.h"
23
+
24
+ // We need cuda_runtime.h/hip_runtime.h to ensure that
25
+ // the EIGEN_USING_STD macro works properly on the device side
26
+ #if defined(EIGEN_CUDACC)
27
+ #include <cuda_runtime.h>
28
+ #elif defined(EIGEN_HIPCC)
29
+ #include <hip/hip_runtime.h>
30
+ #endif
31
+
32
+
33
+ #ifdef EIGEN_EXCEPTIONS
34
+ #include <new>
35
+ #endif
36
+
37
+ // Disable the ipa-cp-clone optimization flag with MinGW 6.x or newer (enabled by default with -O3)
38
+ // See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=556 for details.
39
+ #if EIGEN_COMP_MINGW && EIGEN_GNUC_AT_LEAST(4,6) && EIGEN_GNUC_AT_MOST(5,5)
40
+ #pragma GCC optimize ("-fno-ipa-cp-clone")
41
+ #endif
42
+
43
+ // Prevent ICC from specializing std::complex operators that silently fail
44
+ // on device. This allows us to use our own device-compatible specializations
45
+ // instead.
46
+ #if defined(EIGEN_COMP_ICC) && defined(EIGEN_GPU_COMPILE_PHASE) \
47
+ && !defined(_OVERRIDE_COMPLEX_SPECIALIZATION_)
48
+ #define _OVERRIDE_COMPLEX_SPECIALIZATION_ 1
49
+ #endif
50
+ #include <complex>
51
+
52
+ // this include file manages BLAS and MKL related macros
53
+ // and inclusion of their respective header files
54
+ #include "src/Core/util/MKL_support.h"
55
+
56
+
57
+ #if defined(EIGEN_HAS_CUDA_FP16) || defined(EIGEN_HAS_HIP_FP16)
58
+ #define EIGEN_HAS_GPU_FP16
59
+ #endif
60
+
61
+ #if defined(EIGEN_HAS_CUDA_BF16) || defined(EIGEN_HAS_HIP_BF16)
62
+ #define EIGEN_HAS_GPU_BF16
63
+ #endif
64
+
65
+ #if (defined _OPENMP) && (!defined EIGEN_DONT_PARALLELIZE)
66
+ #define EIGEN_HAS_OPENMP
67
+ #endif
68
+
69
+ #ifdef EIGEN_HAS_OPENMP
70
+ #include <omp.h>
71
+ #endif
72
+
73
+ // MSVC for windows mobile does not have the errno.h file
74
+ #if !(EIGEN_COMP_MSVC && EIGEN_OS_WINCE) && !EIGEN_COMP_ARM
75
+ #define EIGEN_HAS_ERRNO
76
+ #endif
77
+
78
+ #ifdef EIGEN_HAS_ERRNO
79
+ #include <cerrno>
80
+ #endif
81
+ #include <cstddef>
82
+ #include <cstdlib>
83
+ #include <cmath>
84
+ #include <cassert>
85
+ #include <functional>
86
+ #include <sstream>
87
+ #ifndef EIGEN_NO_IO
88
+ #include <iosfwd>
89
+ #endif
90
+ #include <cstring>
91
+ #include <string>
92
+ #include <limits>
93
+ #include <climits> // for CHAR_BIT
94
+ // for min/max:
95
+ #include <algorithm>
96
+
97
+ #if EIGEN_HAS_CXX11
98
+ #include <array>
99
+ #endif
100
+
101
+ // for std::is_nothrow_move_assignable
102
+ #ifdef EIGEN_INCLUDE_TYPE_TRAITS
103
+ #include <type_traits>
104
+ #endif
105
+
106
+ // for outputting debug info
107
+ #ifdef EIGEN_DEBUG_ASSIGN
108
+ #include <iostream>
109
+ #endif
110
+
111
+ // required for __cpuid, needs to be included after cmath
112
+ #if EIGEN_COMP_MSVC && EIGEN_ARCH_i386_OR_x86_64 && !EIGEN_OS_WINCE
113
+ #include <intrin.h>
114
+ #endif
115
+
116
+ #if defined(EIGEN_USE_SYCL)
117
+ #undef min
118
+ #undef max
119
+ #undef isnan
120
+ #undef isinf
121
+ #undef isfinite
122
+ #include <CL/sycl.hpp>
123
+ #include <map>
124
+ #include <memory>
125
+ #include <utility>
126
+ #include <thread>
127
+ #ifndef EIGEN_SYCL_LOCAL_THREAD_DIM0
128
+ #define EIGEN_SYCL_LOCAL_THREAD_DIM0 16
129
+ #endif
130
+ #ifndef EIGEN_SYCL_LOCAL_THREAD_DIM1
131
+ #define EIGEN_SYCL_LOCAL_THREAD_DIM1 16
132
+ #endif
133
+ #endif
134
+
135
+
136
+ #if defined EIGEN2_SUPPORT_STAGE40_FULL_EIGEN3_STRICTNESS || defined EIGEN2_SUPPORT_STAGE30_FULL_EIGEN3_API || defined EIGEN2_SUPPORT_STAGE20_RESOLVE_API_CONFLICTS || defined EIGEN2_SUPPORT_STAGE10_FULL_EIGEN2_API || defined EIGEN2_SUPPORT
137
+ // This will generate an error message:
138
+ #error Eigen2-support is only available up to version 3.2. Please go to "http://eigen.tuxfamily.org/index.php?title=Eigen2" for further information
139
+ #endif
140
+
141
+ namespace Eigen {
142
+
143
+ // we use size_t frequently and we'll never remember to prepend it with std:: every time just to
144
+ // ensure QNX/QCC support
145
+ using std::size_t;
146
+ // gcc 4.6.0 wants std:: for ptrdiff_t
147
+ using std::ptrdiff_t;
148
+
149
+ }
150
+
151
+ /** \defgroup Core_Module Core module
152
+ * This is the main module of Eigen providing dense matrix and vector support
153
+ * (both fixed and dynamic size) with all the features corresponding to a BLAS library
154
+ * and much more...
155
+ *
156
+ * \code
157
+ * #include <Eigen/Core>
158
+ * \endcode
159
+ */
160
+
161
+ #include "src/Core/util/Constants.h"
162
+ #include "src/Core/util/Meta.h"
163
+ #include "src/Core/util/ForwardDeclarations.h"
164
+ #include "src/Core/util/StaticAssert.h"
165
+ #include "src/Core/util/XprHelper.h"
166
+ #include "src/Core/util/Memory.h"
167
+ #include "src/Core/util/IntegralConstant.h"
168
+ #include "src/Core/util/SymbolicIndex.h"
169
+
170
+ #include "src/Core/NumTraits.h"
171
+ #include "src/Core/MathFunctions.h"
172
+ #include "src/Core/GenericPacketMath.h"
173
+ #include "src/Core/MathFunctionsImpl.h"
174
+ #include "src/Core/arch/Default/ConjHelper.h"
175
+ // Generic half float support
176
+ #include "src/Core/arch/Default/Half.h"
177
+ #include "src/Core/arch/Default/BFloat16.h"
178
+ #include "src/Core/arch/Default/TypeCasting.h"
179
+ #include "src/Core/arch/Default/GenericPacketMathFunctionsFwd.h"
180
+
181
+ #if defined EIGEN_VECTORIZE_AVX512
182
+ #include "src/Core/arch/SSE/PacketMath.h"
183
+ #include "src/Core/arch/SSE/TypeCasting.h"
184
+ #include "src/Core/arch/SSE/Complex.h"
185
+ #include "src/Core/arch/AVX/PacketMath.h"
186
+ #include "src/Core/arch/AVX/TypeCasting.h"
187
+ #include "src/Core/arch/AVX/Complex.h"
188
+ #include "src/Core/arch/AVX512/PacketMath.h"
189
+ #include "src/Core/arch/AVX512/TypeCasting.h"
190
+ #include "src/Core/arch/AVX512/Complex.h"
191
+ #include "src/Core/arch/SSE/MathFunctions.h"
192
+ #include "src/Core/arch/AVX/MathFunctions.h"
193
+ #include "src/Core/arch/AVX512/MathFunctions.h"
194
+ #elif defined EIGEN_VECTORIZE_AVX
195
+ // Use AVX for floats and doubles, SSE for integers
196
+ #include "src/Core/arch/SSE/PacketMath.h"
197
+ #include "src/Core/arch/SSE/TypeCasting.h"
198
+ #include "src/Core/arch/SSE/Complex.h"
199
+ #include "src/Core/arch/AVX/PacketMath.h"
200
+ #include "src/Core/arch/AVX/TypeCasting.h"
201
+ #include "src/Core/arch/AVX/Complex.h"
202
+ #include "src/Core/arch/SSE/MathFunctions.h"
203
+ #include "src/Core/arch/AVX/MathFunctions.h"
204
+ #elif defined EIGEN_VECTORIZE_SSE
205
+ #include "src/Core/arch/SSE/PacketMath.h"
206
+ #include "src/Core/arch/SSE/TypeCasting.h"
207
+ #include "src/Core/arch/SSE/MathFunctions.h"
208
+ #include "src/Core/arch/SSE/Complex.h"
209
+ #elif defined(EIGEN_VECTORIZE_ALTIVEC) || defined(EIGEN_VECTORIZE_VSX)
210
+ #include "src/Core/arch/AltiVec/PacketMath.h"
211
+ #include "src/Core/arch/AltiVec/MathFunctions.h"
212
+ #include "src/Core/arch/AltiVec/Complex.h"
213
+ #elif defined EIGEN_VECTORIZE_NEON
214
+ #include "src/Core/arch/NEON/PacketMath.h"
215
+ #include "src/Core/arch/NEON/TypeCasting.h"
216
+ #include "src/Core/arch/NEON/MathFunctions.h"
217
+ #include "src/Core/arch/NEON/Complex.h"
218
+ #elif defined EIGEN_VECTORIZE_SVE
219
+ #include "src/Core/arch/SVE/PacketMath.h"
220
+ #include "src/Core/arch/SVE/TypeCasting.h"
221
+ #include "src/Core/arch/SVE/MathFunctions.h"
222
+ #elif defined EIGEN_VECTORIZE_ZVECTOR
223
+ #include "src/Core/arch/ZVector/PacketMath.h"
224
+ #include "src/Core/arch/ZVector/MathFunctions.h"
225
+ #include "src/Core/arch/ZVector/Complex.h"
226
+ #elif defined EIGEN_VECTORIZE_MSA
227
+ #include "src/Core/arch/MSA/PacketMath.h"
228
+ #include "src/Core/arch/MSA/MathFunctions.h"
229
+ #include "src/Core/arch/MSA/Complex.h"
230
+ #endif
231
+
232
+ #if defined EIGEN_VECTORIZE_GPU
233
+ #include "src/Core/arch/GPU/PacketMath.h"
234
+ #include "src/Core/arch/GPU/MathFunctions.h"
235
+ #include "src/Core/arch/GPU/TypeCasting.h"
236
+ #endif
237
+
238
+ #if defined(EIGEN_USE_SYCL)
239
+ #include "src/Core/arch/SYCL/SyclMemoryModel.h"
240
+ #include "src/Core/arch/SYCL/InteropHeaders.h"
241
+ #if !defined(EIGEN_DONT_VECTORIZE_SYCL)
242
+ #include "src/Core/arch/SYCL/PacketMath.h"
243
+ #include "src/Core/arch/SYCL/MathFunctions.h"
244
+ #include "src/Core/arch/SYCL/TypeCasting.h"
245
+ #endif
246
+ #endif
247
+
248
+ #include "src/Core/arch/Default/Settings.h"
249
+ // This file provides generic implementations valid for scalar as well
250
+ #include "src/Core/arch/Default/GenericPacketMathFunctions.h"
251
+
252
+ #include "src/Core/functors/TernaryFunctors.h"
253
+ #include "src/Core/functors/BinaryFunctors.h"
254
+ #include "src/Core/functors/UnaryFunctors.h"
255
+ #include "src/Core/functors/NullaryFunctors.h"
256
+ #include "src/Core/functors/StlFunctors.h"
257
+ #include "src/Core/functors/AssignmentFunctors.h"
258
+
259
+ // Specialized functors to enable the processing of complex numbers
260
+ // on CUDA devices
261
+ #ifdef EIGEN_CUDACC
262
+ #include "src/Core/arch/CUDA/Complex.h"
263
+ #endif
264
+
265
+ #include "src/Core/util/IndexedViewHelper.h"
266
+ #include "src/Core/util/ReshapedHelper.h"
267
+ #include "src/Core/ArithmeticSequence.h"
268
+ #ifndef EIGEN_NO_IO
269
+ #include "src/Core/IO.h"
270
+ #endif
271
+ #include "src/Core/DenseCoeffsBase.h"
272
+ #include "src/Core/DenseBase.h"
273
+ #include "src/Core/MatrixBase.h"
274
+ #include "src/Core/EigenBase.h"
275
+
276
+ #include "src/Core/Product.h"
277
+ #include "src/Core/CoreEvaluators.h"
278
+ #include "src/Core/AssignEvaluator.h"
279
+
280
+ #ifndef EIGEN_PARSED_BY_DOXYGEN // work around Doxygen bug triggered by Assign.h r814874
281
+ // at least confirmed with Doxygen 1.5.5 and 1.5.6
282
+ #include "src/Core/Assign.h"
283
+ #endif
284
+
285
+ #include "src/Core/ArrayBase.h"
286
+ #include "src/Core/util/BlasUtil.h"
287
+ #include "src/Core/DenseStorage.h"
288
+ #include "src/Core/NestByValue.h"
289
+
290
+ // #include "src/Core/ForceAlignedAccess.h"
291
+
292
+ #include "src/Core/ReturnByValue.h"
293
+ #include "src/Core/NoAlias.h"
294
+ #include "src/Core/PlainObjectBase.h"
295
+ #include "src/Core/Matrix.h"
296
+ #include "src/Core/Array.h"
297
+ #include "src/Core/CwiseTernaryOp.h"
298
+ #include "src/Core/CwiseBinaryOp.h"
299
+ #include "src/Core/CwiseUnaryOp.h"
300
+ #include "src/Core/CwiseNullaryOp.h"
301
+ #include "src/Core/CwiseUnaryView.h"
302
+ #include "src/Core/SelfCwiseBinaryOp.h"
303
+ #include "src/Core/Dot.h"
304
+ #include "src/Core/StableNorm.h"
305
+ #include "src/Core/Stride.h"
306
+ #include "src/Core/MapBase.h"
307
+ #include "src/Core/Map.h"
308
+ #include "src/Core/Ref.h"
309
+ #include "src/Core/Block.h"
310
+ #include "src/Core/VectorBlock.h"
311
+ #include "src/Core/IndexedView.h"
312
+ #include "src/Core/Reshaped.h"
313
+ #include "src/Core/Transpose.h"
314
+ #include "src/Core/DiagonalMatrix.h"
315
+ #include "src/Core/Diagonal.h"
316
+ #include "src/Core/DiagonalProduct.h"
317
+ #include "src/Core/Redux.h"
318
+ #include "src/Core/Visitor.h"
319
+ #include "src/Core/Fuzzy.h"
320
+ #include "src/Core/Swap.h"
321
+ #include "src/Core/CommaInitializer.h"
322
+ #include "src/Core/GeneralProduct.h"
323
+ #include "src/Core/Solve.h"
324
+ #include "src/Core/Inverse.h"
325
+ #include "src/Core/SolverBase.h"
326
+ #include "src/Core/PermutationMatrix.h"
327
+ #include "src/Core/Transpositions.h"
328
+ #include "src/Core/TriangularMatrix.h"
329
+ #include "src/Core/SelfAdjointView.h"
330
+ #include "src/Core/products/GeneralBlockPanelKernel.h"
331
+ #include "src/Core/products/Parallelizer.h"
332
+ #include "src/Core/ProductEvaluators.h"
333
+ #include "src/Core/products/GeneralMatrixVector.h"
334
+ #include "src/Core/products/GeneralMatrixMatrix.h"
335
+ #include "src/Core/SolveTriangular.h"
336
+ #include "src/Core/products/GeneralMatrixMatrixTriangular.h"
337
+ #include "src/Core/products/SelfadjointMatrixVector.h"
338
+ #include "src/Core/products/SelfadjointMatrixMatrix.h"
339
+ #include "src/Core/products/SelfadjointProduct.h"
340
+ #include "src/Core/products/SelfadjointRank2Update.h"
341
+ #include "src/Core/products/TriangularMatrixVector.h"
342
+ #include "src/Core/products/TriangularMatrixMatrix.h"
343
+ #include "src/Core/products/TriangularSolverMatrix.h"
344
+ #include "src/Core/products/TriangularSolverVector.h"
345
+ #include "src/Core/BandMatrix.h"
346
+ #include "src/Core/CoreIterators.h"
347
+ #include "src/Core/ConditionEstimator.h"
348
+
349
+ #if defined(EIGEN_VECTORIZE_ALTIVEC) || defined(EIGEN_VECTORIZE_VSX)
350
+ #include "src/Core/arch/AltiVec/MatrixProduct.h"
351
+ #elif defined EIGEN_VECTORIZE_NEON
352
+ #include "src/Core/arch/NEON/GeneralBlockPanelKernel.h"
353
+ #endif
354
+
355
+ #include "src/Core/BooleanRedux.h"
356
+ #include "src/Core/Select.h"
357
+ #include "src/Core/VectorwiseOp.h"
358
+ #include "src/Core/PartialReduxEvaluator.h"
359
+ #include "src/Core/Random.h"
360
+ #include "src/Core/Replicate.h"
361
+ #include "src/Core/Reverse.h"
362
+ #include "src/Core/ArrayWrapper.h"
363
+ #include "src/Core/StlIterators.h"
364
+
365
+ #ifdef EIGEN_USE_BLAS
366
+ #include "src/Core/products/GeneralMatrixMatrix_BLAS.h"
367
+ #include "src/Core/products/GeneralMatrixVector_BLAS.h"
368
+ #include "src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h"
369
+ #include "src/Core/products/SelfadjointMatrixMatrix_BLAS.h"
370
+ #include "src/Core/products/SelfadjointMatrixVector_BLAS.h"
371
+ #include "src/Core/products/TriangularMatrixMatrix_BLAS.h"
372
+ #include "src/Core/products/TriangularMatrixVector_BLAS.h"
373
+ #include "src/Core/products/TriangularSolverMatrix_BLAS.h"
374
+ #endif // EIGEN_USE_BLAS
375
+
376
+ #ifdef EIGEN_USE_MKL_VML
377
+ #include "src/Core/Assign_MKL.h"
378
+ #endif
379
+
380
+ #include "src/Core/GlobalFunctions.h"
381
+
382
+ #include "src/Core/util/ReenableStupidWarnings.h"
383
+
384
+ #endif // EIGEN_CORE_H
@@ -0,0 +1,7 @@
1
+ #include "Core"
2
+ #include "LU"
3
+ #include "Cholesky"
4
+ #include "QR"
5
+ #include "SVD"
6
+ #include "Geometry"
7
+ #include "Eigenvalues"
@@ -0,0 +1,2 @@
1
+ #include "Dense"
2
+ #include "Sparse"
@@ -0,0 +1,60 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // This Source Code Form is subject to the terms of the Mozilla
5
+ // Public License v. 2.0. If a copy of the MPL was not distributed
6
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+
8
+ #ifndef EIGEN_EIGENVALUES_MODULE_H
9
+ #define EIGEN_EIGENVALUES_MODULE_H
10
+
11
+ #include "Core"
12
+
13
+ #include "Cholesky"
14
+ #include "Jacobi"
15
+ #include "Householder"
16
+ #include "LU"
17
+ #include "Geometry"
18
+
19
+ #include "src/Core/util/DisableStupidWarnings.h"
20
+
21
+ /** \defgroup Eigenvalues_Module Eigenvalues module
22
+ *
23
+ *
24
+ *
25
+ * This module mainly provides various eigenvalue solvers.
26
+ * This module also provides some MatrixBase methods, including:
27
+ * - MatrixBase::eigenvalues(),
28
+ * - MatrixBase::operatorNorm()
29
+ *
30
+ * \code
31
+ * #include <Eigen/Eigenvalues>
32
+ * \endcode
33
+ */
34
+
35
+ #include "src/misc/RealSvd2x2.h"
36
+ #include "src/Eigenvalues/Tridiagonalization.h"
37
+ #include "src/Eigenvalues/RealSchur.h"
38
+ #include "src/Eigenvalues/EigenSolver.h"
39
+ #include "src/Eigenvalues/SelfAdjointEigenSolver.h"
40
+ #include "src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h"
41
+ #include "src/Eigenvalues/HessenbergDecomposition.h"
42
+ #include "src/Eigenvalues/ComplexSchur.h"
43
+ #include "src/Eigenvalues/ComplexEigenSolver.h"
44
+ #include "src/Eigenvalues/RealQZ.h"
45
+ #include "src/Eigenvalues/GeneralizedEigenSolver.h"
46
+ #include "src/Eigenvalues/MatrixBaseEigenvalues.h"
47
+ #ifdef EIGEN_USE_LAPACKE
48
+ #ifdef EIGEN_USE_MKL
49
+ #include "mkl_lapacke.h"
50
+ #else
51
+ #include "src/misc/lapacke.h"
52
+ #endif
53
+ #include "src/Eigenvalues/RealSchur_LAPACKE.h"
54
+ #include "src/Eigenvalues/ComplexSchur_LAPACKE.h"
55
+ #include "src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h"
56
+ #endif
57
+
58
+ #include "src/Core/util/ReenableStupidWarnings.h"
59
+
60
+ #endif // EIGEN_EIGENVALUES_MODULE_H
@@ -0,0 +1,59 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // This Source Code Form is subject to the terms of the Mozilla
5
+ // Public License v. 2.0. If a copy of the MPL was not distributed
6
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+
8
+ #ifndef EIGEN_GEOMETRY_MODULE_H
9
+ #define EIGEN_GEOMETRY_MODULE_H
10
+
11
+ #include "Core"
12
+
13
+ #include "SVD"
14
+ #include "LU"
15
+ #include <limits>
16
+
17
+ #include "src/Core/util/DisableStupidWarnings.h"
18
+
19
+ /** \defgroup Geometry_Module Geometry module
20
+ *
21
+ * This module provides support for:
22
+ * - fixed-size homogeneous transformations
23
+ * - translation, scaling, 2D and 3D rotations
24
+ * - \link Quaternion quaternions \endlink
25
+ * - cross products (\ref MatrixBase::cross, \ref MatrixBase::cross3)
26
+ * - orthognal vector generation (\ref MatrixBase::unitOrthogonal)
27
+ * - some linear components: \link ParametrizedLine parametrized-lines \endlink and \link Hyperplane hyperplanes \endlink
28
+ * - \link AlignedBox axis aligned bounding boxes \endlink
29
+ * - \link umeyama least-square transformation fitting \endlink
30
+ *
31
+ * \code
32
+ * #include <Eigen/Geometry>
33
+ * \endcode
34
+ */
35
+
36
+ #include "src/Geometry/OrthoMethods.h"
37
+ #include "src/Geometry/EulerAngles.h"
38
+
39
+ #include "src/Geometry/Homogeneous.h"
40
+ #include "src/Geometry/RotationBase.h"
41
+ #include "src/Geometry/Rotation2D.h"
42
+ #include "src/Geometry/Quaternion.h"
43
+ #include "src/Geometry/AngleAxis.h"
44
+ #include "src/Geometry/Transform.h"
45
+ #include "src/Geometry/Translation.h"
46
+ #include "src/Geometry/Scaling.h"
47
+ #include "src/Geometry/Hyperplane.h"
48
+ #include "src/Geometry/ParametrizedLine.h"
49
+ #include "src/Geometry/AlignedBox.h"
50
+ #include "src/Geometry/Umeyama.h"
51
+
52
+ // Use the SSE optimized version whenever possible.
53
+ #if (defined EIGEN_VECTORIZE_SSE) || (defined EIGEN_VECTORIZE_NEON)
54
+ #include "src/Geometry/arch/Geometry_SIMD.h"
55
+ #endif
56
+
57
+ #include "src/Core/util/ReenableStupidWarnings.h"
58
+
59
+ #endif // EIGEN_GEOMETRY_MODULE_H
@@ -0,0 +1,29 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // This Source Code Form is subject to the terms of the Mozilla
5
+ // Public License v. 2.0. If a copy of the MPL was not distributed
6
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+
8
+ #ifndef EIGEN_HOUSEHOLDER_MODULE_H
9
+ #define EIGEN_HOUSEHOLDER_MODULE_H
10
+
11
+ #include "Core"
12
+
13
+ #include "src/Core/util/DisableStupidWarnings.h"
14
+
15
+ /** \defgroup Householder_Module Householder module
16
+ * This module provides Householder transformations.
17
+ *
18
+ * \code
19
+ * #include <Eigen/Householder>
20
+ * \endcode
21
+ */
22
+
23
+ #include "src/Householder/Householder.h"
24
+ #include "src/Householder/HouseholderSequence.h"
25
+ #include "src/Householder/BlockHouseholder.h"
26
+
27
+ #include "src/Core/util/ReenableStupidWarnings.h"
28
+
29
+ #endif // EIGEN_HOUSEHOLDER_MODULE_H
@@ -0,0 +1,48 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // This Source Code Form is subject to the terms of the Mozilla
5
+ // Public License v. 2.0. If a copy of the MPL was not distributed
6
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+
8
+ #ifndef EIGEN_ITERATIVELINEARSOLVERS_MODULE_H
9
+ #define EIGEN_ITERATIVELINEARSOLVERS_MODULE_H
10
+
11
+ #include "SparseCore"
12
+ #include "OrderingMethods"
13
+
14
+ #include "src/Core/util/DisableStupidWarnings.h"
15
+
16
+ /**
17
+ * \defgroup IterativeLinearSolvers_Module IterativeLinearSolvers module
18
+ *
19
+ * This module currently provides iterative methods to solve problems of the form \c A \c x = \c b, where \c A is a squared matrix, usually very large and sparse.
20
+ * Those solvers are accessible via the following classes:
21
+ * - ConjugateGradient for selfadjoint (hermitian) matrices,
22
+ * - LeastSquaresConjugateGradient for rectangular least-square problems,
23
+ * - BiCGSTAB for general square matrices.
24
+ *
25
+ * These iterative solvers are associated with some preconditioners:
26
+ * - IdentityPreconditioner - not really useful
27
+ * - DiagonalPreconditioner - also called Jacobi preconditioner, work very well on diagonal dominant matrices.
28
+ * - IncompleteLUT - incomplete LU factorization with dual thresholding
29
+ *
30
+ * Such problems can also be solved using the direct sparse decomposition modules: SparseCholesky, CholmodSupport, UmfPackSupport, SuperLUSupport.
31
+ *
32
+ \code
33
+ #include <Eigen/IterativeLinearSolvers>
34
+ \endcode
35
+ */
36
+
37
+ #include "src/IterativeLinearSolvers/SolveWithGuess.h"
38
+ #include "src/IterativeLinearSolvers/IterativeSolverBase.h"
39
+ #include "src/IterativeLinearSolvers/BasicPreconditioners.h"
40
+ #include "src/IterativeLinearSolvers/ConjugateGradient.h"
41
+ #include "src/IterativeLinearSolvers/LeastSquareConjugateGradient.h"
42
+ #include "src/IterativeLinearSolvers/BiCGSTAB.h"
43
+ #include "src/IterativeLinearSolvers/IncompleteLUT.h"
44
+ #include "src/IterativeLinearSolvers/IncompleteCholesky.h"
45
+
46
+ #include "src/Core/util/ReenableStupidWarnings.h"
47
+
48
+ #endif // EIGEN_ITERATIVELINEARSOLVERS_MODULE_H
@@ -0,0 +1,32 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // This Source Code Form is subject to the terms of the Mozilla
5
+ // Public License v. 2.0. If a copy of the MPL was not distributed
6
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+
8
+ #ifndef EIGEN_JACOBI_MODULE_H
9
+ #define EIGEN_JACOBI_MODULE_H
10
+
11
+ #include "Core"
12
+
13
+ #include "src/Core/util/DisableStupidWarnings.h"
14
+
15
+ /** \defgroup Jacobi_Module Jacobi module
16
+ * This module provides Jacobi and Givens rotations.
17
+ *
18
+ * \code
19
+ * #include <Eigen/Jacobi>
20
+ * \endcode
21
+ *
22
+ * In addition to listed classes, it defines the two following MatrixBase methods to apply a Jacobi or Givens rotation:
23
+ * - MatrixBase::applyOnTheLeft()
24
+ * - MatrixBase::applyOnTheRight().
25
+ */
26
+
27
+ #include "src/Jacobi/Jacobi.h"
28
+
29
+ #include "src/Core/util/ReenableStupidWarnings.h"
30
+
31
+ #endif // EIGEN_JACOBI_MODULE_H
32
+
@@ -0,0 +1,41 @@
1
+ // This file is part of Eigen, a lightweight C++ template library
2
+ // for linear algebra.
3
+ //
4
+ // This Source Code Form is subject to the terms of the Mozilla
5
+ // Public License v. 2.0. If a copy of the MPL was not distributed
6
+ // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+
8
+ #ifndef EIGEN_KLUSUPPORT_MODULE_H
9
+ #define EIGEN_KLUSUPPORT_MODULE_H
10
+
11
+ #include <Eigen/SparseCore>
12
+
13
+ #include <Eigen/src/Core/util/DisableStupidWarnings.h>
14
+
15
+ extern "C" {
16
+ #include <btf.h>
17
+ #include <klu.h>
18
+ }
19
+
20
+ /** \ingroup Support_modules
21
+ * \defgroup KLUSupport_Module KLUSupport module
22
+ *
23
+ * This module provides an interface to the KLU library which is part of the <a href="http://www.suitesparse.com">suitesparse</a> package.
24
+ * It provides the following factorization class:
25
+ * - class KLU: a sparse LU factorization, well-suited for circuit simulation.
26
+ *
27
+ * \code
28
+ * #include <Eigen/KLUSupport>
29
+ * \endcode
30
+ *
31
+ * In order to use this module, the klu and btf headers must be accessible from the include paths, and your binary must be linked to the klu library and its dependencies.
32
+ * The dependencies depend on how umfpack has been compiled.
33
+ * For a cmake based project, you can use our FindKLU.cmake module to help you in this task.
34
+ *
35
+ */
36
+
37
+ #include "src/KLUSupport/KLUSupport.h"
38
+
39
+ #include <Eigen/src/Core/util/ReenableStupidWarnings.h>
40
+
41
+ #endif // EIGEN_KLUSUPPORT_MODULE_H