mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
b4c974d059
m.upper() = a+b; only updates the upper triangular part of m. Note that: m = (a+b).upper(); updates all coefficients of m (but half of the additions will be skiped) Updated back/forward substitution to better use Eigen's capability.
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
#ifndef EIGEN_CORE_H
|
|
#define EIGEN_CORE_H
|
|
|
|
#ifndef EIGEN_DONT_VECTORIZE
|
|
#if ((defined __SSE2__) && ( (!defined __GNUC__) || (__GNUC__>=4 && __GNUC_MINOR__>=2)))
|
|
#define EIGEN_VECTORIZE
|
|
#define EIGEN_VECTORIZE_SSE
|
|
#include <emmintrin.h>
|
|
#include <xmmintrin.h>
|
|
#endif
|
|
#endif
|
|
|
|
#include <cstdlib>
|
|
#include <cmath>
|
|
#include <complex>
|
|
#include <cassert>
|
|
#include <iostream>
|
|
|
|
namespace Eigen {
|
|
|
|
#include "src/Core/util/Macros.h"
|
|
#include "src/Core/util/Constants.h"
|
|
#include "src/Core/util/ForwardDeclarations.h"
|
|
#include "src/Core/util/Meta.h"
|
|
|
|
#include "src/Core/NumTraits.h"
|
|
#include "src/Core/MathFunctions.h"
|
|
#include "src/Core/PacketMath.h"
|
|
#include "src/Core/Functors.h"
|
|
#include "src/Core/MatrixBase.h"
|
|
#include "src/Core/Coeffs.h"
|
|
#include "src/Core/Assign.h"
|
|
#include "src/Core/MatrixStorage.h"
|
|
#include "src/Core/Matrix.h"
|
|
#include "src/Core/Lazy.h"
|
|
#include "src/Core/Temporary.h"
|
|
#include "src/Core/CwiseBinaryOp.h"
|
|
#include "src/Core/CwiseUnaryOp.h"
|
|
#include "src/Core/CwiseNullaryOp.h"
|
|
#include "src/Core/Product.h"
|
|
#include "src/Core/Block.h"
|
|
#include "src/Core/Minor.h"
|
|
#include "src/Core/Transpose.h"
|
|
#include "src/Core/Dot.h"
|
|
#include "src/Core/DiagonalMatrix.h"
|
|
#include "src/Core/DiagonalCoeffs.h"
|
|
#include "src/Core/Redux.h"
|
|
#include "src/Core/Visitor.h"
|
|
#include "src/Core/Fuzzy.h"
|
|
#include "src/Core/Map.h"
|
|
#include "src/Core/IO.h"
|
|
#include "src/Core/Swap.h"
|
|
#include "src/Core/CommaInitializer.h"
|
|
#include "src/Core/Triangular.h"
|
|
#include "src/Core/TriangularAssign.h"
|
|
|
|
} // namespace Eigen
|
|
|
|
#endif // EIGEN_CORE_H
|