2009-05-06 15:48:28 +00:00
|
|
|
// This file is part of Eigen, a lightweight C++ template library
|
2009-05-22 20:25:33 +02:00
|
|
|
// for linear algebra.
|
2009-05-06 15:48:28 +00:00
|
|
|
//
|
2010-06-24 23:21:58 +02:00
|
|
|
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
|
2011-01-27 10:34:44 -05:00
|
|
|
// Copyright (C) 2007-2011 Benoit Jacob <jacob.benoit.1@gmail.com>
|
2009-05-06 15:48:28 +00:00
|
|
|
//
|
2012-07-13 14:42:47 -04:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla
|
|
|
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
|
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2009-05-06 15:48:28 +00:00
|
|
|
|
2021-09-10 19:12:26 +00:00
|
|
|
#ifndef EIGEN_CORE_MODULE_H
|
|
|
|
#define EIGEN_CORE_MODULE_H
|
2008-03-26 09:13:11 +00:00
|
|
|
|
2020-06-09 18:15:52 -04:00
|
|
|
// first thing Eigen does: stop the compiler from reporting useless warnings.
|
2016-10-14 16:39:41 +01:00
|
|
|
#include "src/Core/util/DisableStupidWarnings.h"
|
2013-02-21 19:05:23 +01:00
|
|
|
|
2018-07-12 16:57:41 +02:00
|
|
|
// then include this file where all our macros are defined. It's really important to do it first because
|
|
|
|
// it's where we do all the compiler/OS/arch detections and define most defaults.
|
|
|
|
#include "src/Core/util/Macros.h"
|
2016-09-19 12:44:13 +01:00
|
|
|
|
2018-07-12 16:57:41 +02:00
|
|
|
// This detects SSE/AVX/NEON/etc. and configure alignment settings
|
|
|
|
#include "src/Core/util/ConfigureVectorization.h"
|
2014-07-22 13:16:44 +02:00
|
|
|
|
2018-07-12 16:57:41 +02:00
|
|
|
// We need cuda_runtime.h/hip_runtime.h to ensure that
|
2020-10-09 02:05:05 +02:00
|
|
|
// the EIGEN_USING_STD macro works properly on the device side
|
2018-07-12 16:57:41 +02:00
|
|
|
#if defined(EIGEN_CUDACC)
|
2018-06-11 18:33:24 +02:00
|
|
|
#include <cuda_runtime.h>
|
2018-07-11 09:17:33 -04:00
|
|
|
#elif defined(EIGEN_HIPCC)
|
|
|
|
#include <hip/hip_runtime.h>
|
2016-10-16 12:52:34 +01:00
|
|
|
#endif
|
|
|
|
|
2014-07-22 13:16:44 +02:00
|
|
|
#ifdef EIGEN_EXCEPTIONS
|
|
|
|
#include <new>
|
|
|
|
#endif
|
|
|
|
|
2023-01-17 18:58:34 +00:00
|
|
|
// Disable the ipa-cp-clone optimization flag with MinGW 6.x or older (enabled by default with -O3)
|
2013-07-05 23:47:40 +02:00
|
|
|
// See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=556 for details.
|
2023-01-17 18:58:34 +00:00
|
|
|
#if EIGEN_COMP_MINGW && EIGEN_GNUC_STRICT_LESS_THAN(6, 0, 0)
|
2013-07-05 23:47:40 +02:00
|
|
|
#pragma GCC optimize("-fno-ipa-cp-clone")
|
|
|
|
#endif
|
|
|
|
|
2021-03-11 11:23:00 -08:00
|
|
|
// Prevent ICC from specializing std::complex operators that silently fail
|
|
|
|
// on device. This allows us to use our own device-compatible specializations
|
|
|
|
// instead.
|
2023-01-17 18:58:34 +00:00
|
|
|
#if EIGEN_COMP_ICC && defined(EIGEN_GPU_COMPILE_PHASE) && !defined(_OVERRIDE_COMPLEX_SPECIALIZATION_)
|
2021-03-11 11:23:00 -08:00
|
|
|
#define _OVERRIDE_COMPLEX_SPECIALIZATION_ 1
|
|
|
|
#endif
|
2012-02-10 22:49:09 +01:00
|
|
|
#include <complex>
|
|
|
|
|
2011-12-09 10:06:49 +01:00
|
|
|
// this include file manages BLAS and MKL related macros
|
|
|
|
// and inclusion of their respective header files
|
|
|
|
#include "src/Core/util/MKL_support.h"
|
|
|
|
|
2018-06-14 10:21:54 -04:00
|
|
|
#if defined(EIGEN_HAS_CUDA_FP16) || defined(EIGEN_HAS_HIP_FP16)
|
|
|
|
#define EIGEN_HAS_GPU_FP16
|
2016-04-19 17:44:12 -07:00
|
|
|
#endif
|
|
|
|
|
2020-06-20 19:16:24 +00:00
|
|
|
#if defined(EIGEN_HAS_CUDA_BF16) || defined(EIGEN_HAS_HIP_BF16)
|
|
|
|
#define EIGEN_HAS_GPU_BF16
|
|
|
|
#endif
|
|
|
|
|
2010-04-26 17:08:54 +02:00
|
|
|
#if (defined _OPENMP) && (!defined EIGEN_DONT_PARALLELIZE)
|
2010-02-22 11:08:37 +01:00
|
|
|
#define EIGEN_HAS_OPENMP
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EIGEN_HAS_OPENMP
|
2021-12-02 23:55:25 +00:00
|
|
|
#include <atomic>
|
2010-02-22 11:08:37 +01:00
|
|
|
#include <omp.h>
|
|
|
|
#endif
|
|
|
|
|
2010-10-07 18:09:15 +02:00
|
|
|
// MSVC for windows mobile does not have the errno.h file
|
2014-11-04 21:58:52 +01:00
|
|
|
#if !(EIGEN_COMP_MSVC && EIGEN_OS_WINCE) && !EIGEN_COMP_ARM
|
2010-10-07 18:09:15 +02:00
|
|
|
#define EIGEN_HAS_ERRNO
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EIGEN_HAS_ERRNO
|
2010-02-28 14:32:57 +01:00
|
|
|
#include <cerrno>
|
2010-10-07 18:09:15 +02:00
|
|
|
#endif
|
2011-04-19 16:34:25 +02:00
|
|
|
#include <cstddef>
|
2008-08-28 15:28:23 +00:00
|
|
|
#include <cstdlib>
|
|
|
|
#include <cmath>
|
|
|
|
#include <functional>
|
2018-10-22 21:14:40 +02:00
|
|
|
#ifndef EIGEN_NO_IO
|
2022-07-29 18:02:51 +00:00
|
|
|
#include <sstream>
|
2018-10-22 21:14:40 +02:00
|
|
|
#include <iosfwd>
|
|
|
|
#endif
|
2008-08-03 15:44:06 +00:00
|
|
|
#include <cstring>
|
2008-08-21 13:17:21 +00:00
|
|
|
#include <string>
|
2009-01-09 00:55:53 +00:00
|
|
|
#include <limits>
|
2011-02-07 10:55:41 -05:00
|
|
|
#include <climits> // for CHAR_BIT
|
2009-07-10 16:10:03 +02:00
|
|
|
// for min/max:
|
|
|
|
#include <algorithm>
|
2008-05-03 12:21:23 +00:00
|
|
|
|
2018-07-13 13:06:44 +02:00
|
|
|
#include <array>
|
2023-05-08 16:15:47 +00:00
|
|
|
#include <vector>
|
2018-07-13 13:06:44 +02:00
|
|
|
|
2016-06-03 14:28:25 +02:00
|
|
|
// for std::is_nothrow_move_assignable
|
|
|
|
#include <type_traits>
|
|
|
|
|
2010-02-27 19:04:22 -05:00
|
|
|
// for outputting debug info
|
|
|
|
#ifdef EIGEN_DEBUG_ASSIGN
|
2011-02-16 08:50:19 -05:00
|
|
|
#include <iostream>
|
2010-02-27 19:04:22 -05:00
|
|
|
#endif
|
|
|
|
|
2010-06-21 18:39:24 +02:00
|
|
|
// required for __cpuid, needs to be included after cmath
|
2021-08-27 16:39:24 +02:00
|
|
|
// also required for _BitScanReverse on Windows on ARM
|
|
|
|
#if EIGEN_COMP_MSVC && (EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM64) && !EIGEN_OS_WINCE
|
2010-06-21 18:39:24 +02:00
|
|
|
#include <intrin.h>
|
|
|
|
#endif
|
|
|
|
|
2019-06-27 12:25:09 +01:00
|
|
|
#if defined(EIGEN_USE_SYCL)
|
2016-11-17 11:47:13 +00:00
|
|
|
#undef min
|
|
|
|
#undef max
|
|
|
|
#undef isnan
|
|
|
|
#undef isinf
|
|
|
|
#undef isfinite
|
2020-05-11 16:10:33 +01:00
|
|
|
#include <CL/sycl.hpp>
|
2019-06-27 12:25:09 +01:00
|
|
|
#include <map>
|
|
|
|
#include <memory>
|
|
|
|
#include <utility>
|
|
|
|
#include <thread>
|
|
|
|
#ifndef EIGEN_SYCL_LOCAL_THREAD_DIM0
|
|
|
|
#define EIGEN_SYCL_LOCAL_THREAD_DIM0 16
|
|
|
|
#endif
|
|
|
|
#ifndef EIGEN_SYCL_LOCAL_THREAD_DIM1
|
|
|
|
#define EIGEN_SYCL_LOCAL_THREAD_DIM1 16
|
2023-11-29 11:12:48 +00:00
|
|
|
#endif
|
2019-06-27 12:25:09 +01:00
|
|
|
#endif
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2014-07-01 16:58:11 +02:00
|
|
|
#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
|
|
|
|
// This will generate an error message:
|
|
|
|
#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
|
2010-04-22 20:49:01 -04:00
|
|
|
#endif
|
|
|
|
|
2017-01-23 22:03:57 +01:00
|
|
|
namespace Eigen {
|
|
|
|
|
2018-03-11 10:01:44 -04:00
|
|
|
// we use size_t frequently and we'll never remember to prepend it with std:: every time just to
|
2010-02-12 09:03:16 -05:00
|
|
|
// ensure QNX/QCC support
|
|
|
|
using std::size_t;
|
2016-04-01 10:27:59 -07:00
|
|
|
// gcc 4.6.0 wants std:: for ptrdiff_t
|
2011-05-05 18:48:18 +02:00
|
|
|
using std::ptrdiff_t;
|
2010-02-12 09:03:16 -05:00
|
|
|
|
2017-01-23 22:03:57 +01:00
|
|
|
} // namespace Eigen
|
|
|
|
|
2008-08-26 19:12:23 +00:00
|
|
|
/** \defgroup Core_Module Core module
|
2008-08-26 23:07:33 +00:00
|
|
|
* This is the main module of Eigen providing dense matrix and vector support
|
|
|
|
* (both fixed and dynamic size) with all the features corresponding to a BLAS library
|
|
|
|
* and much more...
|
2008-08-26 19:12:23 +00:00
|
|
|
*
|
|
|
|
* \code
|
|
|
|
* #include <Eigen/Core>
|
|
|
|
* \endcode
|
|
|
|
*/
|
|
|
|
|
2023-02-03 16:40:08 +00:00
|
|
|
#ifdef EIGEN_USE_LAPACKE
|
|
|
|
#ifdef EIGEN_USE_MKL
|
|
|
|
#include "mkl_lapacke.h"
|
|
|
|
#else
|
|
|
|
#include "src/misc/lapacke.h"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2023-02-08 17:40:31 +00:00
|
|
|
// IWYU pragma: begin_exports
|
2008-08-28 15:28:23 +00:00
|
|
|
#include "src/Core/util/Constants.h"
|
|
|
|
#include "src/Core/util/Meta.h"
|
2023-01-20 17:38:13 +00:00
|
|
|
#include "src/Core/util/Assert.h"
|
2014-02-18 11:03:59 +01:00
|
|
|
#include "src/Core/util/ForwardDeclarations.h"
|
2008-08-28 15:28:23 +00:00
|
|
|
#include "src/Core/util/StaticAssert.h"
|
2013-06-10 23:40:56 +02:00
|
|
|
#include "src/Core/util/XprHelper.h"
|
2008-08-26 19:12:23 +00:00
|
|
|
#include "src/Core/util/Memory.h"
|
2017-01-16 22:21:23 +01:00
|
|
|
#include "src/Core/util/IntegralConstant.h"
|
2021-08-26 14:35:12 -07:00
|
|
|
#include "src/Core/util/Serializer.h"
|
2017-01-19 19:25:29 +01:00
|
|
|
#include "src/Core/util/SymbolicIndex.h"
|
2023-05-08 16:15:47 +00:00
|
|
|
#include "src/Core/util/EmulateArray.h"
|
|
|
|
#include "src/Core/util/MoreMeta.h"
|
2017-01-16 22:21:23 +01:00
|
|
|
|
2007-12-28 16:20:00 +00:00
|
|
|
#include "src/Core/NumTraits.h"
|
|
|
|
#include "src/Core/MathFunctions.h"
|
2008-08-26 19:12:23 +00:00
|
|
|
#include "src/Core/GenericPacketMath.h"
|
2016-08-23 14:23:08 +02:00
|
|
|
#include "src/Core/MathFunctionsImpl.h"
|
2017-06-15 10:16:30 +02:00
|
|
|
#include "src/Core/arch/Default/ConjHelper.h"
|
2019-08-27 11:30:31 -07:00
|
|
|
// Generic half float support
|
|
|
|
#include "src/Core/arch/Default/Half.h"
|
2020-06-20 19:16:24 +00:00
|
|
|
#include "src/Core/arch/Default/BFloat16.h"
|
2019-09-06 09:26:04 +02:00
|
|
|
#include "src/Core/arch/Default/GenericPacketMathFunctionsFwd.h"
|
2008-05-12 08:30:42 +00:00
|
|
|
|
2015-12-10 15:34:57 -08:00
|
|
|
#if defined EIGEN_VECTORIZE_AVX512
|
2022-08-17 18:15:21 +00:00
|
|
|
#if defined EIGEN_VECTORIZE_AVX512FP16
|
|
|
|
#include "src/Core/arch/AVX512/PacketMathFP16.h"
|
|
|
|
#endif
|
2015-12-10 15:34:57 -08:00
|
|
|
#include "src/Core/arch/SSE/PacketMath.h"
|
2018-11-28 16:09:08 +01:00
|
|
|
#include "src/Core/arch/SSE/TypeCasting.h"
|
2018-12-06 15:58:06 +01:00
|
|
|
#include "src/Core/arch/SSE/Complex.h"
|
2015-12-10 15:34:57 -08:00
|
|
|
#include "src/Core/arch/AVX/PacketMath.h"
|
2018-11-28 16:09:08 +01:00
|
|
|
#include "src/Core/arch/AVX/TypeCasting.h"
|
2018-12-06 15:58:06 +01:00
|
|
|
#include "src/Core/arch/AVX/Complex.h"
|
2015-12-10 15:34:57 -08:00
|
|
|
#include "src/Core/arch/AVX512/PacketMath.h"
|
2019-08-30 14:03:29 -07:00
|
|
|
#include "src/Core/arch/AVX512/TypeCasting.h"
|
2018-12-06 15:58:06 +01:00
|
|
|
#include "src/Core/arch/AVX512/Complex.h"
|
2016-12-19 07:32:48 -08:00
|
|
|
#include "src/Core/arch/SSE/MathFunctions.h"
|
|
|
|
#include "src/Core/arch/AVX/MathFunctions.h"
|
2016-02-04 10:34:10 -08:00
|
|
|
#include "src/Core/arch/AVX512/MathFunctions.h"
|
2022-04-14 11:35:26 -07:00
|
|
|
#include "src/Core/arch/AVX512/TrsmKernel.h"
|
2015-12-10 15:34:57 -08:00
|
|
|
#elif defined EIGEN_VECTORIZE_AVX
|
2014-01-29 11:43:05 -08:00
|
|
|
// Use AVX for floats and doubles, SSE for integers
|
2014-03-27 14:47:00 +01:00
|
|
|
#include "src/Core/arch/SSE/PacketMath.h"
|
2018-11-27 22:41:51 +01:00
|
|
|
#include "src/Core/arch/SSE/TypeCasting.h"
|
2014-03-27 14:47:00 +01:00
|
|
|
#include "src/Core/arch/SSE/Complex.h"
|
2014-01-29 11:43:05 -08:00
|
|
|
#include "src/Core/arch/AVX/PacketMath.h"
|
2018-11-27 22:41:51 +01:00
|
|
|
#include "src/Core/arch/AVX/TypeCasting.h"
|
2014-01-29 11:43:05 -08:00
|
|
|
#include "src/Core/arch/AVX/Complex.h"
|
2018-11-27 23:45:00 +01:00
|
|
|
#include "src/Core/arch/SSE/MathFunctions.h"
|
|
|
|
#include "src/Core/arch/AVX/MathFunctions.h"
|
2014-01-29 11:43:05 -08:00
|
|
|
#elif defined EIGEN_VECTORIZE_SSE
|
2008-12-16 15:17:29 +00:00
|
|
|
#include "src/Core/arch/SSE/PacketMath.h"
|
2018-11-27 22:41:51 +01:00
|
|
|
#include "src/Core/arch/SSE/TypeCasting.h"
|
2009-03-27 14:41:46 +00:00
|
|
|
#include "src/Core/arch/SSE/MathFunctions.h"
|
2010-07-05 16:18:09 +02:00
|
|
|
#include "src/Core/arch/SSE/Complex.h"
|
2014-09-09 16:58:48 +00:00
|
|
|
#elif defined(EIGEN_VECTORIZE_ALTIVEC) || defined(EIGEN_VECTORIZE_VSX)
|
2014-08-29 20:03:49 +00:00
|
|
|
#include "src/Core/arch/AltiVec/PacketMath.h"
|
2023-04-18 02:38:38 +00:00
|
|
|
#include "src/Core/arch/AltiVec/TypeCasting.h"
|
2015-07-30 11:12:42 -07:00
|
|
|
#include "src/Core/arch/AltiVec/MathFunctions.h"
|
2014-08-29 20:03:49 +00:00
|
|
|
#include "src/Core/arch/AltiVec/Complex.h"
|
2010-03-03 11:25:41 -06:00
|
|
|
#elif defined EIGEN_VECTORIZE_NEON
|
|
|
|
#include "src/Core/arch/NEON/PacketMath.h"
|
2018-11-27 22:41:51 +01:00
|
|
|
#include "src/Core/arch/NEON/TypeCasting.h"
|
2015-02-10 14:02:38 -08:00
|
|
|
#include "src/Core/arch/NEON/MathFunctions.h"
|
2010-07-10 00:09:29 +03:00
|
|
|
#include "src/Core/arch/NEON/Complex.h"
|
2021-01-21 21:11:57 +00:00
|
|
|
#elif defined EIGEN_VECTORIZE_SVE
|
|
|
|
#include "src/Core/arch/SVE/PacketMath.h"
|
|
|
|
#include "src/Core/arch/SVE/TypeCasting.h"
|
|
|
|
#include "src/Core/arch/SVE/MathFunctions.h"
|
2016-03-27 18:47:49 -04:00
|
|
|
#elif defined EIGEN_VECTORIZE_ZVECTOR
|
|
|
|
#include "src/Core/arch/ZVector/PacketMath.h"
|
2016-04-05 05:59:30 -04:00
|
|
|
#include "src/Core/arch/ZVector/MathFunctions.h"
|
|
|
|
#include "src/Core/arch/ZVector/Complex.h"
|
2018-07-18 12:27:50 -07:00
|
|
|
#elif defined EIGEN_VECTORIZE_MSA
|
|
|
|
#include "src/Core/arch/MSA/PacketMath.h"
|
|
|
|
#include "src/Core/arch/MSA/MathFunctions.h"
|
|
|
|
#include "src/Core/arch/MSA/Complex.h"
|
2023-08-01 17:47:57 +00:00
|
|
|
#elif defined EIGEN_VECTORIZE_HVX
|
|
|
|
#include "src/Core/arch/HVX/PacketMath.h"
|
2008-05-05 17:19:47 +00:00
|
|
|
#endif
|
|
|
|
|
2018-07-11 10:39:54 -04:00
|
|
|
#if defined EIGEN_VECTORIZE_GPU
|
|
|
|
#include "src/Core/arch/GPU/PacketMath.h"
|
|
|
|
#include "src/Core/arch/GPU/MathFunctions.h"
|
2019-08-27 11:30:31 -07:00
|
|
|
#include "src/Core/arch/GPU/TypeCasting.h"
|
2014-10-03 19:45:19 -07:00
|
|
|
#endif
|
|
|
|
|
2019-06-27 12:25:09 +01:00
|
|
|
#if defined(EIGEN_USE_SYCL)
|
2018-08-03 16:59:15 +01:00
|
|
|
#include "src/Core/arch/SYCL/InteropHeaders.h"
|
2019-06-27 12:25:09 +01:00
|
|
|
#if !defined(EIGEN_DONT_VECTORIZE_SYCL)
|
2018-08-03 16:59:15 +01:00
|
|
|
#include "src/Core/arch/SYCL/PacketMath.h"
|
|
|
|
#include "src/Core/arch/SYCL/MathFunctions.h"
|
|
|
|
#include "src/Core/arch/SYCL/TypeCasting.h"
|
|
|
|
#endif
|
2019-06-27 12:25:09 +01:00
|
|
|
#endif
|
2019-09-06 09:26:04 +02:00
|
|
|
|
2010-03-03 18:47:58 +01:00
|
|
|
#include "src/Core/arch/Default/Settings.h"
|
2019-09-06 09:26:04 +02:00
|
|
|
// This file provides generic implementations valid for scalar as well
|
|
|
|
#include "src/Core/arch/Default/GenericPacketMathFunctions.h"
|
2008-05-12 17:34:46 +00:00
|
|
|
|
2016-06-02 17:04:19 -07:00
|
|
|
#include "src/Core/functors/TernaryFunctors.h"
|
2013-11-06 10:36:10 +01:00
|
|
|
#include "src/Core/functors/BinaryFunctors.h"
|
|
|
|
#include "src/Core/functors/UnaryFunctors.h"
|
|
|
|
#include "src/Core/functors/NullaryFunctors.h"
|
|
|
|
#include "src/Core/functors/StlFunctors.h"
|
2013-12-02 15:07:45 +01:00
|
|
|
#include "src/Core/functors/AssignmentFunctors.h"
|
2013-11-06 10:36:10 +01:00
|
|
|
|
2021-10-08 11:36:27 -07:00
|
|
|
// Specialized functors for GPU.
|
|
|
|
#ifdef EIGEN_GPUCC
|
|
|
|
#include "src/Core/arch/GPU/Complex.h"
|
2018-07-18 13:51:36 +02:00
|
|
|
#endif
|
2016-10-03 11:06:24 -07:00
|
|
|
|
2021-10-26 12:24:33 -07:00
|
|
|
// Specializations of vectorized activation functions for NEON.
|
|
|
|
#ifdef EIGEN_VECTORIZE_NEON
|
|
|
|
#include "src/Core/arch/NEON/UnaryFunctors.h"
|
|
|
|
#endif
|
|
|
|
|
2017-01-11 17:24:02 +01:00
|
|
|
#include "src/Core/util/IndexedViewHelper.h"
|
2017-02-21 15:57:25 +01:00
|
|
|
#include "src/Core/util/ReshapedHelper.h"
|
2017-01-06 00:01:44 +01:00
|
|
|
#include "src/Core/ArithmeticSequence.h"
|
2018-10-22 21:14:40 +02:00
|
|
|
#ifndef EIGEN_NO_IO
|
|
|
|
#include "src/Core/IO.h"
|
|
|
|
#endif
|
2010-05-08 16:02:13 -04:00
|
|
|
#include "src/Core/DenseCoeffsBase.h"
|
2009-12-04 23:17:14 +01:00
|
|
|
#include "src/Core/DenseBase.h"
|
2007-12-28 16:20:00 +00:00
|
|
|
#include "src/Core/MatrixBase.h"
|
2010-02-20 15:26:02 +01:00
|
|
|
#include "src/Core/EigenBase.h"
|
2008-12-16 15:17:29 +00:00
|
|
|
|
2013-11-07 16:38:14 +01:00
|
|
|
#include "src/Core/Product.h"
|
|
|
|
#include "src/Core/CoreEvaluators.h"
|
|
|
|
#include "src/Core/AssignEvaluator.h"
|
|
|
|
|
2008-06-02 19:29:23 +00:00
|
|
|
#ifndef EIGEN_PARSED_BY_DOXYGEN // work around Doxygen bug triggered by Assign.h r814874
|
|
|
|
// at least confirmed with Doxygen 1.5.5 and 1.5.6
|
2008-12-16 15:17:29 +00:00
|
|
|
#include "src/Core/Assign.h"
|
2008-06-02 19:29:23 +00:00
|
|
|
#endif
|
2008-12-16 15:17:29 +00:00
|
|
|
|
2013-08-19 16:40:50 +02:00
|
|
|
#include "src/Core/ArrayBase.h"
|
2009-08-15 22:19:29 +02:00
|
|
|
#include "src/Core/util/BlasUtil.h"
|
2010-10-20 09:34:13 -04:00
|
|
|
#include "src/Core/DenseStorage.h"
|
2008-05-28 05:14:16 +00:00
|
|
|
#include "src/Core/NestByValue.h"
|
2014-09-18 15:15:27 +02:00
|
|
|
|
|
|
|
// #include "src/Core/ForceAlignedAccess.h"
|
|
|
|
|
2009-03-04 13:00:00 +00:00
|
|
|
#include "src/Core/ReturnByValue.h"
|
2009-08-15 18:35:51 +02:00
|
|
|
#include "src/Core/NoAlias.h"
|
2010-10-20 09:34:13 -04:00
|
|
|
#include "src/Core/PlainObjectBase.h"
|
2007-12-28 16:20:00 +00:00
|
|
|
#include "src/Core/Matrix.h"
|
2010-12-15 15:19:51 +01:00
|
|
|
#include "src/Core/Array.h"
|
2016-06-02 17:04:19 -07:00
|
|
|
#include "src/Core/CwiseTernaryOp.h"
|
2008-02-29 14:35:14 +00:00
|
|
|
#include "src/Core/CwiseBinaryOp.h"
|
2008-03-03 10:52:44 +00:00
|
|
|
#include "src/Core/CwiseUnaryOp.h"
|
2008-04-24 18:35:39 +00:00
|
|
|
#include "src/Core/CwiseNullaryOp.h"
|
2009-05-20 15:41:23 +02:00
|
|
|
#include "src/Core/CwiseUnaryView.h"
|
2010-07-19 23:32:13 +02:00
|
|
|
#include "src/Core/SelfCwiseBinaryOp.h"
|
2008-07-09 22:30:18 +00:00
|
|
|
#include "src/Core/Dot.h"
|
2009-07-17 16:22:39 +02:00
|
|
|
#include "src/Core/StableNorm.h"
|
2010-02-18 20:42:38 -05:00
|
|
|
#include "src/Core/Stride.h"
|
2014-02-18 11:03:59 +01:00
|
|
|
#include "src/Core/MapBase.h"
|
2008-08-09 18:41:24 +00:00
|
|
|
#include "src/Core/Map.h"
|
2014-02-18 11:03:59 +01:00
|
|
|
#include "src/Core/Ref.h"
|
2007-12-28 16:20:00 +00:00
|
|
|
#include "src/Core/Block.h"
|
2009-07-05 11:33:55 +02:00
|
|
|
#include "src/Core/VectorBlock.h"
|
2017-01-06 00:01:44 +01:00
|
|
|
#include "src/Core/IndexedView.h"
|
2017-01-29 15:20:35 +01:00
|
|
|
#include "src/Core/Reshaped.h"
|
2007-12-28 16:20:00 +00:00
|
|
|
#include "src/Core/Transpose.h"
|
|
|
|
#include "src/Core/DiagonalMatrix.h"
|
2009-05-10 16:24:39 +00:00
|
|
|
#include "src/Core/Diagonal.h"
|
2009-06-28 21:27:37 +02:00
|
|
|
#include "src/Core/DiagonalProduct.h"
|
2022-09-08 20:44:40 +00:00
|
|
|
#include "src/Core/SkewSymmetricMatrix3.h"
|
2008-03-16 14:36:25 +00:00
|
|
|
#include "src/Core/Redux.h"
|
|
|
|
#include "src/Core/Visitor.h"
|
2007-12-28 16:20:00 +00:00
|
|
|
#include "src/Core/Fuzzy.h"
|
2008-01-15 13:55:47 +00:00
|
|
|
#include "src/Core/Swap.h"
|
2008-03-08 19:02:24 +00:00
|
|
|
#include "src/Core/CommaInitializer.h"
|
2011-03-23 16:12:21 +01:00
|
|
|
#include "src/Core/GeneralProduct.h"
|
2014-02-19 11:33:29 +01:00
|
|
|
#include "src/Core/Solve.h"
|
2014-02-24 11:49:30 +01:00
|
|
|
#include "src/Core/Inverse.h"
|
2015-12-01 14:38:47 +01:00
|
|
|
#include "src/Core/SolverBase.h"
|
2015-10-08 18:36:39 +02:00
|
|
|
#include "src/Core/PermutationMatrix.h"
|
|
|
|
#include "src/Core/Transpositions.h"
|
2009-07-06 23:43:20 +02:00
|
|
|
#include "src/Core/TriangularMatrix.h"
|
|
|
|
#include "src/Core/SelfAdjointView.h"
|
2012-06-14 14:24:15 +02:00
|
|
|
#include "src/Core/products/GeneralBlockPanelKernel.h"
|
2023-11-10 17:42:30 +00:00
|
|
|
#ifdef EIGEN_GEMM_THREADPOOL
|
|
|
|
#include "ThreadPool"
|
|
|
|
#endif
|
2010-02-22 11:08:37 +01:00
|
|
|
#include "src/Core/products/Parallelizer.h"
|
2014-02-21 16:43:03 +01:00
|
|
|
#include "src/Core/ProductEvaluators.h"
|
2009-08-06 12:20:02 +02:00
|
|
|
#include "src/Core/products/GeneralMatrixVector.h"
|
|
|
|
#include "src/Core/products/GeneralMatrixMatrix.h"
|
2012-06-12 11:40:33 +02:00
|
|
|
#include "src/Core/SolveTriangular.h"
|
2010-11-10 18:58:55 +01:00
|
|
|
#include "src/Core/products/GeneralMatrixMatrixTriangular.h"
|
2009-08-06 12:20:02 +02:00
|
|
|
#include "src/Core/products/SelfadjointMatrixVector.h"
|
|
|
|
#include "src/Core/products/SelfadjointMatrixMatrix.h"
|
2009-07-23 19:01:20 +02:00
|
|
|
#include "src/Core/products/SelfadjointProduct.h"
|
2009-07-11 21:14:59 +02:00
|
|
|
#include "src/Core/products/SelfadjointRank2Update.h"
|
2009-07-13 13:17:55 +02:00
|
|
|
#include "src/Core/products/TriangularMatrixVector.h"
|
2009-07-27 10:27:01 +02:00
|
|
|
#include "src/Core/products/TriangularMatrixMatrix.h"
|
2009-08-06 12:20:02 +02:00
|
|
|
#include "src/Core/products/TriangularSolverMatrix.h"
|
2010-11-05 12:43:14 +01:00
|
|
|
#include "src/Core/products/TriangularSolverVector.h"
|
2009-07-14 23:27:37 +02:00
|
|
|
#include "src/Core/BandMatrix.h"
|
2013-01-15 22:03:54 +01:00
|
|
|
#include "src/Core/CoreIterators.h"
|
2016-04-01 10:27:59 -07:00
|
|
|
#include "src/Core/ConditionEstimator.h"
|
2008-05-31 23:21:49 +00:00
|
|
|
|
2022-08-08 18:18:17 +00:00
|
|
|
#if defined(EIGEN_VECTORIZE_VSX)
|
2021-02-03 08:18:28 -08:00
|
|
|
#include "src/Core/arch/AltiVec/MatrixProduct.h"
|
|
|
|
#elif defined EIGEN_VECTORIZE_NEON
|
|
|
|
#include "src/Core/arch/NEON/GeneralBlockPanelKernel.h"
|
2022-05-28 02:00:21 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(EIGEN_VECTORIZE_AVX512)
|
|
|
|
#include "src/Core/arch/AVX512/GemmKernel.h"
|
2023-08-01 17:47:57 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(EIGEN_VECTORIZE_HVX)
|
|
|
|
#include "src/Core/arch/HVX/GeneralBlockPanelKernel.h"
|
2020-05-19 19:24:11 +00:00
|
|
|
#endif
|
|
|
|
|
2010-06-19 23:36:38 +02:00
|
|
|
#include "src/Core/Select.h"
|
|
|
|
#include "src/Core/VectorwiseOp.h"
|
2018-10-09 23:36:50 +02:00
|
|
|
#include "src/Core/PartialReduxEvaluator.h"
|
2010-06-19 23:36:38 +02:00
|
|
|
#include "src/Core/Random.h"
|
|
|
|
#include "src/Core/Replicate.h"
|
|
|
|
#include "src/Core/Reverse.h"
|
|
|
|
#include "src/Core/ArrayWrapper.h"
|
2018-10-01 23:21:37 +02:00
|
|
|
#include "src/Core/StlIterators.h"
|
2010-01-20 20:51:01 +01:00
|
|
|
|
2011-12-09 10:06:49 +01:00
|
|
|
#ifdef EIGEN_USE_BLAS
|
2016-04-11 16:04:09 +02:00
|
|
|
#include "src/Core/products/GeneralMatrixMatrix_BLAS.h"
|
|
|
|
#include "src/Core/products/GeneralMatrixVector_BLAS.h"
|
|
|
|
#include "src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h"
|
|
|
|
#include "src/Core/products/SelfadjointMatrixMatrix_BLAS.h"
|
|
|
|
#include "src/Core/products/SelfadjointMatrixVector_BLAS.h"
|
|
|
|
#include "src/Core/products/TriangularMatrixMatrix_BLAS.h"
|
|
|
|
#include "src/Core/products/TriangularMatrixVector_BLAS.h"
|
|
|
|
#include "src/Core/products/TriangularSolverMatrix_BLAS.h"
|
2011-12-09 10:06:49 +01:00
|
|
|
#endif // EIGEN_USE_BLAS
|
|
|
|
|
|
|
|
#ifdef EIGEN_USE_MKL_VML
|
2011-12-05 14:52:21 +07:00
|
|
|
#include "src/Core/Assign_MKL.h"
|
|
|
|
#endif
|
2011-03-23 11:54:00 +01:00
|
|
|
|
2010-06-19 23:36:38 +02:00
|
|
|
#include "src/Core/GlobalFunctions.h"
|
2023-02-08 17:40:31 +00:00
|
|
|
// IWYU pragma: end_exports
|
2010-01-27 23:23:59 +01:00
|
|
|
|
2011-02-22 09:31:22 -05:00
|
|
|
#include "src/Core/util/ReenableStupidWarnings.h"
|
2008-12-18 20:48:02 +00:00
|
|
|
|
2021-09-10 19:12:26 +00:00
|
|
|
#endif // EIGEN_CORE_MODULE_H
|