From d2aa1ec9f4c40958164ad530f67853ae9245a900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Tue, 12 Nov 2024 14:54:49 +0100 Subject: [PATCH 1/7] Add SPDX license identifier for files that are under MPL-2.0 license The SPDX license identifier helps reusing Eigen by declaring the license of each file in a human and machine readable way. --- .clang-format | 2 ++ .git-blame-ignore-revs | 1 + .gitignore | 2 ++ .gitlab-ci.yml | 1 + CMakeLists.txt | 2 ++ Eigen/AccelerateSupport | 1 + Eigen/Cholesky | 1 + Eigen/CholmodSupport | 1 + Eigen/Core | 1 + Eigen/Dense | 1 + Eigen/Eigen | 1 + Eigen/Eigenvalues | 1 + Eigen/Geometry | 1 + Eigen/Householder | 1 + Eigen/IterativeLinearSolvers | 1 + Eigen/Jacobi | 1 + Eigen/KLUSupport | 1 + Eigen/LU | 1 + Eigen/MetisSupport | 1 + Eigen/OrderingMethods | 1 + Eigen/PaStiXSupport | 1 + Eigen/PardisoSupport | 1 + Eigen/QR | 1 + Eigen/QtAlignedMalloc | 1 + Eigen/SPQRSupport | 1 + Eigen/SVD | 1 + Eigen/Sparse | 1 + Eigen/SparseCholesky | 1 + Eigen/SparseCore | 1 + Eigen/SparseLU | 1 + Eigen/SparseQR | 1 + Eigen/StdDeque | 1 + Eigen/StdList | 1 + Eigen/StdVector | 1 + Eigen/SuperLUSupport | 1 + Eigen/ThreadPool | 1 + Eigen/UmfPackSupport | 1 + Eigen/src/AccelerateSupport/AccelerateSupport.h | 2 ++ Eigen/src/AccelerateSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/Cholesky/InternalHeaderCheck.h | 2 ++ Eigen/src/Cholesky/LDLT.h | 1 + Eigen/src/Cholesky/LLT.h | 1 + Eigen/src/CholmodSupport/CholmodSupport.h | 1 + Eigen/src/CholmodSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/Core/ArithmeticSequence.h | 1 + Eigen/src/Core/Array.h | 1 + Eigen/src/Core/ArrayBase.h | 1 + Eigen/src/Core/ArrayWrapper.h | 1 + Eigen/src/Core/Assign.h | 1 + Eigen/src/Core/AssignEvaluator.h | 1 + Eigen/src/Core/BandMatrix.h | 1 + Eigen/src/Core/Block.h | 1 + Eigen/src/Core/CommaInitializer.h | 1 + Eigen/src/Core/ConditionEstimator.h | 1 + Eigen/src/Core/CoreEvaluators.h | 1 + Eigen/src/Core/CoreIterators.h | 1 + Eigen/src/Core/CwiseBinaryOp.h | 1 + Eigen/src/Core/CwiseNullaryOp.h | 1 + Eigen/src/Core/CwiseTernaryOp.h | 1 + Eigen/src/Core/CwiseUnaryOp.h | 1 + Eigen/src/Core/CwiseUnaryView.h | 1 + Eigen/src/Core/DenseBase.h | 1 + Eigen/src/Core/DenseCoeffsBase.h | 1 + Eigen/src/Core/DenseStorage.h | 1 + Eigen/src/Core/DeviceWrapper.h | 1 + Eigen/src/Core/Diagonal.h | 1 + Eigen/src/Core/DiagonalMatrix.h | 1 + Eigen/src/Core/DiagonalProduct.h | 1 + Eigen/src/Core/Dot.h | 1 + Eigen/src/Core/EigenBase.h | 1 + Eigen/src/Core/ForceAlignedAccess.h | 1 + Eigen/src/Core/Fuzzy.h | 1 + Eigen/src/Core/GeneralProduct.h | 1 + Eigen/src/Core/GenericPacketMath.h | 1 + Eigen/src/Core/GlobalFunctions.h | 1 + Eigen/src/Core/IO.h | 1 + Eigen/src/Core/IndexedView.h | 1 + Eigen/src/Core/InnerProduct.h | 1 + Eigen/src/Core/InternalHeaderCheck.h | 2 ++ Eigen/src/Core/Inverse.h | 1 + Eigen/src/Core/Map.h | 1 + Eigen/src/Core/MapBase.h | 1 + Eigen/src/Core/MathFunctions.h | 1 + Eigen/src/Core/MathFunctionsImpl.h | 1 + Eigen/src/Core/Matrix.h | 1 + Eigen/src/Core/MatrixBase.h | 1 + Eigen/src/Core/NestByValue.h | 1 + Eigen/src/Core/NoAlias.h | 1 + Eigen/src/Core/NumTraits.h | 1 + Eigen/src/Core/PartialReduxEvaluator.h | 1 + Eigen/src/Core/PermutationMatrix.h | 1 + Eigen/src/Core/PlainObjectBase.h | 1 + Eigen/src/Core/Product.h | 1 + Eigen/src/Core/ProductEvaluators.h | 1 + Eigen/src/Core/Random.h | 1 + Eigen/src/Core/RandomImpl.h | 1 + Eigen/src/Core/Redux.h | 1 + Eigen/src/Core/Ref.h | 1 + Eigen/src/Core/Replicate.h | 1 + Eigen/src/Core/Reshaped.h | 1 + Eigen/src/Core/ReturnByValue.h | 1 + Eigen/src/Core/Reverse.h | 1 + Eigen/src/Core/Select.h | 1 + Eigen/src/Core/SelfAdjointView.h | 1 + Eigen/src/Core/SelfCwiseBinaryOp.h | 1 + Eigen/src/Core/SkewSymmetricMatrix3.h | 1 + Eigen/src/Core/Solve.h | 1 + Eigen/src/Core/SolveTriangular.h | 1 + Eigen/src/Core/SolverBase.h | 1 + Eigen/src/Core/StableNorm.h | 1 + Eigen/src/Core/StlIterators.h | 1 + Eigen/src/Core/Stride.h | 1 + Eigen/src/Core/Swap.h | 1 + Eigen/src/Core/Transpose.h | 1 + Eigen/src/Core/Transpositions.h | 1 + Eigen/src/Core/TriangularMatrix.h | 1 + Eigen/src/Core/VectorBlock.h | 1 + Eigen/src/Core/VectorwiseOp.h | 1 + Eigen/src/Core/Visitor.h | 1 + Eigen/src/Core/arch/AVX/Complex.h | 1 + Eigen/src/Core/arch/AVX/MathFunctions.h | 1 + Eigen/src/Core/arch/AVX/PacketMath.h | 1 + Eigen/src/Core/arch/AVX/TypeCasting.h | 1 + Eigen/src/Core/arch/AVX512/Complex.h | 1 + Eigen/src/Core/arch/AVX512/GemmKernel.h | 1 + Eigen/src/Core/arch/AVX512/MathFunctions.h | 1 + Eigen/src/Core/arch/AVX512/PacketMath.h | 1 + Eigen/src/Core/arch/AVX512/PacketMathFP16.h | 1 + Eigen/src/Core/arch/AVX512/TrsmKernel.h | 1 + Eigen/src/Core/arch/AVX512/TrsmUnrolls.inc | 1 + Eigen/src/Core/arch/AVX512/TypeCasting.h | 1 + Eigen/src/Core/arch/AltiVec/Complex.h | 1 + Eigen/src/Core/arch/AltiVec/MathFunctions.h | 1 + Eigen/src/Core/arch/AltiVec/MatrixProduct.h | 1 + Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h | 2 ++ Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h | 1 + Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h | 2 ++ Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h | 1 + Eigen/src/Core/arch/AltiVec/PacketMath.h | 1 + Eigen/src/Core/arch/AltiVec/TypeCasting.h | 1 + Eigen/src/Core/arch/Default/ConjHelper.h | 1 + Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h | 1 + Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h | 1 + Eigen/src/Core/arch/Default/Half.h | 1 + Eigen/src/Core/arch/Default/Settings.h | 1 + Eigen/src/Core/arch/GPU/Complex.h | 1 + Eigen/src/Core/arch/GPU/MathFunctions.h | 1 + Eigen/src/Core/arch/GPU/PacketMath.h | 1 + Eigen/src/Core/arch/GPU/Tuple.h | 1 + Eigen/src/Core/arch/GPU/TypeCasting.h | 1 + Eigen/src/Core/arch/HIP/hcc/math_constants.h | 1 + Eigen/src/Core/arch/HVX/PacketMath.h | 1 + Eigen/src/Core/arch/MSA/Complex.h | 1 + Eigen/src/Core/arch/MSA/MathFunctions.h | 1 + Eigen/src/Core/arch/MSA/PacketMath.h | 1 + Eigen/src/Core/arch/NEON/Complex.h | 1 + Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h | 1 + Eigen/src/Core/arch/NEON/MathFunctions.h | 1 + Eigen/src/Core/arch/NEON/PacketMath.h | 1 + Eigen/src/Core/arch/NEON/TypeCasting.h | 1 + Eigen/src/Core/arch/NEON/UnaryFunctors.h | 1 + Eigen/src/Core/arch/SSE/Complex.h | 1 + Eigen/src/Core/arch/SSE/MathFunctions.h | 1 + Eigen/src/Core/arch/SSE/PacketMath.h | 1 + Eigen/src/Core/arch/SSE/TypeCasting.h | 1 + Eigen/src/Core/arch/SVE/MathFunctions.h | 1 + Eigen/src/Core/arch/SVE/PacketMath.h | 1 + Eigen/src/Core/arch/SVE/TypeCasting.h | 1 + Eigen/src/Core/arch/SYCL/InteropHeaders.h | 1 + Eigen/src/Core/arch/SYCL/MathFunctions.h | 1 + Eigen/src/Core/arch/SYCL/PacketMath.h | 1 + Eigen/src/Core/arch/SYCL/TypeCasting.h | 1 + Eigen/src/Core/arch/ZVector/Complex.h | 1 + Eigen/src/Core/arch/ZVector/MathFunctions.h | 1 + Eigen/src/Core/arch/ZVector/PacketMath.h | 1 + Eigen/src/Core/functors/AssignmentFunctors.h | 1 + Eigen/src/Core/functors/BinaryFunctors.h | 1 + Eigen/src/Core/functors/NullaryFunctors.h | 1 + Eigen/src/Core/functors/StlFunctors.h | 1 + Eigen/src/Core/functors/TernaryFunctors.h | 1 + Eigen/src/Core/functors/UnaryFunctors.h | 1 + Eigen/src/Core/products/GeneralBlockPanelKernel.h | 1 + Eigen/src/Core/products/GeneralMatrixMatrix.h | 1 + Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h | 1 + Eigen/src/Core/products/GeneralMatrixVector.h | 1 + Eigen/src/Core/products/Parallelizer.h | 1 + Eigen/src/Core/products/SelfadjointMatrixMatrix.h | 1 + Eigen/src/Core/products/SelfadjointMatrixVector.h | 1 + Eigen/src/Core/products/SelfadjointProduct.h | 1 + Eigen/src/Core/products/SelfadjointRank2Update.h | 1 + Eigen/src/Core/products/TriangularMatrixMatrix.h | 1 + Eigen/src/Core/products/TriangularMatrixVector.h | 1 + Eigen/src/Core/products/TriangularSolverMatrix.h | 1 + Eigen/src/Core/products/TriangularSolverVector.h | 1 + Eigen/src/Core/util/Assert.h | 1 + Eigen/src/Core/util/BlasUtil.h | 1 + Eigen/src/Core/util/ConfigureVectorization.h | 1 + Eigen/src/Core/util/Constants.h | 1 + Eigen/src/Core/util/DisableStupidWarnings.h | 2 ++ Eigen/src/Core/util/EmulateArray.h | 1 + Eigen/src/Core/util/ForwardDeclarations.h | 1 + Eigen/src/Core/util/IndexedViewHelper.h | 1 + Eigen/src/Core/util/IntegralConstant.h | 1 + Eigen/src/Core/util/Macros.h | 1 + Eigen/src/Core/util/MaxSizeVector.h | 1 + Eigen/src/Core/util/Memory.h | 1 + Eigen/src/Core/util/Meta.h | 1 + Eigen/src/Core/util/MoreMeta.h | 1 + Eigen/src/Core/util/ReenableStupidWarnings.h | 2 ++ Eigen/src/Core/util/ReshapedHelper.h | 1 + Eigen/src/Core/util/Serializer.h | 1 + Eigen/src/Core/util/StaticAssert.h | 1 + Eigen/src/Core/util/SymbolicIndex.h | 1 + Eigen/src/Core/util/XprHelper.h | 1 + Eigen/src/Eigenvalues/ComplexEigenSolver.h | 1 + Eigen/src/Eigenvalues/ComplexSchur.h | 1 + Eigen/src/Eigenvalues/EigenSolver.h | 1 + Eigen/src/Eigenvalues/GeneralizedEigenSolver.h | 1 + Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h | 1 + Eigen/src/Eigenvalues/HessenbergDecomposition.h | 1 + Eigen/src/Eigenvalues/InternalHeaderCheck.h | 2 ++ Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h | 1 + Eigen/src/Eigenvalues/RealQZ.h | 1 + Eigen/src/Eigenvalues/RealSchur.h | 1 + Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h | 1 + Eigen/src/Eigenvalues/Tridiagonalization.h | 1 + Eigen/src/Geometry/AngleAxis.h | 1 + Eigen/src/Geometry/EulerAngles.h | 1 + Eigen/src/Geometry/Homogeneous.h | 1 + Eigen/src/Geometry/Hyperplane.h | 1 + Eigen/src/Geometry/InternalHeaderCheck.h | 2 ++ Eigen/src/Geometry/OrthoMethods.h | 1 + Eigen/src/Geometry/ParametrizedLine.h | 1 + Eigen/src/Geometry/Quaternion.h | 1 + Eigen/src/Geometry/Rotation2D.h | 1 + Eigen/src/Geometry/RotationBase.h | 1 + Eigen/src/Geometry/Scaling.h | 1 + Eigen/src/Geometry/Transform.h | 1 + Eigen/src/Geometry/Translation.h | 1 + Eigen/src/Geometry/Umeyama.h | 1 + Eigen/src/Geometry/arch/Geometry_SIMD.h | 1 + Eigen/src/Householder/BlockHouseholder.h | 1 + Eigen/src/Householder/Householder.h | 1 + Eigen/src/Householder/HouseholderSequence.h | 1 + Eigen/src/Householder/InternalHeaderCheck.h | 2 ++ Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h | 1 + Eigen/src/IterativeLinearSolvers/BiCGSTAB.h | 1 + Eigen/src/IterativeLinearSolvers/ConjugateGradient.h | 1 + Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h | 1 + Eigen/src/IterativeLinearSolvers/IncompleteLUT.h | 1 + Eigen/src/IterativeLinearSolvers/InternalHeaderCheck.h | 2 ++ Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h | 1 + .../src/IterativeLinearSolvers/LeastSquareConjugateGradient.h | 1 + Eigen/src/IterativeLinearSolvers/SolveWithGuess.h | 1 + Eigen/src/Jacobi/InternalHeaderCheck.h | 2 ++ Eigen/src/Jacobi/Jacobi.h | 1 + Eigen/src/KLUSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/KLUSupport/KLUSupport.h | 1 + Eigen/src/LU/Determinant.h | 1 + Eigen/src/LU/FullPivLU.h | 1 + Eigen/src/LU/InternalHeaderCheck.h | 2 ++ Eigen/src/LU/InverseImpl.h | 1 + Eigen/src/LU/PartialPivLU.h | 1 + Eigen/src/LU/arch/InverseSize4.h | 1 + Eigen/src/MetisSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/MetisSupport/MetisSupport.h | 1 + Eigen/src/OrderingMethods/Amd.h | 1 + Eigen/src/OrderingMethods/Eigen_Colamd.h | 1 + Eigen/src/OrderingMethods/InternalHeaderCheck.h | 2 ++ Eigen/src/OrderingMethods/Ordering.h | 1 + Eigen/src/PaStiXSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/PaStiXSupport/PaStiXSupport.h | 1 + Eigen/src/PardisoSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/QR/ColPivHouseholderQR.h | 1 + Eigen/src/QR/CompleteOrthogonalDecomposition.h | 1 + Eigen/src/QR/FullPivHouseholderQR.h | 1 + Eigen/src/QR/HouseholderQR.h | 1 + Eigen/src/QR/InternalHeaderCheck.h | 2 ++ Eigen/src/SPQRSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/SPQRSupport/SuiteSparseQRSupport.h | 1 + Eigen/src/SVD/BDCSVD.h | 1 + Eigen/src/SVD/InternalHeaderCheck.h | 2 ++ Eigen/src/SVD/JacobiSVD.h | 1 + Eigen/src/SVD/SVDBase.h | 1 + Eigen/src/SVD/UpperBidiagonalization.h | 1 + Eigen/src/SparseCholesky/InternalHeaderCheck.h | 2 ++ Eigen/src/SparseCholesky/SimplicialCholesky.h | 1 + Eigen/src/SparseCholesky/SimplicialCholesky_impl.h | 1 + Eigen/src/SparseCore/AmbiVector.h | 1 + Eigen/src/SparseCore/CompressedStorage.h | 1 + Eigen/src/SparseCore/ConservativeSparseSparseProduct.h | 1 + Eigen/src/SparseCore/InternalHeaderCheck.h | 2 ++ Eigen/src/SparseCore/SparseAssign.h | 1 + Eigen/src/SparseCore/SparseBlock.h | 1 + Eigen/src/SparseCore/SparseColEtree.h | 1 + Eigen/src/SparseCore/SparseCompressedBase.h | 1 + Eigen/src/SparseCore/SparseCwiseBinaryOp.h | 1 + Eigen/src/SparseCore/SparseCwiseUnaryOp.h | 1 + Eigen/src/SparseCore/SparseDenseProduct.h | 1 + Eigen/src/SparseCore/SparseDiagonalProduct.h | 1 + Eigen/src/SparseCore/SparseDot.h | 1 + Eigen/src/SparseCore/SparseFuzzy.h | 1 + Eigen/src/SparseCore/SparseMap.h | 1 + Eigen/src/SparseCore/SparseMatrix.h | 1 + Eigen/src/SparseCore/SparseMatrixBase.h | 1 + Eigen/src/SparseCore/SparsePermutation.h | 1 + Eigen/src/SparseCore/SparseProduct.h | 1 + Eigen/src/SparseCore/SparseRedux.h | 1 + Eigen/src/SparseCore/SparseRef.h | 1 + Eigen/src/SparseCore/SparseSelfAdjointView.h | 1 + Eigen/src/SparseCore/SparseSolverBase.h | 1 + Eigen/src/SparseCore/SparseSparseProductWithPruning.h | 1 + Eigen/src/SparseCore/SparseTranspose.h | 1 + Eigen/src/SparseCore/SparseTriangularView.h | 1 + Eigen/src/SparseCore/SparseUtil.h | 1 + Eigen/src/SparseCore/SparseVector.h | 1 + Eigen/src/SparseCore/SparseView.h | 1 + Eigen/src/SparseCore/TriangularSolver.h | 1 + Eigen/src/SparseLU/InternalHeaderCheck.h | 2 ++ Eigen/src/SparseLU/SparseLU.h | 1 + Eigen/src/SparseLU/SparseLUImpl.h | 1 + Eigen/src/SparseLU/SparseLU_Memory.h | 1 + Eigen/src/SparseLU/SparseLU_Structs.h | 1 + Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h | 1 + Eigen/src/SparseLU/SparseLU_Utils.h | 1 + Eigen/src/SparseLU/SparseLU_column_bmod.h | 1 + Eigen/src/SparseLU/SparseLU_column_dfs.h | 1 + Eigen/src/SparseLU/SparseLU_copy_to_ucol.h | 1 + Eigen/src/SparseLU/SparseLU_heap_relax_snode.h | 1 + Eigen/src/SparseLU/SparseLU_kernel_bmod.h | 1 + Eigen/src/SparseLU/SparseLU_panel_bmod.h | 1 + Eigen/src/SparseLU/SparseLU_panel_dfs.h | 1 + Eigen/src/SparseLU/SparseLU_pivotL.h | 1 + Eigen/src/SparseLU/SparseLU_pruneL.h | 1 + Eigen/src/SparseLU/SparseLU_relax_snode.h | 1 + Eigen/src/SparseQR/InternalHeaderCheck.h | 2 ++ Eigen/src/SparseQR/SparseQR.h | 1 + Eigen/src/StlSupport/StdDeque.h | 1 + Eigen/src/StlSupport/StdList.h | 1 + Eigen/src/StlSupport/StdVector.h | 1 + Eigen/src/StlSupport/details.h | 1 + Eigen/src/SuperLUSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/SuperLUSupport/SuperLUSupport.h | 1 + Eigen/src/ThreadPool/Barrier.h | 1 + Eigen/src/ThreadPool/CoreThreadPoolDevice.h | 1 + Eigen/src/ThreadPool/EventCount.h | 1 + Eigen/src/ThreadPool/InternalHeaderCheck.h | 2 ++ Eigen/src/ThreadPool/NonBlockingThreadPool.h | 1 + Eigen/src/ThreadPool/RunQueue.h | 1 + Eigen/src/ThreadPool/ThreadCancel.h | 1 + Eigen/src/ThreadPool/ThreadEnvironment.h | 1 + Eigen/src/ThreadPool/ThreadLocal.h | 1 + Eigen/src/ThreadPool/ThreadPoolInterface.h | 1 + Eigen/src/ThreadPool/ThreadYield.h | 1 + Eigen/src/UmfPackSupport/InternalHeaderCheck.h | 2 ++ Eigen/src/UmfPackSupport/UmfPackSupport.h | 1 + Eigen/src/misc/Image.h | 1 + Eigen/src/misc/InternalHeaderCheck.h | 2 ++ Eigen/src/misc/Kernel.h | 1 + Eigen/src/misc/RealSvd2x2.h | 1 + Eigen/src/misc/blas.h | 2 ++ Eigen/src/misc/lapacke_helpers.h | 1 + Eigen/src/misc/lapacke_mangling.h | 2 ++ Eigen/src/plugins/ArrayCwiseBinaryOps.inc | 3 +++ Eigen/src/plugins/ArrayCwiseUnaryOps.inc | 4 ++++ Eigen/src/plugins/BlockMethods.inc | 1 + Eigen/src/plugins/CommonCwiseBinaryOps.inc | 1 + Eigen/src/plugins/CommonCwiseUnaryOps.inc | 1 + Eigen/src/plugins/IndexedViewMethods.inc | 1 + Eigen/src/plugins/InternalHeaderCheck.inc | 2 ++ Eigen/src/plugins/MatrixCwiseBinaryOps.inc | 1 + Eigen/src/plugins/MatrixCwiseUnaryOps.inc | 1 + Eigen/src/plugins/ReshapedMethods.inc | 2 ++ bench/BenchTimer.h | 1 + bench/analyze-blocking-sizes.cpp | 1 + bench/benchFFT.cpp | 1 + bench/bench_move_semantics.cpp | 1 + bench/benchmark-blocking-sizes.cpp | 1 + bench/btl/libs/tensors/main_linear.cpp | 1 + bench/btl/libs/tensors/main_matmat.cpp | 1 + bench/btl/libs/tensors/main_vecmat.cpp | 1 + bench/btl/libs/tensors/tensor_interface.hh | 1 + bench/eig33.cpp | 1 + bench/spbench/spbenchsolver.h | 1 + bench/spbench/spbenchstyle.h | 1 + bench/tensors/tensor_contract_sycl_bench.cc | 2 ++ blas/BandTriangularSolver.h | 1 + blas/GeneralRank1Update.h | 1 + blas/PackedSelfadjointProduct.h | 1 + blas/PackedTriangularMatrixVector.h | 1 + blas/PackedTriangularSolverVector.h | 1 + blas/Rank2Update.h | 1 + blas/common.h | 1 + blas/complex_double.cpp | 1 + blas/complex_single.cpp | 1 + blas/double.cpp | 1 + blas/level1_cplx_impl.h | 1 + blas/level1_impl.h | 1 + blas/level1_real_impl.h | 1 + blas/level2_cplx_impl.h | 1 + blas/level2_impl.h | 1 + blas/level2_real_impl.h | 1 + blas/level3_impl.h | 2 ++ blas/single.cpp | 1 + ci/CTest2JUnit.xsl | 4 ++++ ci/README.md | 4 ++++ ci/build.linux.gitlab-ci.yml | 2 ++ ci/build.windows.gitlab-ci.yml | 2 ++ ci/checkformat.gitlab-ci.yml | 2 ++ ci/common.gitlab-ci.yml | 2 ++ ci/scripts/build.linux.script.sh | 2 ++ ci/scripts/build.windows.script.ps1 | 2 ++ ci/scripts/common.linux.before_script.sh | 2 ++ ci/scripts/common.windows.before_script.ps1 | 2 ++ ci/scripts/test.linux.after_script.sh | 2 ++ ci/scripts/test.linux.script.sh | 2 ++ ci/scripts/test.windows.after_script.ps1 | 2 ++ ci/scripts/test.windows.script.ps1 | 2 ++ ci/scripts/vars.linux.sh | 2 ++ ci/scripts/vars.windows.ps1 | 2 ++ ci/test.linux.gitlab-ci.yml | 2 ++ ci/test.windows.gitlab-ci.yml | 2 ++ cmake/ComputeCppCompilerChecks.cmake | 2 ++ cmake/ComputeCppIRMap.cmake | 2 ++ cmake/Eigen3Config.cmake.in | 1 + cmake/EigenConfigureTesting.cmake | 2 ++ cmake/EigenSmokeTestList.cmake | 2 ++ cmake/EigenTesting.cmake | 1 + cmake/EigenUninstall.cmake | 2 ++ cmake/FindAccelerate.cmake | 2 ++ cmake/FindAdolc.cmake | 1 + cmake/FindCHOLMOD.cmake | 2 ++ cmake/FindCLANG_FORMAT.cmake | 1 + cmake/FindDPCPP.cmake | 2 ++ cmake/FindFFTW.cmake | 2 ++ cmake/FindGMP.cmake | 2 ++ cmake/FindGoogleHash.cmake | 1 + cmake/FindKLU.cmake | 2 ++ cmake/FindSPQR.cmake | 2 ++ cmake/RegexUtils.cmake | 2 ++ cmake/SyclConfigureTesting.cmake | 2 ++ debug/gdb/__init__.py | 2 ++ debug/gdb/printers.py | 1 + debug/lldb/eigenlldb.py | 1 + debug/msvc/eigen.natvis | 1 + debug/msvc/eigen_autoexp_part.dat | 1 + demos/mandelbrot/mandelbrot.cpp | 1 + demos/mandelbrot/mandelbrot.h | 1 + demos/mix_eigen_and_c/binary_library.cpp | 1 + demos/mix_eigen_and_c/binary_library.h | 1 + demos/mix_eigen_and_c/example.c | 1 + demos/opengl/camera.cpp | 1 + demos/opengl/camera.h | 1 + demos/opengl/gpuhelper.cpp | 1 + demos/opengl/gpuhelper.h | 1 + demos/opengl/icosphere.cpp | 1 + demos/opengl/icosphere.h | 1 + demos/opengl/quaternion_demo.cpp | 1 + demos/opengl/quaternion_demo.h | 1 + demos/opengl/trackball.cpp | 1 + demos/opengl/trackball.h | 1 + doc/CMakeLists.txt | 2 ++ doc/Eigen_Silly_Professor_64x64.png.license | 1 + doc/eigen_navtree_hacks.js | 1 + doc/eigendoxy.css | 3 +++ doc/eigendoxy_tabs.css | 4 ++++ doc/examples/CMakeLists.txt | 2 ++ doc/examples/CustomizingEigen_Inheritance.cpp | 2 ++ doc/examples/Cwise_erf.cpp | 2 ++ doc/examples/Cwise_erfc.cpp | 2 ++ doc/examples/Cwise_lgamma.cpp | 2 ++ doc/examples/DenseBase_middleCols_int.cpp | 2 ++ doc/examples/DenseBase_middleRows_int.cpp | 2 ++ doc/examples/DenseBase_template_int_middleCols.cpp | 2 ++ doc/examples/DenseBase_template_int_middleRows.cpp | 2 ++ doc/examples/QuickStart_example.cpp | 2 ++ doc/examples/QuickStart_example2_dynamic.cpp | 2 ++ doc/examples/QuickStart_example2_fixed.cpp | 2 ++ doc/examples/TemplateKeyword_flexible.cpp | 2 ++ doc/examples/TemplateKeyword_simple.cpp | 2 ++ doc/examples/TutorialInplaceLU.cpp | 2 ++ doc/examples/TutorialLinAlgComputeTwice.cpp | 2 ++ doc/examples/TutorialLinAlgExComputeSolveError.cpp | 2 ++ doc/examples/TutorialLinAlgExSolveColPivHouseholderQR.cpp | 2 ++ doc/examples/TutorialLinAlgExSolveLDLT.cpp | 2 ++ doc/examples/TutorialLinAlgInverseDeterminant.cpp | 2 ++ doc/examples/TutorialLinAlgRankRevealing.cpp | 2 ++ doc/examples/TutorialLinAlgSVDSolve.cpp | 2 ++ doc/examples/TutorialLinAlgSelfAdjointEigenSolver.cpp | 2 ++ doc/examples/TutorialLinAlgSetThreshold.cpp | 2 ++ doc/examples/Tutorial_ArrayClass_accessors.cpp | 2 ++ doc/examples/Tutorial_ArrayClass_addition.cpp | 2 ++ doc/examples/Tutorial_ArrayClass_cwise_other.cpp | 2 ++ doc/examples/Tutorial_ArrayClass_interop.cpp | 2 ++ doc/examples/Tutorial_ArrayClass_interop_matrix.cpp | 2 ++ doc/examples/Tutorial_ArrayClass_mult.cpp | 2 ++ doc/examples/Tutorial_BlockOperations_block_assignment.cpp | 2 ++ doc/examples/Tutorial_BlockOperations_colrow.cpp | 2 ++ doc/examples/Tutorial_BlockOperations_corner.cpp | 2 ++ doc/examples/Tutorial_BlockOperations_print_block.cpp | 2 ++ doc/examples/Tutorial_BlockOperations_vector.cpp | 2 ++ doc/examples/Tutorial_PartialLU_solve.cpp | 2 ++ .../Tutorial_ReductionsVisitorsBroadcasting_broadcast_1nn.cpp | 2 ++ ...torial_ReductionsVisitorsBroadcasting_broadcast_simple.cpp | 2 ++ ...eductionsVisitorsBroadcasting_broadcast_simple_rowwise.cpp | 2 ++ .../Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp | 2 ++ .../Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp | 2 ++ ...utorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp | 2 ++ ...utorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp | 2 ++ ...ReductionsVisitorsBroadcasting_reductions_operatornorm.cpp | 2 ++ .../Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp | 2 ++ .../Tutorial_ReductionsVisitorsBroadcasting_visitors.cpp | 2 ++ doc/examples/Tutorial_simple_example_dynamic_size.cpp | 2 ++ doc/examples/Tutorial_simple_example_fixed_size.cpp | 2 ++ doc/examples/class_Block.cpp | 2 ++ doc/examples/class_CwiseBinaryOp.cpp | 2 ++ doc/examples/class_CwiseUnaryOp.cpp | 2 ++ doc/examples/class_CwiseUnaryOp_ptrfun.cpp | 2 ++ doc/examples/class_FixedBlock.cpp | 2 ++ doc/examples/class_FixedReshaped.cpp | 2 ++ doc/examples/class_FixedVectorBlock.cpp | 2 ++ doc/examples/class_Reshaped.cpp | 2 ++ doc/examples/class_VectorBlock.cpp | 2 ++ doc/examples/function_taking_eigenbase.cpp | 2 ++ doc/examples/function_taking_ref.cpp | 2 ++ doc/examples/make_circulant.cpp | 2 ++ doc/examples/make_circulant2.cpp | 2 ++ doc/examples/matrixfree_cg.cpp | 2 ++ doc/examples/nullary_indexing.cpp | 2 ++ doc/examples/tut_arithmetic_add_sub.cpp | 2 ++ doc/examples/tut_arithmetic_dot_cross.cpp | 2 ++ doc/examples/tut_arithmetic_matrix_mul.cpp | 2 ++ doc/examples/tut_arithmetic_redux_basic.cpp | 2 ++ doc/examples/tut_arithmetic_scalar_mul_div.cpp | 2 ++ doc/examples/tut_matrix_coefficient_accessors.cpp | 2 ++ doc/examples/tut_matrix_resize.cpp | 2 ++ doc/examples/tut_matrix_resize_fixed_size.cpp | 2 ++ doc/ftv2node.png.license | 1 + doc/ftv2pnode.png.license | 1 + doc/snippets/AngleAxis_mimic_euler.cpp | 2 ++ doc/snippets/Array_initializer_list_23_cxx11.cpp | 2 ++ doc/snippets/Array_initializer_list_vector_cxx11.cpp | 2 ++ doc/snippets/Array_variadic_ctor_cxx11.cpp | 2 ++ doc/snippets/BiCGSTAB_simple.cpp | 2 ++ doc/snippets/BiCGSTAB_step_by_step.cpp | 2 ++ doc/snippets/CMakeLists.txt | 2 ++ doc/snippets/ColPivHouseholderQR_solve.cpp | 2 ++ doc/snippets/ComplexEigenSolver_compute.cpp | 2 ++ doc/snippets/ComplexEigenSolver_eigenvalues.cpp | 2 ++ doc/snippets/ComplexEigenSolver_eigenvectors.cpp | 2 ++ doc/snippets/ComplexSchur_compute.cpp | 2 ++ doc/snippets/ComplexSchur_matrixT.cpp | 2 ++ doc/snippets/ComplexSchur_matrixU.cpp | 2 ++ doc/snippets/Cwise_abs.cpp | 2 ++ doc/snippets/Cwise_abs2.cpp | 2 ++ doc/snippets/Cwise_acos.cpp | 2 ++ doc/snippets/Cwise_arg.cpp | 2 ++ doc/snippets/Cwise_array_atan2_array.cpp | 2 ++ doc/snippets/Cwise_array_power_array.cpp | 2 ++ doc/snippets/Cwise_asin.cpp | 2 ++ doc/snippets/Cwise_atan.cpp | 2 ++ doc/snippets/Cwise_boolean_and.cpp | 2 ++ doc/snippets/Cwise_boolean_not.cpp | 2 ++ doc/snippets/Cwise_boolean_or.cpp | 2 ++ doc/snippets/Cwise_cbrt.cpp | 2 ++ doc/snippets/Cwise_ceil.cpp | 2 ++ doc/snippets/Cwise_cos.cpp | 2 ++ doc/snippets/Cwise_cosh.cpp | 2 ++ doc/snippets/Cwise_cube.cpp | 2 ++ doc/snippets/Cwise_equal_equal.cpp | 2 ++ doc/snippets/Cwise_exp.cpp | 2 ++ doc/snippets/Cwise_floor.cpp | 2 ++ doc/snippets/Cwise_greater.cpp | 2 ++ doc/snippets/Cwise_greater_equal.cpp | 2 ++ doc/snippets/Cwise_inverse.cpp | 2 ++ doc/snippets/Cwise_isFinite.cpp | 2 ++ doc/snippets/Cwise_isInf.cpp | 2 ++ doc/snippets/Cwise_isNaN.cpp | 2 ++ doc/snippets/Cwise_less.cpp | 2 ++ doc/snippets/Cwise_less_equal.cpp | 2 ++ doc/snippets/Cwise_log.cpp | 2 ++ doc/snippets/Cwise_log10.cpp | 2 ++ doc/snippets/Cwise_max.cpp | 2 ++ doc/snippets/Cwise_min.cpp | 2 ++ doc/snippets/Cwise_minus.cpp | 2 ++ doc/snippets/Cwise_minus_equal.cpp | 2 ++ doc/snippets/Cwise_not_equal.cpp | 2 ++ doc/snippets/Cwise_plus.cpp | 2 ++ doc/snippets/Cwise_plus_equal.cpp | 2 ++ doc/snippets/Cwise_pow.cpp | 2 ++ doc/snippets/Cwise_product.cpp | 2 ++ doc/snippets/Cwise_quotient.cpp | 2 ++ doc/snippets/Cwise_rint.cpp | 2 ++ doc/snippets/Cwise_round.cpp | 2 ++ doc/snippets/Cwise_scalar_power_array.cpp | 2 ++ doc/snippets/Cwise_sign.cpp | 2 ++ doc/snippets/Cwise_sin.cpp | 2 ++ doc/snippets/Cwise_sinh.cpp | 2 ++ doc/snippets/Cwise_slash_equal.cpp | 2 ++ doc/snippets/Cwise_sqrt.cpp | 2 ++ doc/snippets/Cwise_square.cpp | 2 ++ doc/snippets/Cwise_tan.cpp | 2 ++ doc/snippets/Cwise_tanh.cpp | 2 ++ doc/snippets/Cwise_times_equal.cpp | 2 ++ doc/snippets/Cwise_trunc.cpp | 2 ++ doc/snippets/DenseBase_LinSpaced.cpp | 2 ++ doc/snippets/DenseBase_LinSpacedInt.cpp | 2 ++ doc/snippets/DenseBase_LinSpaced_seq_deprecated.cpp | 2 ++ doc/snippets/DenseBase_setLinSpaced.cpp | 2 ++ doc/snippets/DirectionWise_hnormalized.cpp | 2 ++ doc/snippets/DirectionWise_replicate.cpp | 2 ++ doc/snippets/DirectionWise_replicate_int.cpp | 2 ++ doc/snippets/EigenSolver_EigenSolver_MatrixType.cpp | 2 ++ doc/snippets/EigenSolver_compute.cpp | 2 ++ doc/snippets/EigenSolver_eigenvalues.cpp | 2 ++ doc/snippets/EigenSolver_eigenvectors.cpp | 2 ++ doc/snippets/EigenSolver_pseudoEigenvectors.cpp | 2 ++ doc/snippets/FullPivHouseholderQR_solve.cpp | 2 ++ doc/snippets/FullPivLU_image.cpp | 2 ++ doc/snippets/FullPivLU_kernel.cpp | 2 ++ doc/snippets/FullPivLU_solve.cpp | 2 ++ doc/snippets/GeneralizedEigenSolver.cpp | 2 ++ doc/snippets/HessenbergDecomposition_compute.cpp | 2 ++ doc/snippets/HessenbergDecomposition_matrixH.cpp | 2 ++ doc/snippets/HessenbergDecomposition_packedMatrix.cpp | 2 ++ doc/snippets/HouseholderQR_householderQ.cpp | 2 ++ doc/snippets/HouseholderQR_solve.cpp | 2 ++ doc/snippets/HouseholderSequence_HouseholderSequence.cpp | 2 ++ doc/snippets/IOFormat.cpp | 2 ++ doc/snippets/JacobiSVD_basic.cpp | 2 ++ doc/snippets/Jacobi_makeGivens.cpp | 2 ++ doc/snippets/Jacobi_makeJacobi.cpp | 2 ++ doc/snippets/LLT_example.cpp | 2 ++ doc/snippets/LLT_solve.cpp | 2 ++ doc/snippets/LeastSquaresNormalEquations.cpp | 2 ++ doc/snippets/LeastSquaresQR.cpp | 2 ++ doc/snippets/Map_general_stride.cpp | 2 ++ doc/snippets/Map_inner_stride.cpp | 2 ++ doc/snippets/Map_outer_stride.cpp | 2 ++ doc/snippets/Map_placement_new.cpp | 2 ++ doc/snippets/Map_simple.cpp | 2 ++ doc/snippets/MatrixBase_adjoint.cpp | 2 ++ doc/snippets/MatrixBase_all.cpp | 2 ++ doc/snippets/MatrixBase_applyOnTheLeft.cpp | 2 ++ doc/snippets/MatrixBase_applyOnTheRight.cpp | 2 ++ doc/snippets/MatrixBase_array.cpp | 2 ++ doc/snippets/MatrixBase_array_const.cpp | 2 ++ doc/snippets/MatrixBase_asDiagonal.cpp | 2 ++ doc/snippets/MatrixBase_block_int_int.cpp | 2 ++ doc/snippets/MatrixBase_block_int_int_int_int.cpp | 2 ++ doc/snippets/MatrixBase_bottomLeftCorner_int_int.cpp | 2 ++ doc/snippets/MatrixBase_bottomRightCorner_int_int.cpp | 2 ++ doc/snippets/MatrixBase_bottomRows_int.cpp | 2 ++ doc/snippets/MatrixBase_cast.cpp | 2 ++ doc/snippets/MatrixBase_col.cpp | 2 ++ doc/snippets/MatrixBase_colwise.cpp | 2 ++ doc/snippets/MatrixBase_colwise_iterator_cxx11.cpp | 2 ++ doc/snippets/MatrixBase_computeInverseAndDetWithCheck.cpp | 2 ++ doc/snippets/MatrixBase_computeInverseWithCheck.cpp | 2 ++ doc/snippets/MatrixBase_cwiseAbs.cpp | 2 ++ doc/snippets/MatrixBase_cwiseAbs2.cpp | 2 ++ doc/snippets/MatrixBase_cwiseArg.cpp | 2 ++ doc/snippets/MatrixBase_cwiseEqual.cpp | 2 ++ doc/snippets/MatrixBase_cwiseInverse.cpp | 2 ++ doc/snippets/MatrixBase_cwiseMax.cpp | 2 ++ doc/snippets/MatrixBase_cwiseMin.cpp | 2 ++ doc/snippets/MatrixBase_cwiseNotEqual.cpp | 2 ++ doc/snippets/MatrixBase_cwiseProduct.cpp | 2 ++ doc/snippets/MatrixBase_cwiseQuotient.cpp | 2 ++ doc/snippets/MatrixBase_cwiseSign.cpp | 2 ++ doc/snippets/MatrixBase_cwiseSqrt.cpp | 2 ++ doc/snippets/MatrixBase_diagonal.cpp | 2 ++ doc/snippets/MatrixBase_diagonal_int.cpp | 2 ++ doc/snippets/MatrixBase_diagonal_template_int.cpp | 2 ++ doc/snippets/MatrixBase_eigenvalues.cpp | 2 ++ doc/snippets/MatrixBase_end_int.cpp | 2 ++ doc/snippets/MatrixBase_eval.cpp | 2 ++ doc/snippets/MatrixBase_fixedBlock_int_int.cpp | 2 ++ doc/snippets/MatrixBase_hnormalized.cpp | 2 ++ doc/snippets/MatrixBase_homogeneous.cpp | 2 ++ doc/snippets/MatrixBase_identity.cpp | 2 ++ doc/snippets/MatrixBase_identity_int_int.cpp | 2 ++ doc/snippets/MatrixBase_inverse.cpp | 2 ++ doc/snippets/MatrixBase_isDiagonal.cpp | 2 ++ doc/snippets/MatrixBase_isIdentity.cpp | 2 ++ doc/snippets/MatrixBase_isOnes.cpp | 2 ++ doc/snippets/MatrixBase_isOrthogonal.cpp | 2 ++ doc/snippets/MatrixBase_isUnitary.cpp | 2 ++ doc/snippets/MatrixBase_isZero.cpp | 2 ++ doc/snippets/MatrixBase_leftCols_int.cpp | 2 ++ doc/snippets/MatrixBase_noalias.cpp | 2 ++ doc/snippets/MatrixBase_ones.cpp | 2 ++ doc/snippets/MatrixBase_ones_int.cpp | 2 ++ doc/snippets/MatrixBase_ones_int_int.cpp | 2 ++ doc/snippets/MatrixBase_operatorNorm.cpp | 2 ++ doc/snippets/MatrixBase_prod.cpp | 2 ++ doc/snippets/MatrixBase_random.cpp | 2 ++ doc/snippets/MatrixBase_random_int.cpp | 2 ++ doc/snippets/MatrixBase_random_int_int.cpp | 2 ++ doc/snippets/MatrixBase_replicate.cpp | 2 ++ doc/snippets/MatrixBase_replicate_int_int.cpp | 2 ++ doc/snippets/MatrixBase_reshaped_auto.cpp | 2 ++ doc/snippets/MatrixBase_reshaped_fixed.cpp | 2 ++ doc/snippets/MatrixBase_reshaped_int_int.cpp | 2 ++ doc/snippets/MatrixBase_reshaped_to_vector.cpp | 2 ++ doc/snippets/MatrixBase_reverse.cpp | 2 ++ doc/snippets/MatrixBase_rightCols_int.cpp | 2 ++ doc/snippets/MatrixBase_row.cpp | 2 ++ doc/snippets/MatrixBase_rowwise.cpp | 2 ++ doc/snippets/MatrixBase_segment_int_int.cpp | 2 ++ doc/snippets/MatrixBase_select.cpp | 2 ++ doc/snippets/MatrixBase_selfadjointView.cpp | 2 ++ doc/snippets/MatrixBase_set.cpp | 2 ++ doc/snippets/MatrixBase_setIdentity.cpp | 2 ++ doc/snippets/MatrixBase_setOnes.cpp | 2 ++ doc/snippets/MatrixBase_setRandom.cpp | 2 ++ doc/snippets/MatrixBase_setZero.cpp | 2 ++ doc/snippets/MatrixBase_start_int.cpp | 2 ++ doc/snippets/MatrixBase_template_int_bottomRows.cpp | 2 ++ doc/snippets/MatrixBase_template_int_end.cpp | 2 ++ .../MatrixBase_template_int_int_block_int_int_int_int.cpp | 2 ++ doc/snippets/MatrixBase_template_int_int_bottomLeftCorner.cpp | 2 ++ .../MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp | 2 ++ .../MatrixBase_template_int_int_bottomRightCorner.cpp | 2 ++ .../MatrixBase_template_int_int_bottomRightCorner_int_int.cpp | 2 ++ doc/snippets/MatrixBase_template_int_int_topLeftCorner.cpp | 2 ++ .../MatrixBase_template_int_int_topLeftCorner_int_int.cpp | 2 ++ doc/snippets/MatrixBase_template_int_int_topRightCorner.cpp | 2 ++ .../MatrixBase_template_int_int_topRightCorner_int_int.cpp | 2 ++ doc/snippets/MatrixBase_template_int_leftCols.cpp | 2 ++ doc/snippets/MatrixBase_template_int_rightCols.cpp | 2 ++ doc/snippets/MatrixBase_template_int_segment.cpp | 2 ++ doc/snippets/MatrixBase_template_int_start.cpp | 2 ++ doc/snippets/MatrixBase_template_int_topRows.cpp | 2 ++ doc/snippets/MatrixBase_topLeftCorner_int_int.cpp | 2 ++ doc/snippets/MatrixBase_topRightCorner_int_int.cpp | 2 ++ doc/snippets/MatrixBase_topRows_int.cpp | 2 ++ doc/snippets/MatrixBase_transpose.cpp | 2 ++ doc/snippets/MatrixBase_triangularView.cpp | 2 ++ doc/snippets/MatrixBase_zero.cpp | 2 ++ doc/snippets/MatrixBase_zero_int.cpp | 2 ++ doc/snippets/MatrixBase_zero_int_int.cpp | 2 ++ doc/snippets/Matrix_Map_stride.cpp | 2 ++ doc/snippets/Matrix_initializer_list_23_cxx11.cpp | 2 ++ doc/snippets/Matrix_initializer_list_vector_cxx11.cpp | 2 ++ doc/snippets/Matrix_resize_NoChange_int.cpp | 2 ++ doc/snippets/Matrix_resize_int.cpp | 2 ++ doc/snippets/Matrix_resize_int_NoChange.cpp | 2 ++ doc/snippets/Matrix_resize_int_int.cpp | 2 ++ doc/snippets/Matrix_setConstant_int.cpp | 2 ++ doc/snippets/Matrix_setConstant_int_int.cpp | 2 ++ doc/snippets/Matrix_setIdentity_int_int.cpp | 2 ++ doc/snippets/Matrix_setOnes_int.cpp | 2 ++ doc/snippets/Matrix_setOnes_int_int.cpp | 2 ++ doc/snippets/Matrix_setRandom_int.cpp | 2 ++ doc/snippets/Matrix_setRandom_int_int.cpp | 2 ++ doc/snippets/Matrix_setZero_int.cpp | 2 ++ doc/snippets/Matrix_setZero_int_int.cpp | 2 ++ doc/snippets/Matrix_variadic_ctor_cxx11.cpp | 2 ++ doc/snippets/PartialPivLU_solve.cpp | 2 ++ doc/snippets/PartialRedux_count.cpp | 2 ++ doc/snippets/PartialRedux_maxCoeff.cpp | 2 ++ doc/snippets/PartialRedux_minCoeff.cpp | 2 ++ doc/snippets/PartialRedux_norm.cpp | 2 ++ doc/snippets/PartialRedux_prod.cpp | 2 ++ doc/snippets/PartialRedux_squaredNorm.cpp | 2 ++ doc/snippets/PartialRedux_sum.cpp | 2 ++ doc/snippets/RealQZ_compute.cpp | 2 ++ doc/snippets/RealSchur_RealSchur_MatrixType.cpp | 2 ++ doc/snippets/RealSchur_compute.cpp | 2 ++ .../SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp | 2 ++ ...lfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp | 2 ++ ...fAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | 2 ++ doc/snippets/SelfAdjointEigenSolver_compute_MatrixType.cpp | 2 ++ doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp | 2 ++ doc/snippets/SelfAdjointEigenSolver_eigenvalues.cpp | 2 ++ doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp | 2 ++ doc/snippets/SelfAdjointEigenSolver_operatorInverseSqrt.cpp | 2 ++ doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp | 2 ++ doc/snippets/SelfAdjointView_eigenvalues.cpp | 2 ++ doc/snippets/SelfAdjointView_operatorNorm.cpp | 2 ++ doc/snippets/Slicing_arrayexpr.cpp | 2 ++ doc/snippets/Slicing_custom_padding_cxx11.cpp | 2 ++ doc/snippets/Slicing_rawarray_cxx11.cpp | 2 ++ doc/snippets/Slicing_stdvector_cxx11.cpp | 2 ++ doc/snippets/SparseMatrix_coeffs.cpp | 2 ++ doc/snippets/TopicAliasing_block.cpp | 2 ++ doc/snippets/TopicAliasing_block_correct.cpp | 2 ++ doc/snippets/TopicAliasing_cwise.cpp | 2 ++ doc/snippets/TopicAliasing_mult1.cpp | 2 ++ doc/snippets/TopicAliasing_mult2.cpp | 2 ++ doc/snippets/TopicAliasing_mult3.cpp | 2 ++ doc/snippets/TopicAliasing_mult4.cpp | 2 ++ doc/snippets/TopicAliasing_mult5.cpp | 2 ++ doc/snippets/TopicStorageOrders_example.cpp | 2 ++ doc/snippets/Triangular_solve.cpp | 2 ++ .../Tridiagonalization_Tridiagonalization_MatrixType.cpp | 2 ++ doc/snippets/Tridiagonalization_compute.cpp | 2 ++ doc/snippets/Tridiagonalization_decomposeInPlace.cpp | 2 ++ doc/snippets/Tridiagonalization_diagonal.cpp | 2 ++ doc/snippets/Tridiagonalization_householderCoefficients.cpp | 2 ++ doc/snippets/Tridiagonalization_packedMatrix.cpp | 2 ++ doc/snippets/Tutorial_AdvancedInitialization_Block.cpp | 2 ++ .../Tutorial_AdvancedInitialization_CommaTemporary.cpp | 2 ++ doc/snippets/Tutorial_AdvancedInitialization_Join.cpp | 2 ++ doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp | 2 ++ doc/snippets/Tutorial_AdvancedInitialization_ThreeWays.cpp | 2 ++ doc/snippets/Tutorial_AdvancedInitialization_Zero.cpp | 2 ++ doc/snippets/Tutorial_Map_rowmajor.cpp | 2 ++ doc/snippets/Tutorial_Map_using.cpp | 2 ++ doc/snippets/Tutorial_ReshapeMat2Mat.cpp | 2 ++ doc/snippets/Tutorial_ReshapeMat2Vec.cpp | 2 ++ doc/snippets/Tutorial_SlicingCol.cpp | 2 ++ doc/snippets/Tutorial_SlicingVec.cpp | 2 ++ doc/snippets/Tutorial_commainit_01.cpp | 2 ++ doc/snippets/Tutorial_commainit_01b.cpp | 2 ++ doc/snippets/Tutorial_commainit_02.cpp | 2 ++ doc/snippets/Tutorial_range_for_loop_1d_cxx11.cpp | 2 ++ doc/snippets/Tutorial_range_for_loop_2d_cxx11.cpp | 2 ++ doc/snippets/Tutorial_reshaped_vs_resize_1.cpp | 2 ++ doc/snippets/Tutorial_reshaped_vs_resize_2.cpp | 2 ++ doc/snippets/Tutorial_solve_matrix_inverse.cpp | 2 ++ doc/snippets/Tutorial_solve_multiple_rhs.cpp | 2 ++ doc/snippets/Tutorial_solve_reuse_decomposition.cpp | 2 ++ doc/snippets/Tutorial_solve_singular.cpp | 2 ++ doc/snippets/Tutorial_solve_triangular.cpp | 2 ++ doc/snippets/Tutorial_solve_triangular_inplace.cpp | 2 ++ doc/snippets/Tutorial_std_sort.cpp | 2 ++ doc/snippets/Tutorial_std_sort_rows_cxx11.cpp | 2 ++ doc/snippets/VectorwiseOp_homogeneous.cpp | 2 ++ doc/snippets/Vectorwise_reverse.cpp | 2 ++ doc/snippets/class_FullPivLU.cpp | 2 ++ doc/snippets/tut_arithmetic_redux_minmax.cpp | 2 ++ doc/snippets/tut_arithmetic_transpose_aliasing.cpp | 2 ++ doc/snippets/tut_arithmetic_transpose_conjugate.cpp | 2 ++ doc/snippets/tut_arithmetic_transpose_inplace.cpp | 2 ++ doc/snippets/tut_matrix_assignment_resizing.cpp | 2 ++ doc/special_examples/CMakeLists.txt | 2 ++ doc/special_examples/Tutorial_sparse_example.cpp | 2 ++ doc/special_examples/Tutorial_sparse_example_details.cpp | 2 ++ doc/special_examples/random_cpp11.cpp | 2 ++ doc/tutorial.cpp | 2 ++ failtest/CMakeLists.txt | 1 + failtest/bdcsvd_int.cpp | 2 ++ failtest/block_nonconst_ctor_on_const_xpr_0.cpp | 2 ++ failtest/block_nonconst_ctor_on_const_xpr_1.cpp | 2 ++ failtest/block_nonconst_ctor_on_const_xpr_2.cpp | 2 ++ failtest/block_on_const_type_actually_const_0.cpp | 2 ++ failtest/block_on_const_type_actually_const_1.cpp | 2 ++ failtest/colpivqr_int.cpp | 2 ++ failtest/const_qualified_block_method_retval_0.cpp | 2 ++ failtest/const_qualified_block_method_retval_1.cpp | 2 ++ failtest/const_qualified_diagonal_method_retval.cpp | 2 ++ failtest/const_qualified_transpose_method_retval.cpp | 2 ++ failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp | 2 ++ failtest/cwiseunaryview_on_const_type_actually_const.cpp | 2 ++ failtest/diagonal_nonconst_ctor_on_const_xpr.cpp | 2 ++ failtest/diagonal_on_const_type_actually_const.cpp | 2 ++ failtest/eigensolver_cplx.cpp | 2 ++ failtest/eigensolver_int.cpp | 2 ++ failtest/failtest_sanity_check.cpp | 2 ++ failtest/fullpivlu_int.cpp | 2 ++ failtest/fullpivqr_int.cpp | 2 ++ failtest/initializer_list_1.cpp | 2 ++ failtest/initializer_list_2.cpp | 2 ++ failtest/jacobisvd_int.cpp | 2 ++ failtest/ldlt_int.cpp | 2 ++ failtest/llt_int.cpp | 2 ++ failtest/map_nonconst_ctor_on_const_ptr_0.cpp | 2 ++ failtest/map_nonconst_ctor_on_const_ptr_1.cpp | 2 ++ failtest/map_nonconst_ctor_on_const_ptr_2.cpp | 2 ++ failtest/map_nonconst_ctor_on_const_ptr_3.cpp | 2 ++ failtest/map_nonconst_ctor_on_const_ptr_4.cpp | 2 ++ failtest/map_on_const_type_actually_const_0.cpp | 2 ++ failtest/map_on_const_type_actually_const_1.cpp | 2 ++ failtest/partialpivlu_int.cpp | 2 ++ failtest/qr_int.cpp | 2 ++ failtest/ref_1.cpp | 2 ++ failtest/ref_2.cpp | 2 ++ failtest/ref_3.cpp | 2 ++ failtest/ref_4.cpp | 2 ++ failtest/ref_5.cpp | 2 ++ failtest/ref_6.cpp | 2 ++ failtest/ref_7.cpp | 2 ++ failtest/selfadjointview_nonconst_ctor_on_const_xpr.cpp | 2 ++ failtest/selfadjointview_on_const_type_actually_const.cpp | 2 ++ failtest/sparse_ref_1.cpp | 2 ++ failtest/sparse_ref_2.cpp | 2 ++ failtest/sparse_ref_3.cpp | 2 ++ failtest/sparse_ref_4.cpp | 2 ++ failtest/sparse_ref_5.cpp | 2 ++ failtest/sparse_storage_mismatch.cpp | 2 ++ failtest/swap_1.cpp | 2 ++ failtest/swap_2.cpp | 2 ++ failtest/ternary_1.cpp | 2 ++ failtest/ternary_2.cpp | 2 ++ failtest/transpose_nonconst_ctor_on_const_xpr.cpp | 2 ++ failtest/transpose_on_const_type_actually_const.cpp | 2 ++ failtest/triangularview_nonconst_ctor_on_const_xpr.cpp | 2 ++ failtest/triangularview_on_const_type_actually_const.cpp | 2 ++ lapack/CMakeLists.txt | 2 ++ lapack/cholesky.inc | 1 + lapack/complex_double.cpp | 1 + lapack/complex_single.cpp | 1 + lapack/double.cpp | 1 + lapack/dsecnd_INT_CPU_TIME.cpp | 1 + lapack/eigenvalues.inc | 1 + lapack/lapack.h | 2 ++ lapack/lapack_common.h | 1 + lapack/lu.inc | 1 + lapack/second_INT_CPU_TIME.cpp | 1 + lapack/single.cpp | 1 + lapack/svd.inc | 1 + scripts/CMakeLists.txt | 1 + scripts/buildtests.in | 1 + scripts/cdashtesting.cmake.in | 1 + scripts/check.in | 1 + scripts/ci_cmake_msvc.ps1 | 1 + scripts/ci_cmake_msvc_cuda.ps1 | 1 + scripts/debug.in | 1 + scripts/eigen_gen_credits.cpp | 2 ++ scripts/eigen_gen_docs | 1 + scripts/eigen_gen_split_test_help.cmake | 1 + scripts/eigen_monitor_perf.sh | 1 + scripts/format.sh | 1 + scripts/release.in | 1 + test/AnnoyingScalar.h | 1 + test/CMakeLists.txt | 1 + test/MovableScalar.h | 1 + test/OffByOneScalar.h | 1 + test/SafeScalar.h | 1 + test/accelerate_support.cpp | 2 ++ test/adjoint.cpp | 1 + test/array_cwise.cpp | 1 + test/array_for_matrix.cpp | 1 + test/array_of_string.cpp | 1 + test/array_replicate.cpp | 1 + test/array_reverse.cpp | 1 + test/assignment_threaded.cpp | 1 + test/bandmatrix.cpp | 1 + test/basicstuff.cpp | 1 + test/bdcsvd.cpp | 1 + test/bfloat16_float.cpp | 1 + test/bicgstab.cpp | 1 + test/blasutil.cpp | 1 + test/block.cpp | 1 + test/boostmultiprec.cpp | 1 + test/bug1213.cpp | 2 +- test/bug1213.h | 1 + test/bug1213_main.cpp | 2 +- test/cholesky.cpp | 1 + test/cholmod_support.cpp | 1 + test/clz.cpp | 1 + test/commainitializer.cpp | 1 + test/conjugate_gradient.cpp | 1 + test/conservative_resize.cpp | 1 + test/constexpr.cpp | 1 + test/constructor.cpp | 1 + test/corners.cpp | 1 + test/ctorleak.cpp | 2 ++ test/denseLM.cpp | 1 + test/dense_storage.cpp | 1 + test/determinant.cpp | 1 + test/diagonal.cpp | 1 + test/diagonal_matrix_variadic_ctor.cpp | 1 + test/diagonalmatrices.cpp | 1 + test/dontalign.cpp | 1 + test/dynalloc.cpp | 1 + test/eigen2support.cpp | 1 + test/eigensolver_complex.cpp | 1 + test/eigensolver_generalized_real.cpp | 1 + test/eigensolver_generic.cpp | 1 + test/eigensolver_selfadjoint.cpp | 1 + test/evaluator_common.h | 1 + test/evaluators.cpp | 1 + test/exceptions.cpp | 1 + test/fastmath.cpp | 1 + test/first_aligned.cpp | 1 + test/float_conversion.cpp | 1 + test/geo_alignedbox.cpp | 1 + test/geo_eulerangles.cpp | 1 + test/geo_homogeneous.cpp | 1 + test/geo_hyperplane.cpp | 1 + test/geo_orthomethods.cpp | 1 + test/geo_parametrizedline.cpp | 1 + test/geo_quaternion.cpp | 1 + test/geo_transformations.cpp | 1 + test/gpu_basic.cu | 1 + test/gpu_common.h | 2 ++ test/gpu_example.cu | 1 + test/gpu_test_helper.h | 2 ++ test/half_float.cpp | 1 + test/hessenberg.cpp | 1 + test/householder.cpp | 1 + test/incomplete_cholesky.cpp | 1 + test/indexed_view.cpp | 1 + test/initializer_list_construction.cpp | 1 + test/inplace_decomposition.cpp | 1 + test/integer_types.cpp | 1 + test/inverse.cpp | 1 + test/io.cpp | 1 + test/is_same_dense.cpp | 1 + test/jacobi.cpp | 1 + test/jacobisvd.cpp | 1 + test/klu_support.cpp | 1 + test/linearstructure.cpp | 1 + test/lscg.cpp | 1 + test/lu.cpp | 1 + test/main.h | 1 + test/mapped_matrix.cpp | 1 + test/mapstaticmethods.cpp | 1 + test/mapstride.cpp | 1 + test/matrix_cwise.cpp | 1 + test/maxsizevector.cpp | 2 ++ test/meta.cpp | 1 + test/metis_support.cpp | 1 + test/miscmatrices.cpp | 1 + test/mixingtypes.cpp | 1 + test/nestbyvalue.cpp | 1 + test/nesting_ops.cpp | 1 + test/nomalloc.cpp | 1 + test/nullary.cpp | 1 + test/num_dimensions.cpp | 1 + test/numext.cpp | 1 + test/packet_ostream.h | 2 ++ test/packetmath.cpp | 1 + test/packetmath_test_shared.h | 1 + test/pastix_support.cpp | 1 + test/permutationmatrices.cpp | 1 + test/prec_inverse_4x4.cpp | 1 + test/product.h | 1 + test/product_extra.cpp | 1 + test/product_large.cpp | 1 + test/product_mmtr.cpp | 1 + test/product_notemporary.cpp | 1 + test/product_selfadjoint.cpp | 1 + test/product_small.cpp | 1 + test/product_symm.cpp | 1 + test/product_syrk.cpp | 1 + test/product_threaded.cpp | 1 + test/product_trmm.cpp | 1 + test/product_trmv.cpp | 1 + test/product_trsolve.cpp | 1 + test/qr.cpp | 1 + test/qr_colpivoting.cpp | 1 + test/qr_fullpivoting.cpp | 1 + test/qtvector.cpp | 1 + test/rand.cpp | 1 + test/random_matrix.cpp | 1 + test/random_matrix_helper.h | 1 + test/random_without_cast_overflow.h | 1 + test/real_qz.cpp | 1 + test/redux.cpp | 1 + test/ref.cpp | 1 + test/reshape.cpp | 1 + test/resize.cpp | 1 + test/rvalue_types.cpp | 1 + test/schur_complex.cpp | 1 + test/schur_real.cpp | 1 + test/selfadjoint.cpp | 1 + test/serializer.cpp | 1 + test/simplicial_cholesky.cpp | 1 + test/sizeof.cpp | 1 + test/sizeoverflow.cpp | 1 + test/skew_symmetric_matrix3.cpp | 1 + test/smallvectors.cpp | 1 + test/solverbase.h | 2 ++ test/sparse.h | 1 + test/sparseLM.cpp | 2 ++ test/sparse_basic.cpp | 1 + test/sparse_block.cpp | 1 + test/sparse_permutations.cpp | 1 + test/sparse_product.cpp | 1 + test/sparse_ref.cpp | 1 + test/sparse_solver.h | 1 + test/sparse_solvers.cpp | 1 + test/sparse_vector.cpp | 1 + test/sparselu.cpp | 1 + test/sparseqr.cpp | 2 ++ test/special_numbers.cpp | 1 + test/split_test_helper.h | 2 ++ test/spqr_support.cpp | 1 + test/stable_norm.cpp | 1 + test/stddeque.cpp | 1 + test/stddeque_overload.cpp | 1 + test/stdlist.cpp | 1 + test/stdlist_overload.cpp | 1 + test/stdvector.cpp | 1 + test/stdvector_overload.cpp | 1 + test/stl_iterators.cpp | 1 + test/superlu_support.cpp | 1 + test/svd_common.h | 1 + test/svd_fill.h | 1 + test/swap.cpp | 1 + test/sycl_basic.cpp | 1 + test/symbolic_index.cpp | 1 + test/threads_eventcount.cpp | 1 + test/threads_non_blocking_thread_pool.cpp | 1 + test/threads_runqueue.cpp | 1 + test/triangular.cpp | 1 + test/tuple_test.cpp | 1 + test/type_alias.cpp | 1 + test/umeyama.cpp | 1 + test/umfpack_support.cpp | 1 + test/unalignedcount.cpp | 1 + test/unaryview.cpp | 1 + test/upperbidiagonalization.cpp | 1 + test/vectorization_logic.cpp | 1 + test/vectorwiseop.cpp | 1 + test/visitor.cpp | 1 + test/zerosized.cpp | 1 + unsupported/CMakeLists.txt | 2 ++ unsupported/Eigen/AdolcForward | 1 + unsupported/Eigen/AlignedVector3 | 1 + unsupported/Eigen/ArpackSupport | 1 + unsupported/Eigen/AutoDiff | 1 + unsupported/Eigen/BVH | 1 + unsupported/Eigen/CMakeLists.txt | 2 ++ unsupported/Eigen/CXX11/CMakeLists.txt | 1 + unsupported/Eigen/CXX11/Tensor | 1 + unsupported/Eigen/CXX11/TensorSymmetry | 1 + unsupported/Eigen/CXX11/ThreadPool | 2 ++ unsupported/Eigen/CXX11/src/Tensor/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/CXX11/src/Tensor/Tensor.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorBase.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h | 1 + .../Eigen/CXX11/src/Tensor/TensorContractionBlocking.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h | 1 + .../Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h | 1 + .../Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h | 1 + .../Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorIO.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorMap.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorRef.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorRoll.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorScan.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h | 1 + unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h | 1 + unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h | 1 + .../Eigen/CXX11/src/TensorSymmetry/InternalHeaderCheck.h | 1 + unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h | 1 + unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h | 1 + .../Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h | 1 + unsupported/Eigen/CXX11/src/util/CXX11Meta.h | 1 + unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h | 1 + unsupported/Eigen/EulerAngles | 1 + unsupported/Eigen/FFT | 1 + unsupported/Eigen/IterativeSolvers | 1 + unsupported/Eigen/KroneckerProduct | 1 + unsupported/Eigen/LevenbergMarquardt | 1 + unsupported/Eigen/MPRealSupport | 1 + unsupported/Eigen/MatrixFunctions | 1 + unsupported/Eigen/NNLS | 2 ++ unsupported/Eigen/NonLinearOptimization | 1 + unsupported/Eigen/NumericalDiff | 1 + unsupported/Eigen/OpenGLSupport | 1 + unsupported/Eigen/Polynomials | 1 + unsupported/Eigen/SparseExtra | 1 + unsupported/Eigen/SpecialFunctions | 1 + unsupported/Eigen/Splines | 1 + unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h | 1 + unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h | 1 + unsupported/Eigen/src/AutoDiff/AutoDiffVector.h | 1 + unsupported/Eigen/src/AutoDiff/CoherentPadOp.h | 1 + unsupported/Eigen/src/AutoDiff/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/BVH/BVAlgorithms.h | 1 + unsupported/Eigen/src/BVH/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/BVH/KdBVH.h | 1 + .../Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h | 1 + unsupported/Eigen/src/Eigenvalues/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/EulerAngles/CMakeLists.txt | 2 ++ unsupported/Eigen/src/EulerAngles/EulerAngles.h | 1 + unsupported/Eigen/src/EulerAngles/EulerSystem.h | 1 + unsupported/Eigen/src/EulerAngles/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/FFT/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/FFT/ei_fftw_impl.h | 1 + unsupported/Eigen/src/FFT/ei_imklfft_impl.h | 1 + unsupported/Eigen/src/FFT/ei_kissfft_impl.h | 1 + unsupported/Eigen/src/FFT/ei_pocketfft_impl.h | 1 + unsupported/Eigen/src/IterativeSolvers/BiCGSTABL.h | 1 + unsupported/Eigen/src/IterativeSolvers/DGMRES.h | 1 + unsupported/Eigen/src/IterativeSolvers/GMRES.h | 1 + unsupported/Eigen/src/IterativeSolvers/IDRS.h | 1 + unsupported/Eigen/src/IterativeSolvers/IDRSTABL.h | 1 + unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h | 1 + unsupported/Eigen/src/IterativeSolvers/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/IterativeSolvers/MINRES.h | 1 + unsupported/Eigen/src/IterativeSolvers/Scaling.h | 1 + unsupported/Eigen/src/KroneckerProduct/InternalHeaderCheck.h | 2 ++ .../Eigen/src/KroneckerProduct/KroneckerTensorProduct.h | 1 + unsupported/Eigen/src/MatrixFunctions/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h | 1 + unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h | 1 + unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h | 1 + unsupported/Eigen/src/MatrixFunctions/MatrixPower.h | 1 + unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h | 1 + unsupported/Eigen/src/MatrixFunctions/StemFunction.h | 1 + .../Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h | 1 + .../Eigen/src/NonLinearOptimization/InternalHeaderCheck.h | 2 ++ .../Eigen/src/NonLinearOptimization/LevenbergMarquardt.h | 1 + unsupported/Eigen/src/NonLinearOptimization/chkder.h | 2 ++ unsupported/Eigen/src/NonLinearOptimization/covar.h | 1 + unsupported/Eigen/src/NonLinearOptimization/dogleg.h | 1 + unsupported/Eigen/src/NonLinearOptimization/fdjac1.h | 1 + unsupported/Eigen/src/NonLinearOptimization/lmpar.h | 1 + unsupported/Eigen/src/NonLinearOptimization/qrsolv.h | 1 + unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h | 1 + unsupported/Eigen/src/NonLinearOptimization/r1updt.h | 1 + unsupported/Eigen/src/NonLinearOptimization/rwupdt.h | 1 + unsupported/Eigen/src/NumericalDiff/InternalHeaderCheck.h | 1 + unsupported/Eigen/src/NumericalDiff/NumericalDiff.h | 1 + unsupported/Eigen/src/Polynomials/Companion.h | 1 + unsupported/Eigen/src/Polynomials/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/Polynomials/PolynomialSolver.h | 1 + unsupported/Eigen/src/Polynomials/PolynomialUtils.h | 1 + unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h | 1 + unsupported/Eigen/src/SparseExtra/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/SparseExtra/MarketIO.h | 1 + unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h | 1 + unsupported/Eigen/src/SparseExtra/RandomSetter.h | 1 + unsupported/Eigen/src/SparseExtra/SparseInverse.h | 1 + .../Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h | 1 + .../Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h | 1 + .../Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h | 1 + unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h | 1 + unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h | 1 + .../Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h | 1 + .../Eigen/src/SpecialFunctions/HipVectorCompatibility.h | 2 ++ unsupported/Eigen/src/SpecialFunctions/InternalHeaderCheck.h | 2 ++ .../Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h | 1 + .../Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h | 1 + .../Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h | 1 + unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h | 1 + unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h | 1 + .../Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h | 1 + .../Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h | 2 ++ .../Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h | 2 ++ .../Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h | 2 ++ .../Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h | 2 ++ .../Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h | 1 + .../Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h | 2 ++ .../Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h | 2 ++ unsupported/Eigen/src/Splines/InternalHeaderCheck.h | 2 ++ unsupported/Eigen/src/Splines/Spline.h | 1 + unsupported/Eigen/src/Splines/SplineFitting.h | 1 + unsupported/Eigen/src/Splines/SplineFwd.h | 1 + unsupported/bench/bench_svd.cpp | 1 + unsupported/doc/CMakeLists.txt | 2 ++ unsupported/doc/eigendoxy_layout.xml.in | 1 + unsupported/doc/examples/BVH_Example.cpp | 2 ++ unsupported/doc/examples/CMakeLists.txt | 2 ++ unsupported/doc/examples/EulerAngles.cpp | 2 ++ unsupported/doc/examples/FFT.cpp | 2 ++ unsupported/doc/examples/MatrixExponential.cpp | 2 ++ unsupported/doc/examples/MatrixFunction.cpp | 2 ++ unsupported/doc/examples/MatrixLogarithm.cpp | 2 ++ unsupported/doc/examples/MatrixPower.cpp | 2 ++ unsupported/doc/examples/MatrixPower_optimal.cpp | 2 ++ unsupported/doc/examples/MatrixSine.cpp | 2 ++ unsupported/doc/examples/MatrixSinh.cpp | 2 ++ unsupported/doc/examples/MatrixSquareRoot.cpp | 2 ++ unsupported/doc/examples/PolynomialSolver1.cpp | 2 ++ unsupported/doc/examples/PolynomialUtils1.cpp | 2 ++ unsupported/doc/examples/SYCL/CMakeLists.txt | 2 ++ unsupported/doc/examples/SYCL/CwiseMul.cpp | 2 ++ unsupported/doc/snippets/CMakeLists.txt | 2 ++ unsupported/test/BVH.cpp | 1 + unsupported/test/CMakeLists.txt | 1 + unsupported/test/EulerAngles.cpp | 1 + unsupported/test/FFT.cpp | 2 ++ unsupported/test/FFTW.cpp | 2 ++ unsupported/test/NNLS.cpp | 1 + unsupported/test/NonLinearOptimization.cpp | 1 + unsupported/test/NumericalDiff.cpp | 1 + unsupported/test/alignedvector3.cpp | 1 + unsupported/test/autodiff.cpp | 1 + unsupported/test/autodiff_scalar.cpp | 1 + unsupported/test/bessel_functions.cpp | 1 + unsupported/test/bicgstabl.cpp | 1 + unsupported/test/cxx11_tensor_argmax.cpp | 1 + unsupported/test/cxx11_tensor_argmax_gpu.cu | 1 + unsupported/test/cxx11_tensor_argmax_sycl.cpp | 1 + unsupported/test/cxx11_tensor_assign.cpp | 1 + unsupported/test/cxx11_tensor_block_access.cpp | 1 + unsupported/test/cxx11_tensor_block_eval.cpp | 1 + unsupported/test/cxx11_tensor_block_io.cpp | 1 + unsupported/test/cxx11_tensor_broadcast_sycl.cpp | 1 + unsupported/test/cxx11_tensor_broadcasting.cpp | 1 + unsupported/test/cxx11_tensor_builtins_sycl.cpp | 1 + unsupported/test/cxx11_tensor_cast_float16_gpu.cu | 1 + unsupported/test/cxx11_tensor_casts.cpp | 1 + unsupported/test/cxx11_tensor_chipping.cpp | 1 + unsupported/test/cxx11_tensor_chipping_sycl.cpp | 1 + unsupported/test/cxx11_tensor_comparisons.cpp | 1 + unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu | 1 + unsupported/test/cxx11_tensor_complex_gpu.cu | 1 + unsupported/test/cxx11_tensor_concatenation.cpp | 1 + unsupported/test/cxx11_tensor_concatenation_sycl.cpp | 1 + unsupported/test/cxx11_tensor_const.cpp | 1 + unsupported/test/cxx11_tensor_contract_gpu.cu | 1 + unsupported/test/cxx11_tensor_contract_sycl.cpp | 1 + unsupported/test/cxx11_tensor_contraction.cpp | 1 + unsupported/test/cxx11_tensor_convolution.cpp | 1 + unsupported/test/cxx11_tensor_convolution_sycl.cpp | 1 + unsupported/test/cxx11_tensor_custom_index.cpp | 1 + unsupported/test/cxx11_tensor_custom_op.cpp | 1 + unsupported/test/cxx11_tensor_custom_op_sycl.cpp | 1 + unsupported/test/cxx11_tensor_device.cu | 1 + unsupported/test/cxx11_tensor_device_sycl.cpp | 1 + unsupported/test/cxx11_tensor_dimension.cpp | 1 + unsupported/test/cxx11_tensor_empty.cpp | 1 + unsupported/test/cxx11_tensor_executor.cpp | 1 + unsupported/test/cxx11_tensor_expr.cpp | 1 + unsupported/test/cxx11_tensor_fft.cpp | 1 + unsupported/test/cxx11_tensor_fixed_size.cpp | 1 + unsupported/test/cxx11_tensor_forced_eval.cpp | 1 + unsupported/test/cxx11_tensor_forced_eval_sycl.cpp | 1 + unsupported/test/cxx11_tensor_generator.cpp | 1 + unsupported/test/cxx11_tensor_generator_sycl.cpp | 1 + unsupported/test/cxx11_tensor_gpu.cu | 1 + unsupported/test/cxx11_tensor_ifft.cpp | 1 + unsupported/test/cxx11_tensor_image_op_sycl.cpp | 1 + unsupported/test/cxx11_tensor_image_patch.cpp | 1 + unsupported/test/cxx11_tensor_image_patch_sycl.cpp | 1 + unsupported/test/cxx11_tensor_index_list.cpp | 1 + unsupported/test/cxx11_tensor_inflation.cpp | 1 + unsupported/test/cxx11_tensor_inflation_sycl.cpp | 1 + unsupported/test/cxx11_tensor_intdiv.cpp | 1 + unsupported/test/cxx11_tensor_io.cpp | 2 ++ unsupported/test/cxx11_tensor_layout_swap.cpp | 1 + unsupported/test/cxx11_tensor_layout_swap_sycl.cpp | 1 + unsupported/test/cxx11_tensor_lvalue.cpp | 1 + unsupported/test/cxx11_tensor_map.cpp | 1 + unsupported/test/cxx11_tensor_math.cpp | 1 + unsupported/test/cxx11_tensor_math_sycl.cpp | 1 + unsupported/test/cxx11_tensor_mixed_indices.cpp | 1 + unsupported/test/cxx11_tensor_morphing.cpp | 1 + unsupported/test/cxx11_tensor_morphing_sycl.cpp | 1 + unsupported/test/cxx11_tensor_move.cpp | 1 + unsupported/test/cxx11_tensor_notification.cpp | 1 + unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu | 1 + unsupported/test/cxx11_tensor_of_complex.cpp | 1 + unsupported/test/cxx11_tensor_of_const_values.cpp | 1 + unsupported/test/cxx11_tensor_of_float16_gpu.cu | 1 + unsupported/test/cxx11_tensor_of_float16_sycl.cpp | 1 + unsupported/test/cxx11_tensor_of_strings.cpp | 1 + unsupported/test/cxx11_tensor_padding.cpp | 1 + unsupported/test/cxx11_tensor_padding_sycl.cpp | 1 + unsupported/test/cxx11_tensor_patch.cpp | 1 + unsupported/test/cxx11_tensor_patch_sycl.cpp | 1 + unsupported/test/cxx11_tensor_random.cpp | 1 + unsupported/test/cxx11_tensor_random_gpu.cu | 1 + unsupported/test/cxx11_tensor_random_sycl.cpp | 1 + unsupported/test/cxx11_tensor_reduction.cpp | 1 + unsupported/test/cxx11_tensor_reduction_gpu.cu | 1 + unsupported/test/cxx11_tensor_reduction_sycl.cpp | 1 + unsupported/test/cxx11_tensor_ref.cpp | 1 + unsupported/test/cxx11_tensor_reverse.cpp | 1 + unsupported/test/cxx11_tensor_reverse_sycl.cpp | 1 + unsupported/test/cxx11_tensor_roll.cpp | 1 + unsupported/test/cxx11_tensor_roundings.cpp | 1 + unsupported/test/cxx11_tensor_scan.cpp | 1 + unsupported/test/cxx11_tensor_scan_gpu.cu | 1 + unsupported/test/cxx11_tensor_scan_sycl.cpp | 1 + unsupported/test/cxx11_tensor_shuffling.cpp | 1 + unsupported/test/cxx11_tensor_shuffling_sycl.cpp | 1 + unsupported/test/cxx11_tensor_simple.cpp | 1 + unsupported/test/cxx11_tensor_striding.cpp | 1 + unsupported/test/cxx11_tensor_striding_sycl.cpp | 1 + unsupported/test/cxx11_tensor_sycl.cpp | 1 + unsupported/test/cxx11_tensor_symmetry.cpp | 1 + unsupported/test/cxx11_tensor_thread_local.cpp | 1 + unsupported/test/cxx11_tensor_thread_pool.cpp | 1 + unsupported/test/cxx11_tensor_trace.cpp | 1 + unsupported/test/cxx11_tensor_uint128.cpp | 1 + unsupported/test/cxx11_tensor_volume_patch.cpp | 2 ++ unsupported/test/cxx11_tensor_volume_patch_sycl.cpp | 1 + unsupported/test/dgmres.cpp | 1 + unsupported/test/fft_test_shared.h | 1 + unsupported/test/forward_adolc.cpp | 1 + unsupported/test/gmres.cpp | 1 + unsupported/test/idrs.cpp | 1 + unsupported/test/idrstabl.cpp | 1 + unsupported/test/kronecker_product.cpp | 1 + unsupported/test/levenberg_marquardt.cpp | 1 + unsupported/test/matrix_exponential.cpp | 1 + unsupported/test/matrix_function.cpp | 1 + unsupported/test/matrix_functions.h | 1 + unsupported/test/matrix_power.cpp | 1 + unsupported/test/matrix_square_root.cpp | 1 + unsupported/test/minres.cpp | 2 ++ unsupported/test/mklfft.cpp | 2 ++ unsupported/test/mpreal_support.cpp | 2 ++ unsupported/test/openglsupport.cpp | 1 + unsupported/test/pocketfft.cpp | 2 ++ unsupported/test/polynomialsolver.cpp | 1 + unsupported/test/polynomialutils.cpp | 1 + unsupported/test/sparse_extra.cpp | 1 + unsupported/test/special_functions.cpp | 1 + unsupported/test/special_packetmath.cpp | 1 + unsupported/test/splines.cpp | 1 + 1456 files changed, 2041 insertions(+), 2 deletions(-) create mode 100644 doc/Eigen_Silly_Professor_64x64.png.license create mode 100644 doc/ftv2node.png.license create mode 100644 doc/ftv2pnode.png.license diff --git a/.clang-format b/.clang-format index 1f33cbed2..ad347ecb1 100644 --- a/.clang-format +++ b/.clang-format @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + --- BasedOnStyle: Google ColumnLimit: 120 diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index e89d7d7b0..8993c9600 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # First major clang-format MR (https://gitlab.com/libeigen/eigen/-/merge_requests/1429). f38e16c193d489c278c189bc06b448a94adb45fb # Formatting of tests, examples, benchmarks, et cetera (https://gitlab.com/libeigen/eigen/-/merge_requests/1432). diff --git a/.gitignore b/.gitignore index 369ae25b6..17be83215 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + qrc_*cxx *.orig *.pyc diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80aa8dd98..d7ab2f2b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ # 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/. +# SPDX-License-Identifier: MPL-2.0 stages: - checkformat diff --git a/CMakeLists.txt b/CMakeLists.txt index 116849c8f..daadc53f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + cmake_minimum_required(VERSION 3.10.0) #============================================================================== diff --git a/Eigen/AccelerateSupport b/Eigen/AccelerateSupport index 533be688e..a1e857e98 100644 --- a/Eigen/AccelerateSupport +++ b/Eigen/AccelerateSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ACCELERATESUPPORT_MODULE_H #define EIGEN_ACCELERATESUPPORT_MODULE_H diff --git a/Eigen/Cholesky b/Eigen/Cholesky index b05ed8278..e33c3e532 100644 --- a/Eigen/Cholesky +++ b/Eigen/Cholesky @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CHOLESKY_MODULE_H #define EIGEN_CHOLESKY_MODULE_H diff --git a/Eigen/CholmodSupport b/Eigen/CholmodSupport index adc5f8d63..f0e2db408 100644 --- a/Eigen/CholmodSupport +++ b/Eigen/CholmodSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CHOLMODSUPPORT_MODULE_H #define EIGEN_CHOLMODSUPPORT_MODULE_H diff --git a/Eigen/Core b/Eigen/Core index f87f3d2f6..38246ae4c 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CORE_MODULE_H #define EIGEN_CORE_MODULE_H diff --git a/Eigen/Dense b/Eigen/Dense index 5768910bd..bd2c8b421 100644 --- a/Eigen/Dense +++ b/Eigen/Dense @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #include "Core" #include "LU" #include "Cholesky" diff --git a/Eigen/Eigen b/Eigen/Eigen index 654c8dc63..6221ad5ea 100644 --- a/Eigen/Eigen +++ b/Eigen/Eigen @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 #include "Dense" #include "Sparse" diff --git a/Eigen/Eigenvalues b/Eigen/Eigenvalues index 3b0bdee17..df851d755 100644 --- a/Eigen/Eigenvalues +++ b/Eigen/Eigenvalues @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EIGENVALUES_MODULE_H #define EIGEN_EIGENVALUES_MODULE_H diff --git a/Eigen/Geometry b/Eigen/Geometry index 019c98b6e..56e59ef80 100644 --- a/Eigen/Geometry +++ b/Eigen/Geometry @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GEOMETRY_MODULE_H #define EIGEN_GEOMETRY_MODULE_H diff --git a/Eigen/Householder b/Eigen/Householder index 5070e070e..f72202271 100644 --- a/Eigen/Householder +++ b/Eigen/Householder @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HOUSEHOLDER_MODULE_H #define EIGEN_HOUSEHOLDER_MODULE_H diff --git a/Eigen/IterativeLinearSolvers b/Eigen/IterativeLinearSolvers index fe5159e9f..055cd06ed 100644 --- a/Eigen/IterativeLinearSolvers +++ b/Eigen/IterativeLinearSolvers @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ITERATIVELINEARSOLVERS_MODULE_H #define EIGEN_ITERATIVELINEARSOLVERS_MODULE_H diff --git a/Eigen/Jacobi b/Eigen/Jacobi index 31eb36a79..f058de688 100644 --- a/Eigen/Jacobi +++ b/Eigen/Jacobi @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_JACOBI_MODULE_H #define EIGEN_JACOBI_MODULE_H diff --git a/Eigen/KLUSupport b/Eigen/KLUSupport index 13959a3c8..b62aa7145 100644 --- a/Eigen/KLUSupport +++ b/Eigen/KLUSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_KLUSUPPORT_MODULE_H #define EIGEN_KLUSUPPORT_MODULE_H diff --git a/Eigen/LU b/Eigen/LU index d80448039..f908cb401 100644 --- a/Eigen/LU +++ b/Eigen/LU @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LU_MODULE_H #define EIGEN_LU_MODULE_H diff --git a/Eigen/MetisSupport b/Eigen/MetisSupport index 3636d3a06..abd5e0f4f 100644 --- a/Eigen/MetisSupport +++ b/Eigen/MetisSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_METISSUPPORT_MODULE_H #define EIGEN_METISSUPPORT_MODULE_H diff --git a/Eigen/OrderingMethods b/Eigen/OrderingMethods index 016741945..bfaee8ad7 100644 --- a/Eigen/OrderingMethods +++ b/Eigen/OrderingMethods @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ORDERINGMETHODS_MODULE_H #define EIGEN_ORDERINGMETHODS_MODULE_H diff --git a/Eigen/PaStiXSupport b/Eigen/PaStiXSupport index dd1cfcb12..b1db27308 100644 --- a/Eigen/PaStiXSupport +++ b/Eigen/PaStiXSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PASTIXSUPPORT_MODULE_H #define EIGEN_PASTIXSUPPORT_MODULE_H diff --git a/Eigen/PardisoSupport b/Eigen/PardisoSupport index 4aef5fb34..122ab0ef9 100644 --- a/Eigen/PardisoSupport +++ b/Eigen/PardisoSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PARDISOSUPPORT_MODULE_H #define EIGEN_PARDISOSUPPORT_MODULE_H diff --git a/Eigen/QR b/Eigen/QR index c38b453b0..10a3546ee 100644 --- a/Eigen/QR +++ b/Eigen/QR @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_QR_MODULE_H #define EIGEN_QR_MODULE_H diff --git a/Eigen/QtAlignedMalloc b/Eigen/QtAlignedMalloc index 585f8e81c..f08210d54 100644 --- a/Eigen/QtAlignedMalloc +++ b/Eigen/QtAlignedMalloc @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_QTMALLOC_MODULE_H #define EIGEN_QTMALLOC_MODULE_H diff --git a/Eigen/SPQRSupport b/Eigen/SPQRSupport index c01dbe009..801711499 100644 --- a/Eigen/SPQRSupport +++ b/Eigen/SPQRSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPQRSUPPORT_MODULE_H #define EIGEN_SPQRSUPPORT_MODULE_H diff --git a/Eigen/SVD b/Eigen/SVD index 2a013f825..8c9b7e79f 100644 --- a/Eigen/SVD +++ b/Eigen/SVD @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SVD_MODULE_H #define EIGEN_SVD_MODULE_H diff --git a/Eigen/Sparse b/Eigen/Sparse index 4d0ee8bc4..1e996225f 100644 --- a/Eigen/Sparse +++ b/Eigen/Sparse @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_MODULE_H #define EIGEN_SPARSE_MODULE_H diff --git a/Eigen/SparseCholesky b/Eigen/SparseCholesky index 6abdcd660..0e158d86e 100644 --- a/Eigen/SparseCholesky +++ b/Eigen/SparseCholesky @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSECHOLESKY_MODULE_H #define EIGEN_SPARSECHOLESKY_MODULE_H diff --git a/Eigen/SparseCore b/Eigen/SparseCore index 56a9401af..8ef99db9d 100644 --- a/Eigen/SparseCore +++ b/Eigen/SparseCore @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSECORE_MODULE_H #define EIGEN_SPARSECORE_MODULE_H diff --git a/Eigen/SparseLU b/Eigen/SparseLU index 6faf13069..05fb83f2b 100644 --- a/Eigen/SparseLU +++ b/Eigen/SparseLU @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSELU_MODULE_H #define EIGEN_SPARSELU_MODULE_H diff --git a/Eigen/SparseQR b/Eigen/SparseQR index b4f1cad6b..75a7be4ee 100644 --- a/Eigen/SparseQR +++ b/Eigen/SparseQR @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEQR_MODULE_H #define EIGEN_SPARSEQR_MODULE_H diff --git a/Eigen/StdDeque b/Eigen/StdDeque index 01e1d76f0..3281d8798 100644 --- a/Eigen/StdDeque +++ b/Eigen/StdDeque @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STDDEQUE_MODULE_H #define EIGEN_STDDEQUE_MODULE_H diff --git a/Eigen/StdList b/Eigen/StdList index 1453c9f56..7094efa93 100644 --- a/Eigen/StdList +++ b/Eigen/StdList @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STDLIST_MODULE_H #define EIGEN_STDLIST_MODULE_H diff --git a/Eigen/StdVector b/Eigen/StdVector index 711a654ea..425d295a6 100644 --- a/Eigen/StdVector +++ b/Eigen/StdVector @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STDVECTOR_MODULE_H #define EIGEN_STDVECTOR_MODULE_H diff --git a/Eigen/SuperLUSupport b/Eigen/SuperLUSupport index 79e2222f4..a1a51d489 100644 --- a/Eigen/SuperLUSupport +++ b/Eigen/SuperLUSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SUPERLUSUPPORT_MODULE_H #define EIGEN_SUPERLUSUPPORT_MODULE_H diff --git a/Eigen/ThreadPool b/Eigen/ThreadPool index c6e2cee5b..385f106ce 100644 --- a/Eigen/ThreadPool +++ b/Eigen/ThreadPool @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_THREADPOOL_MODULE_H #define EIGEN_THREADPOOL_MODULE_H diff --git a/Eigen/UmfPackSupport b/Eigen/UmfPackSupport index 126344cba..6041cfc7f 100644 --- a/Eigen/UmfPackSupport +++ b/Eigen/UmfPackSupport @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_UMFPACKSUPPORT_MODULE_H #define EIGEN_UMFPACKSUPPORT_MODULE_H diff --git a/Eigen/src/AccelerateSupport/AccelerateSupport.h b/Eigen/src/AccelerateSupport/AccelerateSupport.h index 09967fffd..2f0a5c883 100644 --- a/Eigen/src/AccelerateSupport/AccelerateSupport.h +++ b/Eigen/src/AccelerateSupport/AccelerateSupport.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_ACCELERATESUPPORT_H #define EIGEN_ACCELERATESUPPORT_H diff --git a/Eigen/src/AccelerateSupport/InternalHeaderCheck.h b/Eigen/src/AccelerateSupport/InternalHeaderCheck.h index 69bcff50a..8f90f6c2a 100644 --- a/Eigen/src/AccelerateSupport/InternalHeaderCheck.h +++ b/Eigen/src/AccelerateSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_ACCELERATESUPPORT_MODULE_H #error "Please include Eigen/AccelerateSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/Cholesky/InternalHeaderCheck.h b/Eigen/src/Cholesky/InternalHeaderCheck.h index 5de2b219b..0a63fbf10 100644 --- a/Eigen/src/Cholesky/InternalHeaderCheck.h +++ b/Eigen/src/Cholesky/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_CHOLESKY_MODULE_H #error "Please include Eigen/Cholesky instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/Cholesky/LDLT.h b/Eigen/src/Cholesky/LDLT.h index 5d52ab20f..c25568f12 100644 --- a/Eigen/src/Cholesky/LDLT.h +++ b/Eigen/src/Cholesky/LDLT.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LDLT_H #define EIGEN_LDLT_H diff --git a/Eigen/src/Cholesky/LLT.h b/Eigen/src/Cholesky/LLT.h index 01b44769a..6021cf73d 100644 --- a/Eigen/src/Cholesky/LLT.h +++ b/Eigen/src/Cholesky/LLT.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LLT_H #define EIGEN_LLT_H diff --git a/Eigen/src/CholmodSupport/CholmodSupport.h b/Eigen/src/CholmodSupport/CholmodSupport.h index 7e3c881ae..f40efc30c 100644 --- a/Eigen/src/CholmodSupport/CholmodSupport.h +++ b/Eigen/src/CholmodSupport/CholmodSupport.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CHOLMODSUPPORT_H #define EIGEN_CHOLMODSUPPORT_H diff --git a/Eigen/src/CholmodSupport/InternalHeaderCheck.h b/Eigen/src/CholmodSupport/InternalHeaderCheck.h index 0fb3abc70..db88063d4 100644 --- a/Eigen/src/CholmodSupport/InternalHeaderCheck.h +++ b/Eigen/src/CholmodSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_CHOLMODSUPPORT_MODULE_H #error "Please include Eigen/CholmodSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/Core/ArithmeticSequence.h b/Eigen/src/Core/ArithmeticSequence.h index ae6373dda..2fca01f79 100644 --- a/Eigen/src/Core/ArithmeticSequence.h +++ b/Eigen/src/Core/ArithmeticSequence.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARITHMETIC_SEQUENCE_H #define EIGEN_ARITHMETIC_SEQUENCE_H diff --git a/Eigen/src/Core/Array.h b/Eigen/src/Core/Array.h index 2098749c0..1b20e7487 100644 --- a/Eigen/src/Core/Array.h +++ b/Eigen/src/Core/Array.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARRAY_H #define EIGEN_ARRAY_H diff --git a/Eigen/src/Core/ArrayBase.h b/Eigen/src/Core/ArrayBase.h index 6237df454..03607cfd5 100644 --- a/Eigen/src/Core/ArrayBase.h +++ b/Eigen/src/Core/ArrayBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARRAYBASE_H #define EIGEN_ARRAYBASE_H diff --git a/Eigen/src/Core/ArrayWrapper.h b/Eigen/src/Core/ArrayWrapper.h index b636d88ad..e512dd9ba 100644 --- a/Eigen/src/Core/ArrayWrapper.h +++ b/Eigen/src/Core/ArrayWrapper.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARRAYWRAPPER_H #define EIGEN_ARRAYWRAPPER_H diff --git a/Eigen/src/Core/Assign.h b/Eigen/src/Core/Assign.h index 4b30f7bb6..a4772328e 100644 --- a/Eigen/src/Core/Assign.h +++ b/Eigen/src/Core/Assign.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ASSIGN_H #define EIGEN_ASSIGN_H diff --git a/Eigen/src/Core/AssignEvaluator.h b/Eigen/src/Core/AssignEvaluator.h index e70d5551a..a466ab803 100644 --- a/Eigen/src/Core/AssignEvaluator.h +++ b/Eigen/src/Core/AssignEvaluator.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ASSIGN_EVALUATOR_H #define EIGEN_ASSIGN_EVALUATOR_H diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index ca991cad2..1f52fa86b 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BANDMATRIX_H #define EIGEN_BANDMATRIX_H diff --git a/Eigen/src/Core/Block.h b/Eigen/src/Core/Block.h index 709264c69..39435c4ff 100644 --- a/Eigen/src/Core/Block.h +++ b/Eigen/src/Core/Block.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BLOCK_H #define EIGEN_BLOCK_H diff --git a/Eigen/src/Core/CommaInitializer.h b/Eigen/src/Core/CommaInitializer.h index c6291234b..1dc1cc7e7 100644 --- a/Eigen/src/Core/CommaInitializer.h +++ b/Eigen/src/Core/CommaInitializer.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMMAINITIALIZER_H #define EIGEN_COMMAINITIALIZER_H diff --git a/Eigen/src/Core/ConditionEstimator.h b/Eigen/src/Core/ConditionEstimator.h index dd1770b1a..e6766989d 100644 --- a/Eigen/src/Core/ConditionEstimator.h +++ b/Eigen/src/Core/ConditionEstimator.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CONDITIONESTIMATOR_H #define EIGEN_CONDITIONESTIMATOR_H diff --git a/Eigen/src/Core/CoreEvaluators.h b/Eigen/src/Core/CoreEvaluators.h index 156ca2b60..12ec015f6 100644 --- a/Eigen/src/Core/CoreEvaluators.h +++ b/Eigen/src/Core/CoreEvaluators.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COREEVALUATORS_H #define EIGEN_COREEVALUATORS_H diff --git a/Eigen/src/Core/CoreIterators.h b/Eigen/src/Core/CoreIterators.h index f62cf238e..ed0f16e14 100644 --- a/Eigen/src/Core/CoreIterators.h +++ b/Eigen/src/Core/CoreIterators.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COREITERATORS_H #define EIGEN_COREITERATORS_H diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h index aa79b6081..0c40da57a 100644 --- a/Eigen/src/Core/CwiseBinaryOp.h +++ b/Eigen/src/Core/CwiseBinaryOp.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CWISE_BINARY_OP_H #define EIGEN_CWISE_BINARY_OP_H diff --git a/Eigen/src/Core/CwiseNullaryOp.h b/Eigen/src/Core/CwiseNullaryOp.h index 86ddd5e4d..b9a9679f0 100644 --- a/Eigen/src/Core/CwiseNullaryOp.h +++ b/Eigen/src/Core/CwiseNullaryOp.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CWISE_NULLARY_OP_H #define EIGEN_CWISE_NULLARY_OP_H diff --git a/Eigen/src/Core/CwiseTernaryOp.h b/Eigen/src/Core/CwiseTernaryOp.h index 9bb0d4075..cb9070a79 100644 --- a/Eigen/src/Core/CwiseTernaryOp.h +++ b/Eigen/src/Core/CwiseTernaryOp.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CWISE_TERNARY_OP_H #define EIGEN_CWISE_TERNARY_OP_H diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h index 42ed459a0..f26bbbaef 100644 --- a/Eigen/src/Core/CwiseUnaryOp.h +++ b/Eigen/src/Core/CwiseUnaryOp.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CWISE_UNARY_OP_H #define EIGEN_CWISE_UNARY_OP_H diff --git a/Eigen/src/Core/CwiseUnaryView.h b/Eigen/src/Core/CwiseUnaryView.h index 49b141011..9a936d118 100644 --- a/Eigen/src/Core/CwiseUnaryView.h +++ b/Eigen/src/Core/CwiseUnaryView.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CWISE_UNARY_VIEW_H #define EIGEN_CWISE_UNARY_VIEW_H diff --git a/Eigen/src/Core/DenseBase.h b/Eigen/src/Core/DenseBase.h index e1fbb0b82..501df7b3b 100644 --- a/Eigen/src/Core/DenseBase.h +++ b/Eigen/src/Core/DenseBase.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DENSEBASE_H #define EIGEN_DENSEBASE_H diff --git a/Eigen/src/Core/DenseCoeffsBase.h b/Eigen/src/Core/DenseCoeffsBase.h index 97f9b50f3..b7980d60b 100644 --- a/Eigen/src/Core/DenseCoeffsBase.h +++ b/Eigen/src/Core/DenseCoeffsBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DENSECOEFFSBASE_H #define EIGEN_DENSECOEFFSBASE_H diff --git a/Eigen/src/Core/DenseStorage.h b/Eigen/src/Core/DenseStorage.h index d62586c99..729af9eec 100644 --- a/Eigen/src/Core/DenseStorage.h +++ b/Eigen/src/Core/DenseStorage.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIXSTORAGE_H #define EIGEN_MATRIXSTORAGE_H diff --git a/Eigen/src/Core/DeviceWrapper.h b/Eigen/src/Core/DeviceWrapper.h index 3ae8256f5..b04e98aae 100644 --- a/Eigen/src/Core/DeviceWrapper.h +++ b/Eigen/src/Core/DeviceWrapper.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DEVICEWRAPPER_H #define EIGEN_DEVICEWRAPPER_H diff --git a/Eigen/src/Core/Diagonal.h b/Eigen/src/Core/Diagonal.h index 8d27857e0..6b3eadd4a 100644 --- a/Eigen/src/Core/Diagonal.h +++ b/Eigen/src/Core/Diagonal.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DIAGONAL_H #define EIGEN_DIAGONAL_H diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h index fd61bb793..2699e97d0 100644 --- a/Eigen/src/Core/DiagonalMatrix.h +++ b/Eigen/src/Core/DiagonalMatrix.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DIAGONALMATRIX_H #define EIGEN_DIAGONALMATRIX_H diff --git a/Eigen/src/Core/DiagonalProduct.h b/Eigen/src/Core/DiagonalProduct.h index bd0feeac7..292820c57 100644 --- a/Eigen/src/Core/DiagonalProduct.h +++ b/Eigen/src/Core/DiagonalProduct.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DIAGONALPRODUCT_H #define EIGEN_DIAGONALPRODUCT_H diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h index 059527c85..46229f5f7 100644 --- a/Eigen/src/Core/Dot.h +++ b/Eigen/src/Core/Dot.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DOT_H #define EIGEN_DOT_H diff --git a/Eigen/src/Core/EigenBase.h b/Eigen/src/Core/EigenBase.h index 6d167006a..a435583fb 100644 --- a/Eigen/src/Core/EigenBase.h +++ b/Eigen/src/Core/EigenBase.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EIGENBASE_H #define EIGEN_EIGENBASE_H diff --git a/Eigen/src/Core/ForceAlignedAccess.h b/Eigen/src/Core/ForceAlignedAccess.h index a91b0da6a..15dcb53d7 100644 --- a/Eigen/src/Core/ForceAlignedAccess.h +++ b/Eigen/src/Core/ForceAlignedAccess.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_FORCEALIGNEDACCESS_H #define EIGEN_FORCEALIGNEDACCESS_H diff --git a/Eigen/src/Core/Fuzzy.h b/Eigen/src/Core/Fuzzy.h index ed6b4ffea..ea709369d 100644 --- a/Eigen/src/Core/Fuzzy.h +++ b/Eigen/src/Core/Fuzzy.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_FUZZY_H #define EIGEN_FUZZY_H diff --git a/Eigen/src/Core/GeneralProduct.h b/Eigen/src/Core/GeneralProduct.h index e4c51d2a6..a60df5f94 100644 --- a/Eigen/src/Core/GeneralProduct.h +++ b/Eigen/src/Core/GeneralProduct.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERAL_PRODUCT_H #define EIGEN_GENERAL_PRODUCT_H diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h index 26a4634d3..b96acb6f0 100644 --- a/Eigen/src/Core/GenericPacketMath.h +++ b/Eigen/src/Core/GenericPacketMath.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERIC_PACKET_MATH_H #define EIGEN_GENERIC_PACKET_MATH_H diff --git a/Eigen/src/Core/GlobalFunctions.h b/Eigen/src/Core/GlobalFunctions.h index df1098e27..9b156f08d 100644 --- a/Eigen/src/Core/GlobalFunctions.h +++ b/Eigen/src/Core/GlobalFunctions.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GLOBAL_FUNCTIONS_H #define EIGEN_GLOBAL_FUNCTIONS_H diff --git a/Eigen/src/Core/IO.h b/Eigen/src/Core/IO.h index 0a1b583d6..9c475f841 100644 --- a/Eigen/src/Core/IO.h +++ b/Eigen/src/Core/IO.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_IO_H #define EIGEN_IO_H diff --git a/Eigen/src/Core/IndexedView.h b/Eigen/src/Core/IndexedView.h index 454e560e4..fa9d46d1d 100644 --- a/Eigen/src/Core/IndexedView.h +++ b/Eigen/src/Core/IndexedView.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INDEXED_VIEW_H #define EIGEN_INDEXED_VIEW_H diff --git a/Eigen/src/Core/InnerProduct.h b/Eigen/src/Core/InnerProduct.h index 1e16942c2..2972b16b3 100644 --- a/Eigen/src/Core/InnerProduct.h +++ b/Eigen/src/Core/InnerProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INNER_PRODUCT_EVAL_H #define EIGEN_INNER_PRODUCT_EVAL_H diff --git a/Eigen/src/Core/InternalHeaderCheck.h b/Eigen/src/Core/InternalHeaderCheck.h index 1cea572dc..7696f15f5 100644 --- a/Eigen/src/Core/InternalHeaderCheck.h +++ b/Eigen/src/Core/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_CORE_MODULE_H #error "Please include Eigen/Core instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/Core/Inverse.h b/Eigen/src/Core/Inverse.h index 013ad0a94..a439496d2 100644 --- a/Eigen/src/Core/Inverse.h +++ b/Eigen/src/Core/Inverse.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INVERSE_H #define EIGEN_INVERSE_H diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h index df7b7ca77..64ad10b97 100644 --- a/Eigen/src/Core/Map.h +++ b/Eigen/src/Core/Map.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MAP_H #define EIGEN_MAP_H diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index 1e83fdf70..d7ff814e3 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MAPBASE_H #define EIGEN_MAPBASE_H diff --git a/Eigen/src/Core/MathFunctions.h b/Eigen/src/Core/MathFunctions.h index 57fb3bde3..27eb88d8a 100644 --- a/Eigen/src/Core/MathFunctions.h +++ b/Eigen/src/Core/MathFunctions.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATHFUNCTIONS_H #define EIGEN_MATHFUNCTIONS_H diff --git a/Eigen/src/Core/MathFunctionsImpl.h b/Eigen/src/Core/MathFunctionsImpl.h index 10ddabd79..ffd862af3 100644 --- a/Eigen/src/Core/MathFunctionsImpl.h +++ b/Eigen/src/Core/MathFunctionsImpl.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATHFUNCTIONSIMPL_H #define EIGEN_MATHFUNCTIONSIMPL_H diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 8b7f70c16..a6aede6e1 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_H #define EIGEN_MATRIX_H diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 81d5a97ea..26dedb7bb 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIXBASE_H #define EIGEN_MATRIXBASE_H diff --git a/Eigen/src/Core/NestByValue.h b/Eigen/src/Core/NestByValue.h index ec360ebde..ad6c6d205 100644 --- a/Eigen/src/Core/NestByValue.h +++ b/Eigen/src/Core/NestByValue.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NESTBYVALUE_H #define EIGEN_NESTBYVALUE_H diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h index b6c720910..50dec1fc8 100644 --- a/Eigen/src/Core/NoAlias.h +++ b/Eigen/src/Core/NoAlias.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NOALIAS_H #define EIGEN_NOALIAS_H diff --git a/Eigen/src/Core/NumTraits.h b/Eigen/src/Core/NumTraits.h index 67a6c08ae..7b3f41f95 100644 --- a/Eigen/src/Core/NumTraits.h +++ b/Eigen/src/Core/NumTraits.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NUMTRAITS_H #define EIGEN_NUMTRAITS_H diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 7b2c8dca3..e23033c1b 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PARTIALREDUX_H #define EIGEN_PARTIALREDUX_H diff --git a/Eigen/src/Core/PermutationMatrix.h b/Eigen/src/Core/PermutationMatrix.h index 4748b118a..e210cf62b 100644 --- a/Eigen/src/Core/PermutationMatrix.h +++ b/Eigen/src/Core/PermutationMatrix.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PERMUTATIONMATRIX_H #define EIGEN_PERMUTATIONMATRIX_H diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index 8720c4473..54049bcf9 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DENSESTORAGEBASE_H #define EIGEN_DENSESTORAGEBASE_H diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 37683e3c2..01652e62c 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PRODUCT_H #define EIGEN_PRODUCT_H diff --git a/Eigen/src/Core/ProductEvaluators.h b/Eigen/src/Core/ProductEvaluators.h index 77a658a8e..37c4ab810 100644 --- a/Eigen/src/Core/ProductEvaluators.h +++ b/Eigen/src/Core/ProductEvaluators.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PRODUCTEVALUATORS_H #define EIGEN_PRODUCTEVALUATORS_H diff --git a/Eigen/src/Core/Random.h b/Eigen/src/Core/Random.h index f8a543562..26499db10 100644 --- a/Eigen/src/Core/Random.h +++ b/Eigen/src/Core/Random.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RANDOM_H #define EIGEN_RANDOM_H diff --git a/Eigen/src/Core/RandomImpl.h b/Eigen/src/Core/RandomImpl.h index 76e43f5dc..933e0ce4e 100644 --- a/Eigen/src/Core/RandomImpl.h +++ b/Eigen/src/Core/RandomImpl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RANDOM_IMPL_H #define EIGEN_RANDOM_IMPL_H diff --git a/Eigen/src/Core/Redux.h b/Eigen/src/Core/Redux.h index 0c5f2d9f6..57d5dabd5 100644 --- a/Eigen/src/Core/Redux.h +++ b/Eigen/src/Core/Redux.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_REDUX_H #define EIGEN_REDUX_H diff --git a/Eigen/src/Core/Ref.h b/Eigen/src/Core/Ref.h index 129bc85f4..1273bc435 100644 --- a/Eigen/src/Core/Ref.h +++ b/Eigen/src/Core/Ref.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_REF_H #define EIGEN_REF_H diff --git a/Eigen/src/Core/Replicate.h b/Eigen/src/Core/Replicate.h index 11d7ad19e..7e04390b9 100644 --- a/Eigen/src/Core/Replicate.h +++ b/Eigen/src/Core/Replicate.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_REPLICATE_H #define EIGEN_REPLICATE_H diff --git a/Eigen/src/Core/Reshaped.h b/Eigen/src/Core/Reshaped.h index 4b34e16f6..10ee3eb1c 100644 --- a/Eigen/src/Core/Reshaped.h +++ b/Eigen/src/Core/Reshaped.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RESHAPED_H #define EIGEN_RESHAPED_H diff --git a/Eigen/src/Core/ReturnByValue.h b/Eigen/src/Core/ReturnByValue.h index 3b5e470ce..d555a2d4e 100644 --- a/Eigen/src/Core/ReturnByValue.h +++ b/Eigen/src/Core/ReturnByValue.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RETURNBYVALUE_H #define EIGEN_RETURNBYVALUE_H diff --git a/Eigen/src/Core/Reverse.h b/Eigen/src/Core/Reverse.h index eb06fff57..a564dea1b 100644 --- a/Eigen/src/Core/Reverse.h +++ b/Eigen/src/Core/Reverse.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_REVERSE_H #define EIGEN_REVERSE_H diff --git a/Eigen/src/Core/Select.h b/Eigen/src/Core/Select.h index 9f4612047..6524034bb 100644 --- a/Eigen/src/Core/Select.h +++ b/Eigen/src/Core/Select.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELECT_H #define EIGEN_SELECT_H diff --git a/Eigen/src/Core/SelfAdjointView.h b/Eigen/src/Core/SelfAdjointView.h index 4e9a923a4..ea9644700 100644 --- a/Eigen/src/Core/SelfAdjointView.h +++ b/Eigen/src/Core/SelfAdjointView.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFADJOINTMATRIX_H #define EIGEN_SELFADJOINTMATRIX_H diff --git a/Eigen/src/Core/SelfCwiseBinaryOp.h b/Eigen/src/Core/SelfCwiseBinaryOp.h index 4dc92f174..1feefeaea 100644 --- a/Eigen/src/Core/SelfCwiseBinaryOp.h +++ b/Eigen/src/Core/SelfCwiseBinaryOp.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFCWISEBINARYOP_H #define EIGEN_SELFCWISEBINARYOP_H diff --git a/Eigen/src/Core/SkewSymmetricMatrix3.h b/Eigen/src/Core/SkewSymmetricMatrix3.h index b3fcc3a00..8a338cc4e 100644 --- a/Eigen/src/Core/SkewSymmetricMatrix3.h +++ b/Eigen/src/Core/SkewSymmetricMatrix3.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SKEWSYMMETRICMATRIX3_H #define EIGEN_SKEWSYMMETRICMATRIX3_H diff --git a/Eigen/src/Core/Solve.h b/Eigen/src/Core/Solve.h index dfea9c6fb..2bab8e9e5 100644 --- a/Eigen/src/Core/Solve.h +++ b/Eigen/src/Core/Solve.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SOLVE_H #define EIGEN_SOLVE_H diff --git a/Eigen/src/Core/SolveTriangular.h b/Eigen/src/Core/SolveTriangular.h index 26d62ffa4..4f45dea89 100644 --- a/Eigen/src/Core/SolveTriangular.h +++ b/Eigen/src/Core/SolveTriangular.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SOLVETRIANGULAR_H #define EIGEN_SOLVETRIANGULAR_H diff --git a/Eigen/src/Core/SolverBase.h b/Eigen/src/Core/SolverBase.h index df2ac8371..bfb8c6f3f 100644 --- a/Eigen/src/Core/SolverBase.h +++ b/Eigen/src/Core/SolverBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SOLVERBASE_H #define EIGEN_SOLVERBASE_H diff --git a/Eigen/src/Core/StableNorm.h b/Eigen/src/Core/StableNorm.h index 711ee3fb4..0d497f439 100644 --- a/Eigen/src/Core/StableNorm.h +++ b/Eigen/src/Core/StableNorm.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STABLENORM_H #define EIGEN_STABLENORM_H diff --git a/Eigen/src/Core/StlIterators.h b/Eigen/src/Core/StlIterators.h index 25d457530..605743cfa 100644 --- a/Eigen/src/Core/StlIterators.h +++ b/Eigen/src/Core/StlIterators.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STLITERATORS_H #define EIGEN_STLITERATORS_H diff --git a/Eigen/src/Core/Stride.h b/Eigen/src/Core/Stride.h index 14b025c46..001534925 100644 --- a/Eigen/src/Core/Stride.h +++ b/Eigen/src/Core/Stride.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STRIDE_H #define EIGEN_STRIDE_H diff --git a/Eigen/src/Core/Swap.h b/Eigen/src/Core/Swap.h index d417c1ad1..3e9db8532 100644 --- a/Eigen/src/Core/Swap.h +++ b/Eigen/src/Core/Swap.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SWAP_H #define EIGEN_SWAP_H diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 89e3d95fd..f8205b85e 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRANSPOSE_H #define EIGEN_TRANSPOSE_H diff --git a/Eigen/src/Core/Transpositions.h b/Eigen/src/Core/Transpositions.h index 6fbbbd81b..d834357c0 100644 --- a/Eigen/src/Core/Transpositions.h +++ b/Eigen/src/Core/Transpositions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRANSPOSITIONS_H #define EIGEN_TRANSPOSITIONS_H diff --git a/Eigen/src/Core/TriangularMatrix.h b/Eigen/src/Core/TriangularMatrix.h index 2b1683be9..93532b556 100644 --- a/Eigen/src/Core/TriangularMatrix.h +++ b/Eigen/src/Core/TriangularMatrix.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRIANGULARMATRIX_H #define EIGEN_TRIANGULARMATRIX_H diff --git a/Eigen/src/Core/VectorBlock.h b/Eigen/src/Core/VectorBlock.h index 5ac13eb8e..cfa76b402 100644 --- a/Eigen/src/Core/VectorBlock.h +++ b/Eigen/src/Core/VectorBlock.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_VECTORBLOCK_H #define EIGEN_VECTORBLOCK_H diff --git a/Eigen/src/Core/VectorwiseOp.h b/Eigen/src/Core/VectorwiseOp.h index 9887db67a..a8f9bcffa 100644 --- a/Eigen/src/Core/VectorwiseOp.h +++ b/Eigen/src/Core/VectorwiseOp.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PARTIAL_REDUX_H #define EIGEN_PARTIAL_REDUX_H diff --git a/Eigen/src/Core/Visitor.h b/Eigen/src/Core/Visitor.h index 198ec952a..249de1352 100644 --- a/Eigen/src/Core/Visitor.h +++ b/Eigen/src/Core/Visitor.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_VISITOR_H #define EIGEN_VISITOR_H diff --git a/Eigen/src/Core/arch/AVX/Complex.h b/Eigen/src/Core/arch/AVX/Complex.h index d5506dae4..da1589176 100644 --- a/Eigen/src/Core/arch/AVX/Complex.h +++ b/Eigen/src/Core/arch/AVX/Complex.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_AVX_H #define EIGEN_COMPLEX_AVX_H diff --git a/Eigen/src/Core/arch/AVX/MathFunctions.h b/Eigen/src/Core/arch/AVX/MathFunctions.h index a5c38e787..dc86c3d3f 100644 --- a/Eigen/src/Core/arch/AVX/MathFunctions.h +++ b/Eigen/src/Core/arch/AVX/MathFunctions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATH_FUNCTIONS_AVX_H #define EIGEN_MATH_FUNCTIONS_AVX_H diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index c29523a7c..afbacb52b 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_AVX_H #define EIGEN_PACKET_MATH_AVX_H diff --git a/Eigen/src/Core/arch/AVX/TypeCasting.h b/Eigen/src/Core/arch/AVX/TypeCasting.h index 9dcd6ef84..3cae04e67 100644 --- a/Eigen/src/Core/arch/AVX/TypeCasting.h +++ b/Eigen/src/Core/arch/AVX/TypeCasting.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TYPE_CASTING_AVX_H #define EIGEN_TYPE_CASTING_AVX_H diff --git a/Eigen/src/Core/arch/AVX512/Complex.h b/Eigen/src/Core/arch/AVX512/Complex.h index b70c7fefe..6afb50b23 100644 --- a/Eigen/src/Core/arch/AVX512/Complex.h +++ b/Eigen/src/Core/arch/AVX512/Complex.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_AVX512_H #define EIGEN_COMPLEX_AVX512_H diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h index e06b83c91..5745d989e 100644 --- a/Eigen/src/Core/arch/AVX512/GemmKernel.h +++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CORE_ARCH_AVX512_GEMM_KERNEL_H #define EIGEN_CORE_ARCH_AVX512_GEMM_KERNEL_H diff --git a/Eigen/src/Core/arch/AVX512/MathFunctions.h b/Eigen/src/Core/arch/AVX512/MathFunctions.h index 603925429..c4a8dd2a4 100644 --- a/Eigen/src/Core/arch/AVX512/MathFunctions.h +++ b/Eigen/src/Core/arch/AVX512/MathFunctions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef THIRD_PARTY_EIGEN3_EIGEN_SRC_CORE_ARCH_AVX512_MATHFUNCTIONS_H_ #define THIRD_PARTY_EIGEN3_EIGEN_SRC_CORE_ARCH_AVX512_MATHFUNCTIONS_H_ diff --git a/Eigen/src/Core/arch/AVX512/PacketMath.h b/Eigen/src/Core/arch/AVX512/PacketMath.h index 5d869e42b..10331abd1 100644 --- a/Eigen/src/Core/arch/AVX512/PacketMath.h +++ b/Eigen/src/Core/arch/AVX512/PacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_AVX512_H #define EIGEN_PACKET_MATH_AVX512_H diff --git a/Eigen/src/Core/arch/AVX512/PacketMathFP16.h b/Eigen/src/Core/arch/AVX512/PacketMathFP16.h index df5a0ef7a..a7c54f0e2 100644 --- a/Eigen/src/Core/arch/AVX512/PacketMathFP16.h +++ b/Eigen/src/Core/arch/AVX512/PacketMathFP16.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_FP16_AVX512_H #define EIGEN_PACKET_MATH_FP16_AVX512_H diff --git a/Eigen/src/Core/arch/AVX512/TrsmKernel.h b/Eigen/src/Core/arch/AVX512/TrsmKernel.h index c763b5fe3..1c53eeb21 100644 --- a/Eigen/src/Core/arch/AVX512/TrsmKernel.h +++ b/Eigen/src/Core/arch/AVX512/TrsmKernel.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CORE_ARCH_AVX512_TRSM_KERNEL_H #define EIGEN_CORE_ARCH_AVX512_TRSM_KERNEL_H diff --git a/Eigen/src/Core/arch/AVX512/TrsmUnrolls.inc b/Eigen/src/Core/arch/AVX512/TrsmUnrolls.inc index 1983c08a1..641fd8e26 100644 --- a/Eigen/src/Core/arch/AVX512/TrsmUnrolls.inc +++ b/Eigen/src/Core/arch/AVX512/TrsmUnrolls.inc @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CORE_ARCH_AVX512_TRSM_UNROLLS_H #define EIGEN_CORE_ARCH_AVX512_TRSM_UNROLLS_H diff --git a/Eigen/src/Core/arch/AVX512/TypeCasting.h b/Eigen/src/Core/arch/AVX512/TypeCasting.h index 9508ac66b..9819f1aae 100644 --- a/Eigen/src/Core/arch/AVX512/TypeCasting.h +++ b/Eigen/src/Core/arch/AVX512/TypeCasting.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TYPE_CASTING_AVX512_H #define EIGEN_TYPE_CASTING_AVX512_H diff --git a/Eigen/src/Core/arch/AltiVec/Complex.h b/Eigen/src/Core/arch/AltiVec/Complex.h index 0252efa6d..3f4deaff7 100644 --- a/Eigen/src/Core/arch/AltiVec/Complex.h +++ b/Eigen/src/Core/arch/AltiVec/Complex.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX32_ALTIVEC_H #define EIGEN_COMPLEX32_ALTIVEC_H diff --git a/Eigen/src/Core/arch/AltiVec/MathFunctions.h b/Eigen/src/Core/arch/AltiVec/MathFunctions.h index c95ee3885..b7cf140e3 100644 --- a/Eigen/src/Core/arch/AltiVec/MathFunctions.h +++ b/Eigen/src/Core/arch/AltiVec/MathFunctions.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATH_FUNCTIONS_ALTIVEC_H #define EIGEN_MATH_FUNCTIONS_ALTIVEC_H diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProduct.h b/Eigen/src/Core/arch/AltiVec/MatrixProduct.h index be79ebae2..4e841d79e 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProduct.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_PRODUCT_ALTIVEC_H #define EIGEN_MATRIX_PRODUCT_ALTIVEC_H diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h b/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h index e78ca5af6..96301bb51 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + // #define EIGEN_POWER_USE_PREFETCH // Use prefetching in gemm routines #ifdef EIGEN_POWER_USE_PREFETCH #define EIGEN_POWER_PREFETCH(p) prefetch(p) diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h index 94c5dd273..ba597787c 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_PRODUCT_MMA_ALTIVEC_H #define EIGEN_MATRIX_PRODUCT_MMA_ALTIVEC_H diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..3b67447c5 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_MATRIX_PRODUCT_MMA_BFLOAT16_ALTIVEC_H #define EIGEN_MATRIX_PRODUCT_MMA_BFLOAT16_ALTIVEC_H diff --git a/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h b/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h index 90c0d3920..fb6c4e4b2 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_VECTOR_PRODUCT_ALTIVEC_H #define EIGEN_MATRIX_VECTOR_PRODUCT_ALTIVEC_H diff --git a/Eigen/src/Core/arch/AltiVec/PacketMath.h b/Eigen/src/Core/arch/AltiVec/PacketMath.h index 49220cafc..d84ce7c02 100644 --- a/Eigen/src/Core/arch/AltiVec/PacketMath.h +++ b/Eigen/src/Core/arch/AltiVec/PacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_ALTIVEC_H #define EIGEN_PACKET_MATH_ALTIVEC_H diff --git a/Eigen/src/Core/arch/AltiVec/TypeCasting.h b/Eigen/src/Core/arch/AltiVec/TypeCasting.h index fdabeb95f..badfeec06 100644 --- a/Eigen/src/Core/arch/AltiVec/TypeCasting.h +++ b/Eigen/src/Core/arch/AltiVec/TypeCasting.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TYPE_CASTING_ALTIVEC_H #define EIGEN_TYPE_CASTING_ALTIVEC_H diff --git a/Eigen/src/Core/arch/Default/ConjHelper.h b/Eigen/src/Core/arch/Default/ConjHelper.h index fd7923e16..f0fc1e2d1 100644 --- a/Eigen/src/Core/arch/Default/ConjHelper.h +++ b/Eigen/src/Core/arch/Default/ConjHelper.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARCH_CONJ_HELPER_H #define EIGEN_ARCH_CONJ_HELPER_H diff --git a/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h b/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h index 174eb575d..0e84af38e 100644 --- a/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +++ b/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* The exp and log functions of this file initially come from * Julien Pommier's sse math library: http://gruntthepeon.free.fr/ssemath/ diff --git a/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h b/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h index ac0e2cfd3..fdf3080a9 100644 --- a/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +++ b/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARCH_GENERIC_PACKET_MATH_FUNCTIONS_FWD_H #define EIGEN_ARCH_GENERIC_PACKET_MATH_FUNCTIONS_FWD_H diff --git a/Eigen/src/Core/arch/Default/Half.h b/Eigen/src/Core/arch/Default/Half.h index a8cb228c1..9c33c896e 100644 --- a/Eigen/src/Core/arch/Default/Half.h +++ b/Eigen/src/Core/arch/Default/Half.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // // The conversion routines are Copyright (c) Fabian Giesen, 2016. // The original license follows: diff --git a/Eigen/src/Core/arch/Default/Settings.h b/Eigen/src/Core/arch/Default/Settings.h index 7e3a970ac..61af103de 100644 --- a/Eigen/src/Core/arch/Default/Settings.h +++ b/Eigen/src/Core/arch/Default/Settings.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* All the parameters defined in this file can be specialized in the * architecture specific files, and/or by the user. diff --git a/Eigen/src/Core/arch/GPU/Complex.h b/Eigen/src/Core/arch/GPU/Complex.h index fa46aec7e..891f3f9da 100644 --- a/Eigen/src/Core/arch/GPU/Complex.h +++ b/Eigen/src/Core/arch/GPU/Complex.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_GPU_H #define EIGEN_COMPLEX_GPU_H diff --git a/Eigen/src/Core/arch/GPU/MathFunctions.h b/Eigen/src/Core/arch/GPU/MathFunctions.h index 81bc8bb53..76f5a1d34 100644 --- a/Eigen/src/Core/arch/GPU/MathFunctions.h +++ b/Eigen/src/Core/arch/GPU/MathFunctions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATH_FUNCTIONS_GPU_H #define EIGEN_MATH_FUNCTIONS_GPU_H diff --git a/Eigen/src/Core/arch/GPU/PacketMath.h b/Eigen/src/Core/arch/GPU/PacketMath.h index 6d4230aa7..3d2473335 100644 --- a/Eigen/src/Core/arch/GPU/PacketMath.h +++ b/Eigen/src/Core/arch/GPU/PacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_GPU_H #define EIGEN_PACKET_MATH_GPU_H diff --git a/Eigen/src/Core/arch/GPU/Tuple.h b/Eigen/src/Core/arch/GPU/Tuple.h index 6bea9ac24..1562063f6 100644 --- a/Eigen/src/Core/arch/GPU/Tuple.h +++ b/Eigen/src/Core/arch/GPU/Tuple.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TUPLE_GPU #define EIGEN_TUPLE_GPU diff --git a/Eigen/src/Core/arch/GPU/TypeCasting.h b/Eigen/src/Core/arch/GPU/TypeCasting.h index ae43f8eaf..9f06663b9 100644 --- a/Eigen/src/Core/arch/GPU/TypeCasting.h +++ b/Eigen/src/Core/arch/GPU/TypeCasting.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TYPE_CASTING_GPU_H #define EIGEN_TYPE_CASTING_GPU_H diff --git a/Eigen/src/Core/arch/HIP/hcc/math_constants.h b/Eigen/src/Core/arch/HIP/hcc/math_constants.h index 99dd3ae08..9ec157209 100644 --- a/Eigen/src/Core/arch/HIP/hcc/math_constants.h +++ b/Eigen/src/Core/arch/HIP/hcc/math_constants.h @@ -1,4 +1,5 @@ /* + * SPDX-License-Identifier: MPL-2.0 * math_constants.h - * HIP equivalent of the CUDA header of the same name */ diff --git a/Eigen/src/Core/arch/HVX/PacketMath.h b/Eigen/src/Core/arch/HVX/PacketMath.h index ccba96efd..613919201 100644 --- a/Eigen/src/Core/arch/HVX/PacketMath.h +++ b/Eigen/src/Core/arch/HVX/PacketMath.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HVX_PACKET_MATH_H #define EIGEN_HVX_PACKET_MATH_H diff --git a/Eigen/src/Core/arch/MSA/Complex.h b/Eigen/src/Core/arch/MSA/Complex.h index 2d2fbbca4..deb178d6c 100644 --- a/Eigen/src/Core/arch/MSA/Complex.h +++ b/Eigen/src/Core/arch/MSA/Complex.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_MSA_H #define EIGEN_COMPLEX_MSA_H diff --git a/Eigen/src/Core/arch/MSA/MathFunctions.h b/Eigen/src/Core/arch/MSA/MathFunctions.h index f68d254f7..947453f15 100644 --- a/Eigen/src/Core/arch/MSA/MathFunctions.h +++ b/Eigen/src/Core/arch/MSA/MathFunctions.h @@ -13,6 +13,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* The sin, cos, exp, and log functions of this file come from * Julien Pommier's sse math library: http://gruntthepeon.free.fr/ssemath/ diff --git a/Eigen/src/Core/arch/MSA/PacketMath.h b/Eigen/src/Core/arch/MSA/PacketMath.h index 81da24f8d..086bd33c5 100644 --- a/Eigen/src/Core/arch/MSA/PacketMath.h +++ b/Eigen/src/Core/arch/MSA/PacketMath.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_MSA_H #define EIGEN_PACKET_MATH_MSA_H diff --git a/Eigen/src/Core/arch/NEON/Complex.h b/Eigen/src/Core/arch/NEON/Complex.h index 4190d1bd1..7e61df572 100644 --- a/Eigen/src/Core/arch/NEON/Complex.h +++ b/Eigen/src/Core/arch/NEON/Complex.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_NEON_H #define EIGEN_COMPLEX_NEON_H diff --git a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h index 4ecf7d15c..b2d7aa4f1 100644 --- a/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "../../InternalHeaderCheck.h" diff --git a/Eigen/src/Core/arch/NEON/MathFunctions.h b/Eigen/src/Core/arch/NEON/MathFunctions.h index 0046e01ef..454b1fea9 100644 --- a/Eigen/src/Core/arch/NEON/MathFunctions.h +++ b/Eigen/src/Core/arch/NEON/MathFunctions.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATH_FUNCTIONS_NEON_H #define EIGEN_MATH_FUNCTIONS_NEON_H diff --git a/Eigen/src/Core/arch/NEON/PacketMath.h b/Eigen/src/Core/arch/NEON/PacketMath.h index 3f2d9d51a..fbc332c4f 100644 --- a/Eigen/src/Core/arch/NEON/PacketMath.h +++ b/Eigen/src/Core/arch/NEON/PacketMath.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_NEON_H #define EIGEN_PACKET_MATH_NEON_H diff --git a/Eigen/src/Core/arch/NEON/TypeCasting.h b/Eigen/src/Core/arch/NEON/TypeCasting.h index 58d7b8cc9..496f03d41 100644 --- a/Eigen/src/Core/arch/NEON/TypeCasting.h +++ b/Eigen/src/Core/arch/NEON/TypeCasting.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TYPE_CASTING_NEON_H #define EIGEN_TYPE_CASTING_NEON_H diff --git a/Eigen/src/Core/arch/NEON/UnaryFunctors.h b/Eigen/src/Core/arch/NEON/UnaryFunctors.h index 8be5bb09c..af9e64894 100644 --- a/Eigen/src/Core/arch/NEON/UnaryFunctors.h +++ b/Eigen/src/Core/arch/NEON/UnaryFunctors.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NEON_UNARY_FUNCTORS_H #define EIGEN_NEON_UNARY_FUNCTORS_H diff --git a/Eigen/src/Core/arch/SSE/Complex.h b/Eigen/src/Core/arch/SSE/Complex.h index c69e3d479..104e78978 100644 --- a/Eigen/src/Core/arch/SSE/Complex.h +++ b/Eigen/src/Core/arch/SSE/Complex.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_SSE_H #define EIGEN_COMPLEX_SSE_H diff --git a/Eigen/src/Core/arch/SSE/MathFunctions.h b/Eigen/src/Core/arch/SSE/MathFunctions.h index 30c1f07ad..c730f5ba8 100644 --- a/Eigen/src/Core/arch/SSE/MathFunctions.h +++ b/Eigen/src/Core/arch/SSE/MathFunctions.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* The sin and cos and functions of this file come from * Julien Pommier's sse math library: http://gruntthepeon.free.fr/ssemath/ diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h index 77f0cfa72..ba1d38109 100644 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_SSE_H #define EIGEN_PACKET_MATH_SSE_H diff --git a/Eigen/src/Core/arch/SSE/TypeCasting.h b/Eigen/src/Core/arch/SSE/TypeCasting.h index 9a7732a60..da7855636 100644 --- a/Eigen/src/Core/arch/SSE/TypeCasting.h +++ b/Eigen/src/Core/arch/SSE/TypeCasting.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TYPE_CASTING_SSE_H #define EIGEN_TYPE_CASTING_SSE_H diff --git a/Eigen/src/Core/arch/SVE/MathFunctions.h b/Eigen/src/Core/arch/SVE/MathFunctions.h index 8c8ed84cf..5e41dab9c 100644 --- a/Eigen/src/Core/arch/SVE/MathFunctions.h +++ b/Eigen/src/Core/arch/SVE/MathFunctions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATH_FUNCTIONS_SVE_H #define EIGEN_MATH_FUNCTIONS_SVE_H diff --git a/Eigen/src/Core/arch/SVE/PacketMath.h b/Eigen/src/Core/arch/SVE/PacketMath.h index 952d7561b..3b8badc93 100644 --- a/Eigen/src/Core/arch/SVE/PacketMath.h +++ b/Eigen/src/Core/arch/SVE/PacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_SVE_H #define EIGEN_PACKET_MATH_SVE_H diff --git a/Eigen/src/Core/arch/SVE/TypeCasting.h b/Eigen/src/Core/arch/SVE/TypeCasting.h index c7027b301..ec266e741 100644 --- a/Eigen/src/Core/arch/SVE/TypeCasting.h +++ b/Eigen/src/Core/arch/SVE/TypeCasting.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TYPE_CASTING_SVE_H #define EIGEN_TYPE_CASTING_SVE_H diff --git a/Eigen/src/Core/arch/SYCL/InteropHeaders.h b/Eigen/src/Core/arch/SYCL/InteropHeaders.h index 578e0f3a7..8db27fc5a 100644 --- a/Eigen/src/Core/arch/SYCL/InteropHeaders.h +++ b/Eigen/src/Core/arch/SYCL/InteropHeaders.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************** * InteropHeaders.h diff --git a/Eigen/src/Core/arch/SYCL/MathFunctions.h b/Eigen/src/Core/arch/SYCL/MathFunctions.h index b20c32b32..b99a04eb6 100644 --- a/Eigen/src/Core/arch/SYCL/MathFunctions.h +++ b/Eigen/src/Core/arch/SYCL/MathFunctions.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************** * MathFunctions.h diff --git a/Eigen/src/Core/arch/SYCL/PacketMath.h b/Eigen/src/Core/arch/SYCL/PacketMath.h index 6b6bfe43b..7ccc1559e 100644 --- a/Eigen/src/Core/arch/SYCL/PacketMath.h +++ b/Eigen/src/Core/arch/SYCL/PacketMath.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************** * PacketMath.h diff --git a/Eigen/src/Core/arch/SYCL/TypeCasting.h b/Eigen/src/Core/arch/SYCL/TypeCasting.h index 6e3fa4fc5..1112797f7 100644 --- a/Eigen/src/Core/arch/SYCL/TypeCasting.h +++ b/Eigen/src/Core/arch/SYCL/TypeCasting.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************** * TypeCasting.h diff --git a/Eigen/src/Core/arch/ZVector/Complex.h b/Eigen/src/Core/arch/ZVector/Complex.h index 9b8974742..6475b6d1e 100644 --- a/Eigen/src/Core/arch/ZVector/Complex.h +++ b/Eigen/src/Core/arch/ZVector/Complex.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX32_ZVECTOR_H #define EIGEN_COMPLEX32_ZVECTOR_H diff --git a/Eigen/src/Core/arch/ZVector/MathFunctions.h b/Eigen/src/Core/arch/ZVector/MathFunctions.h index 32e042554..0ec6eb9d8 100644 --- a/Eigen/src/Core/arch/ZVector/MathFunctions.h +++ b/Eigen/src/Core/arch/ZVector/MathFunctions.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* The sin, cos, exp, and log functions of this file come from * Julien Pommier's sse math library: http://gruntthepeon.free.fr/ssemath/ diff --git a/Eigen/src/Core/arch/ZVector/PacketMath.h b/Eigen/src/Core/arch/ZVector/PacketMath.h index b45681320..6a16d4bb1 100644 --- a/Eigen/src/Core/arch/ZVector/PacketMath.h +++ b/Eigen/src/Core/arch/ZVector/PacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKET_MATH_ZVECTOR_H #define EIGEN_PACKET_MATH_ZVECTOR_H diff --git a/Eigen/src/Core/functors/AssignmentFunctors.h b/Eigen/src/Core/functors/AssignmentFunctors.h index 09d1da8ca..941d1b212 100644 --- a/Eigen/src/Core/functors/AssignmentFunctors.h +++ b/Eigen/src/Core/functors/AssignmentFunctors.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ASSIGNMENT_FUNCTORS_H #define EIGEN_ASSIGNMENT_FUNCTORS_H diff --git a/Eigen/src/Core/functors/BinaryFunctors.h b/Eigen/src/Core/functors/BinaryFunctors.h index c91e6bb52..41b891dae 100644 --- a/Eigen/src/Core/functors/BinaryFunctors.h +++ b/Eigen/src/Core/functors/BinaryFunctors.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BINARY_FUNCTORS_H #define EIGEN_BINARY_FUNCTORS_H diff --git a/Eigen/src/Core/functors/NullaryFunctors.h b/Eigen/src/Core/functors/NullaryFunctors.h index a478b80df..5e4e425e8 100644 --- a/Eigen/src/Core/functors/NullaryFunctors.h +++ b/Eigen/src/Core/functors/NullaryFunctors.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NULLARY_FUNCTORS_H #define EIGEN_NULLARY_FUNCTORS_H diff --git a/Eigen/src/Core/functors/StlFunctors.h b/Eigen/src/Core/functors/StlFunctors.h index 0599ce3f2..2976b419e 100644 --- a/Eigen/src/Core/functors/StlFunctors.h +++ b/Eigen/src/Core/functors/StlFunctors.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STL_FUNCTORS_H #define EIGEN_STL_FUNCTORS_H diff --git a/Eigen/src/Core/functors/TernaryFunctors.h b/Eigen/src/Core/functors/TernaryFunctors.h index 745779a13..e22bd3818 100644 --- a/Eigen/src/Core/functors/TernaryFunctors.h +++ b/Eigen/src/Core/functors/TernaryFunctors.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TERNARY_FUNCTORS_H #define EIGEN_TERNARY_FUNCTORS_H diff --git a/Eigen/src/Core/functors/UnaryFunctors.h b/Eigen/src/Core/functors/UnaryFunctors.h index 03542e331..85ace1439 100644 --- a/Eigen/src/Core/functors/UnaryFunctors.h +++ b/Eigen/src/Core/functors/UnaryFunctors.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_UNARY_FUNCTORS_H #define EIGEN_UNARY_FUNCTORS_H diff --git a/Eigen/src/Core/products/GeneralBlockPanelKernel.h b/Eigen/src/Core/products/GeneralBlockPanelKernel.h index b65c246e7..75378961d 100644 --- a/Eigen/src/Core/products/GeneralBlockPanelKernel.h +++ b/Eigen/src/Core/products/GeneralBlockPanelKernel.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERAL_BLOCK_PANEL_H #define EIGEN_GENERAL_BLOCK_PANEL_H diff --git a/Eigen/src/Core/products/GeneralMatrixMatrix.h b/Eigen/src/Core/products/GeneralMatrixMatrix.h index ebfac0146..3df72da15 100644 --- a/Eigen/src/Core/products/GeneralMatrixMatrix.h +++ b/Eigen/src/Core/products/GeneralMatrixMatrix.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERAL_MATRIX_MATRIX_H #define EIGEN_GENERAL_MATRIX_MATRIX_H diff --git a/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h b/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h index f47615f72..c047ef49a 100644 --- a/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +++ b/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERAL_MATRIX_MATRIX_TRIANGULAR_H #define EIGEN_GENERAL_MATRIX_MATRIX_TRIANGULAR_H diff --git a/Eigen/src/Core/products/GeneralMatrixVector.h b/Eigen/src/Core/products/GeneralMatrixVector.h index ba72a8a4f..7f0e7aeba 100644 --- a/Eigen/src/Core/products/GeneralMatrixVector.h +++ b/Eigen/src/Core/products/GeneralMatrixVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERAL_MATRIX_VECTOR_H #define EIGEN_GENERAL_MATRIX_VECTOR_H diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index 018efa64b..d4a780c15 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PARALLELIZER_H #define EIGEN_PARALLELIZER_H diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..b5bf6cff6 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFADJOINT_MATRIX_MATRIX_H #define EIGEN_SELFADJOINT_MATRIX_MATRIX_H diff --git a/Eigen/src/Core/products/SelfadjointMatrixVector.h b/Eigen/src/Core/products/SelfadjointMatrixVector.h index 10f60266d..c6cb67544 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixVector.h +++ b/Eigen/src/Core/products/SelfadjointMatrixVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFADJOINT_MATRIX_VECTOR_H #define EIGEN_SELFADJOINT_MATRIX_VECTOR_H diff --git a/Eigen/src/Core/products/SelfadjointProduct.h b/Eigen/src/Core/products/SelfadjointProduct.h index f1034655e..7b7e1a7a1 100644 --- a/Eigen/src/Core/products/SelfadjointProduct.h +++ b/Eigen/src/Core/products/SelfadjointProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFADJOINT_PRODUCT_H #define EIGEN_SELFADJOINT_PRODUCT_H diff --git a/Eigen/src/Core/products/SelfadjointRank2Update.h b/Eigen/src/Core/products/SelfadjointRank2Update.h index 9c234ec2a..a5ff189ca 100644 --- a/Eigen/src/Core/products/SelfadjointRank2Update.h +++ b/Eigen/src/Core/products/SelfadjointRank2Update.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFADJOINTRANK2UPTADE_H #define EIGEN_SELFADJOINTRANK2UPTADE_H diff --git a/Eigen/src/Core/products/TriangularMatrixMatrix.h b/Eigen/src/Core/products/TriangularMatrixMatrix.h index a0d05ef8f..8c9434df1 100644 --- a/Eigen/src/Core/products/TriangularMatrixMatrix.h +++ b/Eigen/src/Core/products/TriangularMatrixMatrix.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRIANGULAR_MATRIX_MATRIX_H #define EIGEN_TRIANGULAR_MATRIX_MATRIX_H diff --git a/Eigen/src/Core/products/TriangularMatrixVector.h b/Eigen/src/Core/products/TriangularMatrixVector.h index bef4cbaf8..bdfa42d34 100644 --- a/Eigen/src/Core/products/TriangularMatrixVector.h +++ b/Eigen/src/Core/products/TriangularMatrixVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRIANGULARMATRIXVECTOR_H #define EIGEN_TRIANGULARMATRIXVECTOR_H diff --git a/Eigen/src/Core/products/TriangularSolverMatrix.h b/Eigen/src/Core/products/TriangularSolverMatrix.h index 8244758bd..4c59edc6e 100644 --- a/Eigen/src/Core/products/TriangularSolverMatrix.h +++ b/Eigen/src/Core/products/TriangularSolverMatrix.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRIANGULAR_SOLVER_MATRIX_H #define EIGEN_TRIANGULAR_SOLVER_MATRIX_H diff --git a/Eigen/src/Core/products/TriangularSolverVector.h b/Eigen/src/Core/products/TriangularSolverVector.h index ff7c43f73..cfcbd08a0 100644 --- a/Eigen/src/Core/products/TriangularSolverVector.h +++ b/Eigen/src/Core/products/TriangularSolverVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRIANGULAR_SOLVER_VECTOR_H #define EIGEN_TRIANGULAR_SOLVER_VECTOR_H diff --git a/Eigen/src/Core/util/Assert.h b/Eigen/src/Core/util/Assert.h index 09a411a0d..07c4f43a1 100644 --- a/Eigen/src/Core/util/Assert.h +++ b/Eigen/src/Core/util/Assert.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CORE_UTIL_ASSERT_H #define EIGEN_CORE_UTIL_ASSERT_H diff --git a/Eigen/src/Core/util/BlasUtil.h b/Eigen/src/Core/util/BlasUtil.h index 19d9917d7..6af423771 100644 --- a/Eigen/src/Core/util/BlasUtil.h +++ b/Eigen/src/Core/util/BlasUtil.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BLASUTIL_H #define EIGEN_BLASUTIL_H diff --git a/Eigen/src/Core/util/ConfigureVectorization.h b/Eigen/src/Core/util/ConfigureVectorization.h index 47ddd4f8a..1738e7db7 100644 --- a/Eigen/src/Core/util/ConfigureVectorization.h +++ b/Eigen/src/Core/util/ConfigureVectorization.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CONFIGURE_VECTORIZATION_H #define EIGEN_CONFIGURE_VECTORIZATION_H diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h index 4f0b273ce..7bfd66835 100644 --- a/Eigen/src/Core/util/Constants.h +++ b/Eigen/src/Core/util/Constants.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CONSTANTS_H #define EIGEN_CONSTANTS_H diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h index ab0c542d0..71ffc4011 100644 --- a/Eigen/src/Core/util/DisableStupidWarnings.h +++ b/Eigen/src/Core/util/DisableStupidWarnings.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_WARNINGS_DISABLED #define EIGEN_WARNINGS_DISABLED diff --git a/Eigen/src/Core/util/EmulateArray.h b/Eigen/src/Core/util/EmulateArray.h index f2fd10bb1..7be001ca5 100644 --- a/Eigen/src/Core/util/EmulateArray.h +++ b/Eigen/src/Core/util/EmulateArray.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EMULATE_ARRAY_H #define EIGEN_EMULATE_ARRAY_H diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index cf2535928..1056e6d5b 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_FORWARDDECLARATIONS_H #define EIGEN_FORWARDDECLARATIONS_H diff --git a/Eigen/src/Core/util/IndexedViewHelper.h b/Eigen/src/Core/util/IndexedViewHelper.h index abf4b1950..47912d964 100644 --- a/Eigen/src/Core/util/IndexedViewHelper.h +++ b/Eigen/src/Core/util/IndexedViewHelper.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INDEXED_VIEW_HELPER_H #define EIGEN_INDEXED_VIEW_HELPER_H diff --git a/Eigen/src/Core/util/IntegralConstant.h b/Eigen/src/Core/util/IntegralConstant.h index 53fabd595..3d16a098b 100644 --- a/Eigen/src/Core/util/IntegralConstant.h +++ b/Eigen/src/Core/util/IntegralConstant.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INTEGRAL_CONSTANT_H #define EIGEN_INTEGRAL_CONSTANT_H diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index fb5605164..6ff2eebb9 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MACROS_H #define EIGEN_MACROS_H diff --git a/Eigen/src/Core/util/MaxSizeVector.h b/Eigen/src/Core/util/MaxSizeVector.h index 54b556dd0..e1680cf87 100644 --- a/Eigen/src/Core/util/MaxSizeVector.h +++ b/Eigen/src/Core/util/MaxSizeVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_FIXEDSIZEVECTOR_H #define EIGEN_FIXEDSIZEVECTOR_H diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index a278c9129..bc7ae5e90 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************************** *** Platform checks for aligned malloc functions *** diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 80c893dc4..c25514e0a 100644 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_META_H #define EIGEN_META_H diff --git a/Eigen/src/Core/util/MoreMeta.h b/Eigen/src/Core/util/MoreMeta.h index 2d4aeee23..1977b235d 100644 --- a/Eigen/src/Core/util/MoreMeta.h +++ b/Eigen/src/Core/util/MoreMeta.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MOREMETA_H #define EIGEN_MOREMETA_H diff --git a/Eigen/src/Core/util/ReenableStupidWarnings.h b/Eigen/src/Core/util/ReenableStupidWarnings.h index 0af5a430f..c17a11cf2 100644 --- a/Eigen/src/Core/util/ReenableStupidWarnings.h +++ b/Eigen/src/Core/util/ReenableStupidWarnings.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifdef EIGEN_WARNINGS_DISABLED_2 // "DisableStupidWarnings.h" was included twice recursively: Do not re-enable warnings yet! #undef EIGEN_WARNINGS_DISABLED_2 diff --git a/Eigen/src/Core/util/ReshapedHelper.h b/Eigen/src/Core/util/ReshapedHelper.h index e56940880..40649cd97 100644 --- a/Eigen/src/Core/util/ReshapedHelper.h +++ b/Eigen/src/Core/util/ReshapedHelper.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RESHAPED_HELPER_H #define EIGEN_RESHAPED_HELPER_H diff --git a/Eigen/src/Core/util/Serializer.h b/Eigen/src/Core/util/Serializer.h index 1e1282000..9dc532ebc 100644 --- a/Eigen/src/Core/util/Serializer.h +++ b/Eigen/src/Core/util/Serializer.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SERIALIZER_H #define EIGEN_SERIALIZER_H diff --git a/Eigen/src/Core/util/StaticAssert.h b/Eigen/src/Core/util/StaticAssert.h index f06235404..eeec6c3ef 100644 --- a/Eigen/src/Core/util/StaticAssert.h +++ b/Eigen/src/Core/util/StaticAssert.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STATIC_ASSERT_H #define EIGEN_STATIC_ASSERT_H diff --git a/Eigen/src/Core/util/SymbolicIndex.h b/Eigen/src/Core/util/SymbolicIndex.h index dc204af4b..eef57c7a0 100644 --- a/Eigen/src/Core/util/SymbolicIndex.h +++ b/Eigen/src/Core/util/SymbolicIndex.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SYMBOLIC_INDEX_H #define EIGEN_SYMBOLIC_INDEX_H diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index cecbee865..4634cc01f 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_XPRHELPER_H #define EIGEN_XPRHELPER_H diff --git a/Eigen/src/Eigenvalues/ComplexEigenSolver.h b/Eigen/src/Eigenvalues/ComplexEigenSolver.h index 60a24a899..1cf6c6bf1 100644 --- a/Eigen/src/Eigenvalues/ComplexEigenSolver.h +++ b/Eigen/src/Eigenvalues/ComplexEigenSolver.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_EIGEN_SOLVER_H #define EIGEN_COMPLEX_EIGEN_SOLVER_H diff --git a/Eigen/src/Eigenvalues/ComplexSchur.h b/Eigen/src/Eigenvalues/ComplexSchur.h index a33e46ee7..f8e373e3c 100644 --- a/Eigen/src/Eigenvalues/ComplexSchur.h +++ b/Eigen/src/Eigenvalues/ComplexSchur.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLEX_SCHUR_H #define EIGEN_COMPLEX_SCHUR_H diff --git a/Eigen/src/Eigenvalues/EigenSolver.h b/Eigen/src/Eigenvalues/EigenSolver.h index f73d58f87..bba27e6c9 100644 --- a/Eigen/src/Eigenvalues/EigenSolver.h +++ b/Eigen/src/Eigenvalues/EigenSolver.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EIGENSOLVER_H #define EIGEN_EIGENSOLVER_H diff --git a/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h b/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h index b114cfab5..f9ee24041 100644 --- a/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +++ b/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERALIZEDEIGENSOLVER_H #define EIGEN_GENERALIZEDEIGENSOLVER_H diff --git a/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h b/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h index adff3a3b5..4206beedd 100644 --- a/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +++ b/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H #define EIGEN_GENERALIZEDSELFADJOINTEIGENSOLVER_H diff --git a/Eigen/src/Eigenvalues/HessenbergDecomposition.h b/Eigen/src/Eigenvalues/HessenbergDecomposition.h index f79ee331a..ba11cb62a 100644 --- a/Eigen/src/Eigenvalues/HessenbergDecomposition.h +++ b/Eigen/src/Eigenvalues/HessenbergDecomposition.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HESSENBERGDECOMPOSITION_H #define EIGEN_HESSENBERGDECOMPOSITION_H diff --git a/Eigen/src/Eigenvalues/InternalHeaderCheck.h b/Eigen/src/Eigenvalues/InternalHeaderCheck.h index 374cbd455..4df3d0013 100644 --- a/Eigen/src/Eigenvalues/InternalHeaderCheck.h +++ b/Eigen/src/Eigenvalues/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_EIGENVALUES_MODULE_H #error "Please include Eigen/Eigenvalues instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h b/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h index 62227bdc1..b048d33e0 100644 --- a/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +++ b/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIXBASEEIGENVALUES_H #define EIGEN_MATRIXBASEEIGENVALUES_H diff --git a/Eigen/src/Eigenvalues/RealQZ.h b/Eigen/src/Eigenvalues/RealQZ.h index 3466f51c1..a8c965f83 100644 --- a/Eigen/src/Eigenvalues/RealQZ.h +++ b/Eigen/src/Eigenvalues/RealQZ.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_REAL_QZ_H #define EIGEN_REAL_QZ_H diff --git a/Eigen/src/Eigenvalues/RealSchur.h b/Eigen/src/Eigenvalues/RealSchur.h index 5cef6587b..78b63a0eb 100644 --- a/Eigen/src/Eigenvalues/RealSchur.h +++ b/Eigen/src/Eigenvalues/RealSchur.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_REAL_SCHUR_H #define EIGEN_REAL_SCHUR_H diff --git a/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h b/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h index f84da9139..f24b20811 100644 --- a/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +++ b/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFADJOINTEIGENSOLVER_H #define EIGEN_SELFADJOINTEIGENSOLVER_H diff --git a/Eigen/src/Eigenvalues/Tridiagonalization.h b/Eigen/src/Eigenvalues/Tridiagonalization.h index e49e9db5a..b7caeb849 100644 --- a/Eigen/src/Eigenvalues/Tridiagonalization.h +++ b/Eigen/src/Eigenvalues/Tridiagonalization.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRIDIAGONALIZATION_H #define EIGEN_TRIDIAGONALIZATION_H diff --git a/Eigen/src/Geometry/AngleAxis.h b/Eigen/src/Geometry/AngleAxis.h index a00ed178d..28f240676 100644 --- a/Eigen/src/Geometry/AngleAxis.h +++ b/Eigen/src/Geometry/AngleAxis.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ANGLEAXIS_H #define EIGEN_ANGLEAXIS_H diff --git a/Eigen/src/Geometry/EulerAngles.h b/Eigen/src/Geometry/EulerAngles.h index ad6b821be..6cf8e9f45 100644 --- a/Eigen/src/Geometry/EulerAngles.h +++ b/Eigen/src/Geometry/EulerAngles.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EULERANGLES_H #define EIGEN_EULERANGLES_H diff --git a/Eigen/src/Geometry/Homogeneous.h b/Eigen/src/Geometry/Homogeneous.h index 64c1b651a..22b2a57de 100644 --- a/Eigen/src/Geometry/Homogeneous.h +++ b/Eigen/src/Geometry/Homogeneous.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HOMOGENEOUS_H #define EIGEN_HOMOGENEOUS_H diff --git a/Eigen/src/Geometry/Hyperplane.h b/Eigen/src/Geometry/Hyperplane.h index 0fa0319a0..695e7f965 100644 --- a/Eigen/src/Geometry/Hyperplane.h +++ b/Eigen/src/Geometry/Hyperplane.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HYPERPLANE_H #define EIGEN_HYPERPLANE_H diff --git a/Eigen/src/Geometry/InternalHeaderCheck.h b/Eigen/src/Geometry/InternalHeaderCheck.h index a1159a3c6..56475c9d1 100644 --- a/Eigen/src/Geometry/InternalHeaderCheck.h +++ b/Eigen/src/Geometry/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_GEOMETRY_MODULE_H #error "Please include Eigen/Geometry instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/Geometry/OrthoMethods.h b/Eigen/src/Geometry/OrthoMethods.h index a8e050236..8eb2b68d7 100644 --- a/Eigen/src/Geometry/OrthoMethods.h +++ b/Eigen/src/Geometry/OrthoMethods.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ORTHOMETHODS_H #define EIGEN_ORTHOMETHODS_H diff --git a/Eigen/src/Geometry/ParametrizedLine.h b/Eigen/src/Geometry/ParametrizedLine.h index 5bbd87432..6e3df6bdd 100644 --- a/Eigen/src/Geometry/ParametrizedLine.h +++ b/Eigen/src/Geometry/ParametrizedLine.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PARAMETRIZEDLINE_H #define EIGEN_PARAMETRIZEDLINE_H diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h index 1d8ded9bd..47dac274d 100644 --- a/Eigen/src/Geometry/Quaternion.h +++ b/Eigen/src/Geometry/Quaternion.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_QUATERNION_H #define EIGEN_QUATERNION_H diff --git a/Eigen/src/Geometry/Rotation2D.h b/Eigen/src/Geometry/Rotation2D.h index 59180253a..5940748b9 100644 --- a/Eigen/src/Geometry/Rotation2D.h +++ b/Eigen/src/Geometry/Rotation2D.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ROTATION2D_H #define EIGEN_ROTATION2D_H diff --git a/Eigen/src/Geometry/RotationBase.h b/Eigen/src/Geometry/RotationBase.h index 3a3a3e31c..af90322ad 100644 --- a/Eigen/src/Geometry/RotationBase.h +++ b/Eigen/src/Geometry/RotationBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ROTATIONBASE_H #define EIGEN_ROTATIONBASE_H diff --git a/Eigen/src/Geometry/Scaling.h b/Eigen/src/Geometry/Scaling.h index a0604cee1..96fdd061e 100644 --- a/Eigen/src/Geometry/Scaling.h +++ b/Eigen/src/Geometry/Scaling.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SCALING_H #define EIGEN_SCALING_H diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index b1a9f21fa..2a41ad15d 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRANSFORM_H #define EIGEN_TRANSFORM_H diff --git a/Eigen/src/Geometry/Translation.h b/Eigen/src/Geometry/Translation.h index 682c4c70d..231523102 100644 --- a/Eigen/src/Geometry/Translation.h +++ b/Eigen/src/Geometry/Translation.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRANSLATION_H #define EIGEN_TRANSLATION_H diff --git a/Eigen/src/Geometry/Umeyama.h b/Eigen/src/Geometry/Umeyama.h index f8138b9ae..981a0d42d 100644 --- a/Eigen/src/Geometry/Umeyama.h +++ b/Eigen/src/Geometry/Umeyama.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_UMEYAMA_H #define EIGEN_UMEYAMA_H diff --git a/Eigen/src/Geometry/arch/Geometry_SIMD.h b/Eigen/src/Geometry/arch/Geometry_SIMD.h index 5601a473e..25a2bdef4 100644 --- a/Eigen/src/Geometry/arch/Geometry_SIMD.h +++ b/Eigen/src/Geometry/arch/Geometry_SIMD.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GEOMETRY_SIMD_H #define EIGEN_GEOMETRY_SIMD_H diff --git a/Eigen/src/Householder/BlockHouseholder.h b/Eigen/src/Householder/BlockHouseholder.h index 8b9230491..8b443c471 100644 --- a/Eigen/src/Householder/BlockHouseholder.h +++ b/Eigen/src/Householder/BlockHouseholder.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BLOCK_HOUSEHOLDER_H #define EIGEN_BLOCK_HOUSEHOLDER_H diff --git a/Eigen/src/Householder/Householder.h b/Eigen/src/Householder/Householder.h index 96b1daf5f..1c170c3f0 100644 --- a/Eigen/src/Householder/Householder.h +++ b/Eigen/src/Householder/Householder.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HOUSEHOLDER_H #define EIGEN_HOUSEHOLDER_H diff --git a/Eigen/src/Householder/HouseholderSequence.h b/Eigen/src/Householder/HouseholderSequence.h index 024c4a4be..276b1ded1 100644 --- a/Eigen/src/Householder/HouseholderSequence.h +++ b/Eigen/src/Householder/HouseholderSequence.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HOUSEHOLDER_SEQUENCE_H #define EIGEN_HOUSEHOLDER_SEQUENCE_H diff --git a/Eigen/src/Householder/InternalHeaderCheck.h b/Eigen/src/Householder/InternalHeaderCheck.h index 70de89bf2..780fd8a74 100644 --- a/Eigen/src/Householder/InternalHeaderCheck.h +++ b/Eigen/src/Householder/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_HOUSEHOLDER_MODULE_H #error "Please include Eigen/Householder instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h b/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h index 0beef60c3..ec1974149 100644 --- a/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +++ b/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BASIC_PRECONDITIONERS_H #define EIGEN_BASIC_PRECONDITIONERS_H diff --git a/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h b/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h index e3154b497..ea38146ec 100644 --- a/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +++ b/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BICGSTAB_H #define EIGEN_BICGSTAB_H diff --git a/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h b/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h index 5bb0efe8a..c2759ae34 100644 --- a/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +++ b/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CONJUGATE_GRADIENT_H #define EIGEN_CONJUGATE_GRADIENT_H diff --git a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h index a97b9054c..69028f33e 100644 --- a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +++ b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INCOMPLETE_CHOlESKY_H #define EIGEN_INCOMPLETE_CHOlESKY_H diff --git a/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h b/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h index 575a7b223..7b8022b69 100644 --- a/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +++ b/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INCOMPLETE_LUT_H #define EIGEN_INCOMPLETE_LUT_H diff --git a/Eigen/src/IterativeLinearSolvers/InternalHeaderCheck.h b/Eigen/src/IterativeLinearSolvers/InternalHeaderCheck.h index b657e84de..092899305 100644 --- a/Eigen/src/IterativeLinearSolvers/InternalHeaderCheck.h +++ b/Eigen/src/IterativeLinearSolvers/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_ITERATIVELINEARSOLVERS_MODULE_H #error "Please include Eigen/IterativeLinearSolvers instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h b/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h index cf85f2e3a..b64865bdb 100644 --- a/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +++ b/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ITERATIVE_SOLVER_BASE_H #define EIGEN_ITERATIVE_SOLVER_BASE_H diff --git a/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h b/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h index 182f3190a..947132592 100644 --- a/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +++ b/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LEAST_SQUARE_CONJUGATE_GRADIENT_H #define EIGEN_LEAST_SQUARE_CONJUGATE_GRADIENT_H diff --git a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h index 2b146b373..65bb6f167 100644 --- a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +++ b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SOLVEWITHGUESS_H #define EIGEN_SOLVEWITHGUESS_H diff --git a/Eigen/src/Jacobi/InternalHeaderCheck.h b/Eigen/src/Jacobi/InternalHeaderCheck.h index b17b1f27b..65ba9a733 100644 --- a/Eigen/src/Jacobi/InternalHeaderCheck.h +++ b/Eigen/src/Jacobi/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_JACOBI_MODULE_H #error "Please include Eigen/Jacobi instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/Jacobi/Jacobi.h b/Eigen/src/Jacobi/Jacobi.h index 2686a5237..a45be5f65 100644 --- a/Eigen/src/Jacobi/Jacobi.h +++ b/Eigen/src/Jacobi/Jacobi.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_JACOBI_H #define EIGEN_JACOBI_H diff --git a/Eigen/src/KLUSupport/InternalHeaderCheck.h b/Eigen/src/KLUSupport/InternalHeaderCheck.h index eb1d67159..75e045739 100644 --- a/Eigen/src/KLUSupport/InternalHeaderCheck.h +++ b/Eigen/src/KLUSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_KLUSUPPORT_MODULE_H #error "Please include Eigen/KLUSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/KLUSupport/KLUSupport.h b/Eigen/src/KLUSupport/KLUSupport.h index 574021dc5..badf48b83 100644 --- a/Eigen/src/KLUSupport/KLUSupport.h +++ b/Eigen/src/KLUSupport/KLUSupport.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_KLUSUPPORT_H #define EIGEN_KLUSUPPORT_H diff --git a/Eigen/src/LU/Determinant.h b/Eigen/src/LU/Determinant.h index ae4fee38b..6a399e8f0 100644 --- a/Eigen/src/LU/Determinant.h +++ b/Eigen/src/LU/Determinant.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DETERMINANT_H #define EIGEN_DETERMINANT_H diff --git a/Eigen/src/LU/FullPivLU.h b/Eigen/src/LU/FullPivLU.h index 466834ada..fb5f3c900 100644 --- a/Eigen/src/LU/FullPivLU.h +++ b/Eigen/src/LU/FullPivLU.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LU_H #define EIGEN_LU_H diff --git a/Eigen/src/LU/InternalHeaderCheck.h b/Eigen/src/LU/InternalHeaderCheck.h index f346b1795..deecaf507 100644 --- a/Eigen/src/LU/InternalHeaderCheck.h +++ b/Eigen/src/LU/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_LU_MODULE_H #error "Please include Eigen/LU instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/LU/InverseImpl.h b/Eigen/src/LU/InverseImpl.h index 57fd67735..e79812698 100644 --- a/Eigen/src/LU/InverseImpl.h +++ b/Eigen/src/LU/InverseImpl.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INVERSE_IMPL_H #define EIGEN_INVERSE_IMPL_H diff --git a/Eigen/src/LU/PartialPivLU.h b/Eigen/src/LU/PartialPivLU.h index 1edd6b8d0..8dd705add 100644 --- a/Eigen/src/LU/PartialPivLU.h +++ b/Eigen/src/LU/PartialPivLU.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PARTIALLU_H #define EIGEN_PARTIALLU_H diff --git a/Eigen/src/LU/arch/InverseSize4.h b/Eigen/src/LU/arch/InverseSize4.h index 29c9b0367..58756dffb 100644 --- a/Eigen/src/LU/arch/InverseSize4.h +++ b/Eigen/src/LU/arch/InverseSize4.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // // The algorithm below is a reimplementation of former \src\LU\Inverse_SSE.h using PacketMath. // inv(M) = M#/|M|, where inv(M), M# and |M| denote the inverse of M, diff --git a/Eigen/src/MetisSupport/InternalHeaderCheck.h b/Eigen/src/MetisSupport/InternalHeaderCheck.h index 9d34825f2..8ebd71c70 100644 --- a/Eigen/src/MetisSupport/InternalHeaderCheck.h +++ b/Eigen/src/MetisSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_METISSUPPORT_MODULE_H #error "Please include Eigen/MetisSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/MetisSupport/MetisSupport.h b/Eigen/src/MetisSupport/MetisSupport.h index 6c7bf9465..88f68870f 100644 --- a/Eigen/src/MetisSupport/MetisSupport.h +++ b/Eigen/src/MetisSupport/MetisSupport.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef METIS_SUPPORT_H #define METIS_SUPPORT_H diff --git a/Eigen/src/OrderingMethods/Amd.h b/Eigen/src/OrderingMethods/Amd.h index 0b0bf02ec..4e7d695e9 100644 --- a/Eigen/src/OrderingMethods/Amd.h +++ b/Eigen/src/OrderingMethods/Amd.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* NOTE: this routine has been adapted from the CSparse library: diff --git a/Eigen/src/OrderingMethods/Eigen_Colamd.h b/Eigen/src/OrderingMethods/Eigen_Colamd.h index f6c5be071..cf58d4da7 100644 --- a/Eigen/src/OrderingMethods/Eigen_Colamd.h +++ b/Eigen/src/OrderingMethods/Eigen_Colamd.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This file is modified from the colamd/symamd library. The copyright is below diff --git a/Eigen/src/OrderingMethods/InternalHeaderCheck.h b/Eigen/src/OrderingMethods/InternalHeaderCheck.h index 713c44794..d2483dd4e 100644 --- a/Eigen/src/OrderingMethods/InternalHeaderCheck.h +++ b/Eigen/src/OrderingMethods/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_ORDERINGMETHODS_MODULE_H #error "Please include Eigen/OrderingMethods instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/OrderingMethods/Ordering.h b/Eigen/src/OrderingMethods/Ordering.h index 9a1c5357c..a4d5b66a7 100644 --- a/Eigen/src/OrderingMethods/Ordering.h +++ b/Eigen/src/OrderingMethods/Ordering.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ORDERING_H #define EIGEN_ORDERING_H diff --git a/Eigen/src/PaStiXSupport/InternalHeaderCheck.h b/Eigen/src/PaStiXSupport/InternalHeaderCheck.h index f588e5023..1c6df1eea 100644 --- a/Eigen/src/PaStiXSupport/InternalHeaderCheck.h +++ b/Eigen/src/PaStiXSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_PASTIXSUPPORT_MODULE_H #error "Please include Eigen/PaStiXSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..be4ec84d7 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PASTIXSUPPORT_H #define EIGEN_PASTIXSUPPORT_H diff --git a/Eigen/src/PardisoSupport/InternalHeaderCheck.h b/Eigen/src/PardisoSupport/InternalHeaderCheck.h index 8ef33f051..c059222d9 100644 --- a/Eigen/src/PardisoSupport/InternalHeaderCheck.h +++ b/Eigen/src/PardisoSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_PARDISOSUPPORT_MODULE_H #error "Please include Eigen/PardisoSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/QR/ColPivHouseholderQR.h b/Eigen/src/QR/ColPivHouseholderQR.h index 092c29d61..102d08037 100644 --- a/Eigen/src/QR/ColPivHouseholderQR.h +++ b/Eigen/src/QR/ColPivHouseholderQR.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COLPIVOTINGHOUSEHOLDERQR_H #define EIGEN_COLPIVOTINGHOUSEHOLDERQR_H diff --git a/Eigen/src/QR/CompleteOrthogonalDecomposition.h b/Eigen/src/QR/CompleteOrthogonalDecomposition.h index 960ccb1e9..a2b312fca 100644 --- a/Eigen/src/QR/CompleteOrthogonalDecomposition.h +++ b/Eigen/src/QR/CompleteOrthogonalDecomposition.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPLETEORTHOGONALDECOMPOSITION_H #define EIGEN_COMPLETEORTHOGONALDECOMPOSITION_H diff --git a/Eigen/src/QR/FullPivHouseholderQR.h b/Eigen/src/QR/FullPivHouseholderQR.h index cae9ae4da..dd14a5c6b 100644 --- a/Eigen/src/QR/FullPivHouseholderQR.h +++ b/Eigen/src/QR/FullPivHouseholderQR.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_FULLPIVOTINGHOUSEHOLDERQR_H #define EIGEN_FULLPIVOTINGHOUSEHOLDERQR_H diff --git a/Eigen/src/QR/HouseholderQR.h b/Eigen/src/QR/HouseholderQR.h index e29737258..d21bf4ba4 100644 --- a/Eigen/src/QR/HouseholderQR.h +++ b/Eigen/src/QR/HouseholderQR.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_QR_H #define EIGEN_QR_H diff --git a/Eigen/src/QR/InternalHeaderCheck.h b/Eigen/src/QR/InternalHeaderCheck.h index bf8df01c3..0bd2fed29 100644 --- a/Eigen/src/QR/InternalHeaderCheck.h +++ b/Eigen/src/QR/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_QR_MODULE_H #error "Please include Eigen/QR instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SPQRSupport/InternalHeaderCheck.h b/Eigen/src/SPQRSupport/InternalHeaderCheck.h index 8d94ba4b6..956202b48 100644 --- a/Eigen/src/SPQRSupport/InternalHeaderCheck.h +++ b/Eigen/src/SPQRSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPQRSUPPORT_MODULE_H #error "Please include Eigen/SPQRSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h b/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h index 313279488..cc69f7a67 100644 --- a/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +++ b/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SUITESPARSEQRSUPPORT_H #define EIGEN_SUITESPARSEQRSUPPORT_H diff --git a/Eigen/src/SVD/BDCSVD.h b/Eigen/src/SVD/BDCSVD.h index 6b85d1d5a..fe8a4376c 100644 --- a/Eigen/src/SVD/BDCSVD.h +++ b/Eigen/src/SVD/BDCSVD.h @@ -16,6 +16,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BDCSVD_H #define EIGEN_BDCSVD_H diff --git a/Eigen/src/SVD/InternalHeaderCheck.h b/Eigen/src/SVD/InternalHeaderCheck.h index fa67b96ac..1f5e8908d 100644 --- a/Eigen/src/SVD/InternalHeaderCheck.h +++ b/Eigen/src/SVD/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SVD_MODULE_H #error "Please include Eigen/SVD instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h index e81db2dc2..e9a929222 100644 --- a/Eigen/src/SVD/JacobiSVD.h +++ b/Eigen/src/SVD/JacobiSVD.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_JACOBISVD_H #define EIGEN_JACOBISVD_H diff --git a/Eigen/src/SVD/SVDBase.h b/Eigen/src/SVD/SVDBase.h index d1ad63de2..4779a5a0a 100644 --- a/Eigen/src/SVD/SVDBase.h +++ b/Eigen/src/SVD/SVDBase.h @@ -12,6 +12,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SVDBASE_H #define EIGEN_SVDBASE_H diff --git a/Eigen/src/SVD/UpperBidiagonalization.h b/Eigen/src/SVD/UpperBidiagonalization.h index d78b30bc8..7bedcc668 100644 --- a/Eigen/src/SVD/UpperBidiagonalization.h +++ b/Eigen/src/SVD/UpperBidiagonalization.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BIDIAGONALIZATION_H #define EIGEN_BIDIAGONALIZATION_H diff --git a/Eigen/src/SparseCholesky/InternalHeaderCheck.h b/Eigen/src/SparseCholesky/InternalHeaderCheck.h index f8d876286..4cfe45498 100644 --- a/Eigen/src/SparseCholesky/InternalHeaderCheck.h +++ b/Eigen/src/SparseCholesky/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPARSECHOLESKY_MODULE_H #error "Please include Eigen/SparseCholesky instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky.h b/Eigen/src/SparseCholesky/SimplicialCholesky.h index f3ce975cf..061224827 100644 --- a/Eigen/src/SparseCholesky/SimplicialCholesky.h +++ b/Eigen/src/SparseCholesky/SimplicialCholesky.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SIMPLICIAL_CHOLESKY_H #define EIGEN_SIMPLICIAL_CHOLESKY_H diff --git a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h index 0b13c56b5..867c916cb 100644 --- a/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +++ b/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* NOTE: these functions have been adapted from the LDL library: diff --git a/Eigen/src/SparseCore/AmbiVector.h b/Eigen/src/SparseCore/AmbiVector.h index 9f265f056..4ccab4081 100644 --- a/Eigen/src/SparseCore/AmbiVector.h +++ b/Eigen/src/SparseCore/AmbiVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_AMBIVECTOR_H #define EIGEN_AMBIVECTOR_H diff --git a/Eigen/src/SparseCore/CompressedStorage.h b/Eigen/src/SparseCore/CompressedStorage.h index 8f8a6963a..73f4775d6 100644 --- a/Eigen/src/SparseCore/CompressedStorage.h +++ b/Eigen/src/SparseCore/CompressedStorage.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPRESSED_STORAGE_H #define EIGEN_COMPRESSED_STORAGE_H diff --git a/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h b/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h index 3c6e797bd..431abad9b 100644 --- a/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +++ b/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CONSERVATIVESPARSESPARSEPRODUCT_H #define EIGEN_CONSERVATIVESPARSESPARSEPRODUCT_H diff --git a/Eigen/src/SparseCore/InternalHeaderCheck.h b/Eigen/src/SparseCore/InternalHeaderCheck.h index 9de593657..4bb880fcf 100644 --- a/Eigen/src/SparseCore/InternalHeaderCheck.h +++ b/Eigen/src/SparseCore/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPARSECORE_MODULE_H #error "Please include Eigen/SparseCore instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SparseCore/SparseAssign.h b/Eigen/src/SparseCore/SparseAssign.h index f2da51934..ba403ac68 100644 --- a/Eigen/src/SparseCore/SparseAssign.h +++ b/Eigen/src/SparseCore/SparseAssign.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEASSIGN_H #define EIGEN_SPARSEASSIGN_H diff --git a/Eigen/src/SparseCore/SparseBlock.h b/Eigen/src/SparseCore/SparseBlock.h index 1342f4e7b..6288c74f0 100644 --- a/Eigen/src/SparseCore/SparseBlock.h +++ b/Eigen/src/SparseCore/SparseBlock.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_BLOCK_H #define EIGEN_SPARSE_BLOCK_H diff --git a/Eigen/src/SparseCore/SparseColEtree.h b/Eigen/src/SparseCore/SparseColEtree.h index 76575c99c..011b3f065 100644 --- a/Eigen/src/SparseCore/SparseColEtree.h +++ b/Eigen/src/SparseCore/SparseColEtree.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseCore/SparseCompressedBase.h b/Eigen/src/SparseCore/SparseCompressedBase.h index c1682833d..97c6096b7 100644 --- a/Eigen/src/SparseCore/SparseCompressedBase.h +++ b/Eigen/src/SparseCore/SparseCompressedBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_COMPRESSED_BASE_H #define EIGEN_SPARSE_COMPRESSED_BASE_H diff --git a/Eigen/src/SparseCore/SparseCwiseBinaryOp.h b/Eigen/src/SparseCore/SparseCwiseBinaryOp.h index 7fcf2c219..c25f4bf3f 100644 --- a/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +++ b/Eigen/src/SparseCore/SparseCwiseBinaryOp.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_CWISE_BINARY_OP_H #define EIGEN_SPARSE_CWISE_BINARY_OP_H diff --git a/Eigen/src/SparseCore/SparseCwiseUnaryOp.h b/Eigen/src/SparseCore/SparseCwiseUnaryOp.h index 9fc1e66b8..984c7a5f4 100644 --- a/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +++ b/Eigen/src/SparseCore/SparseCwiseUnaryOp.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_CWISE_UNARY_OP_H #define EIGEN_SPARSE_CWISE_UNARY_OP_H diff --git a/Eigen/src/SparseCore/SparseDenseProduct.h b/Eigen/src/SparseCore/SparseDenseProduct.h index 17ce596a5..7db95d30f 100644 --- a/Eigen/src/SparseCore/SparseDenseProduct.h +++ b/Eigen/src/SparseCore/SparseDenseProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEDENSEPRODUCT_H #define EIGEN_SPARSEDENSEPRODUCT_H diff --git a/Eigen/src/SparseCore/SparseDiagonalProduct.h b/Eigen/src/SparseCore/SparseDiagonalProduct.h index 1f72a6b3c..bfa8f713b 100644 --- a/Eigen/src/SparseCore/SparseDiagonalProduct.h +++ b/Eigen/src/SparseCore/SparseDiagonalProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_DIAGONAL_PRODUCT_H #define EIGEN_SPARSE_DIAGONAL_PRODUCT_H diff --git a/Eigen/src/SparseCore/SparseDot.h b/Eigen/src/SparseCore/SparseDot.h index f040915b2..8af8efab1 100644 --- a/Eigen/src/SparseCore/SparseDot.h +++ b/Eigen/src/SparseCore/SparseDot.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_DOT_H #define EIGEN_SPARSE_DOT_H diff --git a/Eigen/src/SparseCore/SparseFuzzy.h b/Eigen/src/SparseCore/SparseFuzzy.h index 2285845fb..5701778c7 100644 --- a/Eigen/src/SparseCore/SparseFuzzy.h +++ b/Eigen/src/SparseCore/SparseFuzzy.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_FUZZY_H #define EIGEN_SPARSE_FUZZY_H diff --git a/Eigen/src/SparseCore/SparseMap.h b/Eigen/src/SparseCore/SparseMap.h index 73e29c7b1..c3bc75f87 100644 --- a/Eigen/src/SparseCore/SparseMap.h +++ b/Eigen/src/SparseCore/SparseMap.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_MAP_H #define EIGEN_SPARSE_MAP_H diff --git a/Eigen/src/SparseCore/SparseMatrix.h b/Eigen/src/SparseCore/SparseMatrix.h index caa8ffada..d8bb82d8c 100644 --- a/Eigen/src/SparseCore/SparseMatrix.h +++ b/Eigen/src/SparseCore/SparseMatrix.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEMATRIX_H #define EIGEN_SPARSEMATRIX_H diff --git a/Eigen/src/SparseCore/SparseMatrixBase.h b/Eigen/src/SparseCore/SparseMatrixBase.h index b58bb3842..a84d51dd6 100644 --- a/Eigen/src/SparseCore/SparseMatrixBase.h +++ b/Eigen/src/SparseCore/SparseMatrixBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEMATRIXBASE_H #define EIGEN_SPARSEMATRIXBASE_H diff --git a/Eigen/src/SparseCore/SparsePermutation.h b/Eigen/src/SparseCore/SparsePermutation.h index 56f572d35..23ee8c015 100644 --- a/Eigen/src/SparseCore/SparsePermutation.h +++ b/Eigen/src/SparseCore/SparsePermutation.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_PERMUTATION_H #define EIGEN_SPARSE_PERMUTATION_H diff --git a/Eigen/src/SparseCore/SparseProduct.h b/Eigen/src/SparseCore/SparseProduct.h index 249dabc14..5c5a3fc59 100644 --- a/Eigen/src/SparseCore/SparseProduct.h +++ b/Eigen/src/SparseCore/SparseProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEPRODUCT_H #define EIGEN_SPARSEPRODUCT_H diff --git a/Eigen/src/SparseCore/SparseRedux.h b/Eigen/src/SparseCore/SparseRedux.h index 732e4f77a..c9fcaeb5e 100644 --- a/Eigen/src/SparseCore/SparseRedux.h +++ b/Eigen/src/SparseCore/SparseRedux.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEREDUX_H #define EIGEN_SPARSEREDUX_H diff --git a/Eigen/src/SparseCore/SparseRef.h b/Eigen/src/SparseCore/SparseRef.h index c205e6ddd..5a5d9dca5 100644 --- a/Eigen/src/SparseCore/SparseRef.h +++ b/Eigen/src/SparseCore/SparseRef.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_REF_H #define EIGEN_SPARSE_REF_H diff --git a/Eigen/src/SparseCore/SparseSelfAdjointView.h b/Eigen/src/SparseCore/SparseSelfAdjointView.h index 05b3de56e..c3f848772 100644 --- a/Eigen/src/SparseCore/SparseSelfAdjointView.h +++ b/Eigen/src/SparseCore/SparseSelfAdjointView.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_SELFADJOINTVIEW_H #define EIGEN_SPARSE_SELFADJOINTVIEW_H diff --git a/Eigen/src/SparseCore/SparseSolverBase.h b/Eigen/src/SparseCore/SparseSolverBase.h index d67a6773b..6dea5536b 100644 --- a/Eigen/src/SparseCore/SparseSolverBase.h +++ b/Eigen/src/SparseCore/SparseSolverBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSESOLVERBASE_H #define EIGEN_SPARSESOLVERBASE_H diff --git a/Eigen/src/SparseCore/SparseSparseProductWithPruning.h b/Eigen/src/SparseCore/SparseSparseProductWithPruning.h index 6e1c9cf50..96a5c4eda 100644 --- a/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +++ b/Eigen/src/SparseCore/SparseSparseProductWithPruning.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSESPARSEPRODUCTWITHPRUNING_H #define EIGEN_SPARSESPARSEPRODUCTWITHPRUNING_H diff --git a/Eigen/src/SparseCore/SparseTranspose.h b/Eigen/src/SparseCore/SparseTranspose.h index 158f7788b..78cf9ca69 100644 --- a/Eigen/src/SparseCore/SparseTranspose.h +++ b/Eigen/src/SparseCore/SparseTranspose.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSETRANSPOSE_H #define EIGEN_SPARSETRANSPOSE_H diff --git a/Eigen/src/SparseCore/SparseTriangularView.h b/Eigen/src/SparseCore/SparseTriangularView.h index a6c3eaad9..5e137b1f5 100644 --- a/Eigen/src/SparseCore/SparseTriangularView.h +++ b/Eigen/src/SparseCore/SparseTriangularView.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_TRIANGULARVIEW_H #define EIGEN_SPARSE_TRIANGULARVIEW_H diff --git a/Eigen/src/SparseCore/SparseUtil.h b/Eigen/src/SparseCore/SparseUtil.h index 33cedaf3e..a66b5b025 100644 --- a/Eigen/src/SparseCore/SparseUtil.h +++ b/Eigen/src/SparseCore/SparseUtil.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEUTIL_H #define EIGEN_SPARSEUTIL_H diff --git a/Eigen/src/SparseCore/SparseVector.h b/Eigen/src/SparseCore/SparseVector.h index 3f72a34da..9ac0e160d 100644 --- a/Eigen/src/SparseCore/SparseVector.h +++ b/Eigen/src/SparseCore/SparseVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEVECTOR_H #define EIGEN_SPARSEVECTOR_H diff --git a/Eigen/src/SparseCore/SparseView.h b/Eigen/src/SparseCore/SparseView.h index 7220beea4..85a82144b 100644 --- a/Eigen/src/SparseCore/SparseView.h +++ b/Eigen/src/SparseCore/SparseView.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEVIEW_H #define EIGEN_SPARSEVIEW_H diff --git a/Eigen/src/SparseCore/TriangularSolver.h b/Eigen/src/SparseCore/TriangularSolver.h index 7753a246a..7973a290d 100644 --- a/Eigen/src/SparseCore/TriangularSolver.h +++ b/Eigen/src/SparseCore/TriangularSolver.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSETRIANGULARSOLVER_H #define EIGEN_SPARSETRIANGULARSOLVER_H diff --git a/Eigen/src/SparseLU/InternalHeaderCheck.h b/Eigen/src/SparseLU/InternalHeaderCheck.h index 78ebfcc04..2f716b311 100644 --- a/Eigen/src/SparseLU/InternalHeaderCheck.h +++ b/Eigen/src/SparseLU/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPARSELU_MODULE_H #error "Please include Eigen/SparseLU instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SparseLU/SparseLU.h b/Eigen/src/SparseLU/SparseLU.h index cc69a42de..c6d779a65 100644 --- a/Eigen/src/SparseLU/SparseLU.h +++ b/Eigen/src/SparseLU/SparseLU.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_LU_H #define EIGEN_SPARSE_LU_H diff --git a/Eigen/src/SparseLU/SparseLUImpl.h b/Eigen/src/SparseLU/SparseLUImpl.h index 96b9c651e..11817c1a1 100644 --- a/Eigen/src/SparseLU/SparseLUImpl.h +++ b/Eigen/src/SparseLU/SparseLUImpl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef SPARSELU_IMPL_H #define SPARSELU_IMPL_H diff --git a/Eigen/src/SparseLU/SparseLU_Memory.h b/Eigen/src/SparseLU/SparseLU_Memory.h index 22affd221..f38bcbef6 100644 --- a/Eigen/src/SparseLU/SparseLU_Memory.h +++ b/Eigen/src/SparseLU/SparseLU_Memory.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseLU/SparseLU_Structs.h b/Eigen/src/SparseLU/SparseLU_Structs.h index 85ba88416..6a1cdf05e 100644 --- a/Eigen/src/SparseLU/SparseLU_Structs.h +++ b/Eigen/src/SparseLU/SparseLU_Structs.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* * NOTE: This file comes from a partly modified version of files slu_[s,d,c,z]defs.h diff --git a/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h b/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h index eb1590916..58806652d 100644 --- a/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +++ b/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSELU_SUPERNODAL_MATRIX_H #define EIGEN_SPARSELU_SUPERNODAL_MATRIX_H diff --git a/Eigen/src/SparseLU/SparseLU_Utils.h b/Eigen/src/SparseLU/SparseLU_Utils.h index ef087cde5..d4585a3bd 100644 --- a/Eigen/src/SparseLU/SparseLU_Utils.h +++ b/Eigen/src/SparseLU/SparseLU_Utils.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSELU_UTILS_H #define EIGEN_SPARSELU_UTILS_H diff --git a/Eigen/src/SparseLU/SparseLU_column_bmod.h b/Eigen/src/SparseLU/SparseLU_column_bmod.h index 8435b5622..58bae8ccf 100644 --- a/Eigen/src/SparseLU/SparseLU_column_bmod.h +++ b/Eigen/src/SparseLU/SparseLU_column_bmod.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseLU/SparseLU_column_dfs.h b/Eigen/src/SparseLU/SparseLU_column_dfs.h index e5fb77157..81ad7552b 100644 --- a/Eigen/src/SparseLU/SparseLU_column_dfs.h +++ b/Eigen/src/SparseLU/SparseLU_column_dfs.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h b/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h index 12e7650c4..e2fc0e66a 100644 --- a/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +++ b/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* * NOTE: This file is the modified version of [s,d,c,z]copy_to_ucol.c file in SuperLU diff --git a/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h b/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h index 8df830b08..da95fd194 100644 --- a/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +++ b/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* This file is a modified version of heap_relax_snode.c file in SuperLU * -- SuperLU routine (version 3.0) -- diff --git a/Eigen/src/SparseLU/SparseLU_kernel_bmod.h b/Eigen/src/SparseLU/SparseLU_kernel_bmod.h index 54bda0c51..c1a2d754d 100644 --- a/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +++ b/Eigen/src/SparseLU/SparseLU_kernel_bmod.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef SPARSELU_KERNEL_BMOD_H #define SPARSELU_KERNEL_BMOD_H diff --git a/Eigen/src/SparseLU/SparseLU_panel_bmod.h b/Eigen/src/SparseLU/SparseLU_panel_bmod.h index 505d98297..9a016c7d9 100644 --- a/Eigen/src/SparseLU/SparseLU_panel_bmod.h +++ b/Eigen/src/SparseLU/SparseLU_panel_bmod.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseLU/SparseLU_panel_dfs.h b/Eigen/src/SparseLU/SparseLU_panel_dfs.h index df3154845..90f5d195a 100644 --- a/Eigen/src/SparseLU/SparseLU_panel_dfs.h +++ b/Eigen/src/SparseLU/SparseLU_panel_dfs.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseLU/SparseLU_pivotL.h b/Eigen/src/SparseLU/SparseLU_pivotL.h index 10a090b53..e27dae130 100644 --- a/Eigen/src/SparseLU/SparseLU_pivotL.h +++ b/Eigen/src/SparseLU/SparseLU_pivotL.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseLU/SparseLU_pruneL.h b/Eigen/src/SparseLU/SparseLU_pruneL.h index 620f2850c..58d710862 100644 --- a/Eigen/src/SparseLU/SparseLU_pruneL.h +++ b/Eigen/src/SparseLU/SparseLU_pruneL.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/Eigen/src/SparseLU/SparseLU_relax_snode.h b/Eigen/src/SparseLU/SparseLU_relax_snode.h index df3869eb0..69dd53aa6 100644 --- a/Eigen/src/SparseLU/SparseLU_relax_snode.h +++ b/Eigen/src/SparseLU/SparseLU_relax_snode.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* This file is a modified version of heap_relax_snode.c file in SuperLU * -- SuperLU routine (version 3.0) -- diff --git a/Eigen/src/SparseQR/InternalHeaderCheck.h b/Eigen/src/SparseQR/InternalHeaderCheck.h index 0564e932a..47f1b600b 100644 --- a/Eigen/src/SparseQR/InternalHeaderCheck.h +++ b/Eigen/src/SparseQR/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPARSEQR_MODULE_H #error "Please include Eigen/SparseQR instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SparseQR/SparseQR.h b/Eigen/src/SparseQR/SparseQR.h index acb0c5ffc..78068fa1d 100644 --- a/Eigen/src/SparseQR/SparseQR.h +++ b/Eigen/src/SparseQR/SparseQR.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_QR_H #define EIGEN_SPARSE_QR_H diff --git a/Eigen/src/StlSupport/StdDeque.h b/Eigen/src/StlSupport/StdDeque.h index 692281bea..df2b5cd44 100644 --- a/Eigen/src/StlSupport/StdDeque.h +++ b/Eigen/src/StlSupport/StdDeque.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STDDEQUE_H #define EIGEN_STDDEQUE_H diff --git a/Eigen/src/StlSupport/StdList.h b/Eigen/src/StlSupport/StdList.h index 26395df3d..46f3bb11d 100644 --- a/Eigen/src/StlSupport/StdList.h +++ b/Eigen/src/StlSupport/StdList.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STDLIST_H #define EIGEN_STDLIST_H diff --git a/Eigen/src/StlSupport/StdVector.h b/Eigen/src/StlSupport/StdVector.h index dd538e954..1b8b44fb4 100644 --- a/Eigen/src/StlSupport/StdVector.h +++ b/Eigen/src/StlSupport/StdVector.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STDVECTOR_H #define EIGEN_STDVECTOR_H diff --git a/Eigen/src/StlSupport/details.h b/Eigen/src/StlSupport/details.h index 9bc9d2107..9e47fb620 100644 --- a/Eigen/src/StlSupport/details.h +++ b/Eigen/src/StlSupport/details.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STL_DETAILS_H #define EIGEN_STL_DETAILS_H diff --git a/Eigen/src/SuperLUSupport/InternalHeaderCheck.h b/Eigen/src/SuperLUSupport/InternalHeaderCheck.h index 94a62b550..f61133701 100644 --- a/Eigen/src/SuperLUSupport/InternalHeaderCheck.h +++ b/Eigen/src/SuperLUSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SUPERLUSUPPORT_MODULE_H #error "Please include Eigen/SuperLUSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/SuperLUSupport/SuperLUSupport.h b/Eigen/src/SuperLUSupport/SuperLUSupport.h index 0c101494a..5790bde6c 100644 --- a/Eigen/src/SuperLUSupport/SuperLUSupport.h +++ b/Eigen/src/SuperLUSupport/SuperLUSupport.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SUPERLUSUPPORT_H #define EIGEN_SUPERLUSUPPORT_H diff --git a/Eigen/src/ThreadPool/Barrier.h b/Eigen/src/ThreadPool/Barrier.h index 8b2f8da71..90da88627 100644 --- a/Eigen/src/ThreadPool/Barrier.h +++ b/Eigen/src/ThreadPool/Barrier.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // Barrier is an object that allows one or more threads to wait until // Notify has been called a specified number of times. diff --git a/Eigen/src/ThreadPool/CoreThreadPoolDevice.h b/Eigen/src/ThreadPool/CoreThreadPoolDevice.h index acf1d628b..317c11153 100644 --- a/Eigen/src/ThreadPool/CoreThreadPoolDevice.h +++ b/Eigen/src/ThreadPool/CoreThreadPoolDevice.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CORE_THREAD_POOL_DEVICE_H #define EIGEN_CORE_THREAD_POOL_DEVICE_H diff --git a/Eigen/src/ThreadPool/EventCount.h b/Eigen/src/ThreadPool/EventCount.h index 6eda6f4b6..8c82843d7 100644 --- a/Eigen/src/ThreadPool/EventCount.h +++ b/Eigen/src/ThreadPool/EventCount.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_EVENTCOUNT_H #define EIGEN_CXX11_THREADPOOL_EVENTCOUNT_H diff --git a/Eigen/src/ThreadPool/InternalHeaderCheck.h b/Eigen/src/ThreadPool/InternalHeaderCheck.h index 5b27ef436..05455f1be 100644 --- a/Eigen/src/ThreadPool/InternalHeaderCheck.h +++ b/Eigen/src/ThreadPool/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_THREADPOOL_MODULE_H #error \ "Please include unsupported/Eigen/CXX11/ThreadPool instead of including headers inside the src directory directly." diff --git a/Eigen/src/ThreadPool/NonBlockingThreadPool.h b/Eigen/src/ThreadPool/NonBlockingThreadPool.h index b6abc3cba..fa9470790 100644 --- a/Eigen/src/ThreadPool/NonBlockingThreadPool.h +++ b/Eigen/src/ThreadPool/NonBlockingThreadPool.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_NONBLOCKING_THREAD_POOL_H #define EIGEN_CXX11_THREADPOOL_NONBLOCKING_THREAD_POOL_H diff --git a/Eigen/src/ThreadPool/RunQueue.h b/Eigen/src/ThreadPool/RunQueue.h index 9046b1801..44747750b 100644 --- a/Eigen/src/ThreadPool/RunQueue.h +++ b/Eigen/src/ThreadPool/RunQueue.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_RUNQUEUE_H #define EIGEN_CXX11_THREADPOOL_RUNQUEUE_H diff --git a/Eigen/src/ThreadPool/ThreadCancel.h b/Eigen/src/ThreadPool/ThreadCancel.h index 6f4dc67d2..321ed9e6d 100644 --- a/Eigen/src/ThreadPool/ThreadCancel.h +++ b/Eigen/src/ThreadPool/ThreadCancel.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_THREAD_CANCEL_H #define EIGEN_CXX11_THREADPOOL_THREAD_CANCEL_H diff --git a/Eigen/src/ThreadPool/ThreadEnvironment.h b/Eigen/src/ThreadPool/ThreadEnvironment.h index b4dd05c76..db527cd34 100644 --- a/Eigen/src/ThreadPool/ThreadEnvironment.h +++ b/Eigen/src/ThreadPool/ThreadEnvironment.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_THREAD_ENVIRONMENT_H #define EIGEN_CXX11_THREADPOOL_THREAD_ENVIRONMENT_H diff --git a/Eigen/src/ThreadPool/ThreadLocal.h b/Eigen/src/ThreadPool/ThreadLocal.h index 71df401ad..2b9968ae3 100644 --- a/Eigen/src/ThreadPool/ThreadLocal.h +++ b/Eigen/src/ThreadPool/ThreadLocal.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_THREAD_LOCAL_H #define EIGEN_CXX11_THREADPOOL_THREAD_LOCAL_H diff --git a/Eigen/src/ThreadPool/ThreadPoolInterface.h b/Eigen/src/ThreadPool/ThreadPoolInterface.h index d07c03e8a..4cf6fac20 100644 --- a/Eigen/src/ThreadPool/ThreadPoolInterface.h +++ b/Eigen/src/ThreadPool/ThreadPoolInterface.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H #define EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H diff --git a/Eigen/src/ThreadPool/ThreadYield.h b/Eigen/src/ThreadPool/ThreadYield.h index f556ff632..e0502a0c6 100644 --- a/Eigen/src/ThreadPool/ThreadYield.h +++ b/Eigen/src/ThreadPool/ThreadYield.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_THREADPOOL_THREAD_YIELD_H #define EIGEN_CXX11_THREADPOOL_THREAD_YIELD_H diff --git a/Eigen/src/UmfPackSupport/InternalHeaderCheck.h b/Eigen/src/UmfPackSupport/InternalHeaderCheck.h index 64112f1a4..cc24bf050 100644 --- a/Eigen/src/UmfPackSupport/InternalHeaderCheck.h +++ b/Eigen/src/UmfPackSupport/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_UMFPACKSUPPORT_MODULE_H #error "Please include Eigen/UmfPackSupport instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/UmfPackSupport/UmfPackSupport.h b/Eigen/src/UmfPackSupport/UmfPackSupport.h index 3fdcc1fd4..55c8f8d9c 100644 --- a/Eigen/src/UmfPackSupport/UmfPackSupport.h +++ b/Eigen/src/UmfPackSupport/UmfPackSupport.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_UMFPACKSUPPORT_H #define EIGEN_UMFPACKSUPPORT_H diff --git a/Eigen/src/misc/Image.h b/Eigen/src/misc/Image.h index 38d516e28..955c53c13 100644 --- a/Eigen/src/misc/Image.h +++ b/Eigen/src/misc/Image.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MISC_IMAGE_H #define EIGEN_MISC_IMAGE_H diff --git a/Eigen/src/misc/InternalHeaderCheck.h b/Eigen/src/misc/InternalHeaderCheck.h index 1cea572dc..7696f15f5 100644 --- a/Eigen/src/misc/InternalHeaderCheck.h +++ b/Eigen/src/misc/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_CORE_MODULE_H #error "Please include Eigen/Core instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/misc/Kernel.h b/Eigen/src/misc/Kernel.h index 3ed458bc5..0105c807d 100644 --- a/Eigen/src/misc/Kernel.h +++ b/Eigen/src/misc/Kernel.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MISC_KERNEL_H #define EIGEN_MISC_KERNEL_H diff --git a/Eigen/src/misc/RealSvd2x2.h b/Eigen/src/misc/RealSvd2x2.h index 332a5abbc..e52b6bdcd 100644 --- a/Eigen/src/misc/RealSvd2x2.h +++ b/Eigen/src/misc/RealSvd2x2.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_REALSVD2X2_H #define EIGEN_REALSVD2X2_H diff --git a/Eigen/src/misc/blas.h b/Eigen/src/misc/blas.h index f12bc7cd9..b4920a972 100644 --- a/Eigen/src/misc/blas.h +++ b/Eigen/src/misc/blas.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_MISC_BLAS_H #define EIGEN_MISC_BLAS_H diff --git a/Eigen/src/misc/lapacke_helpers.h b/Eigen/src/misc/lapacke_helpers.h index 5a2f38fc2..613e9eebc 100644 --- a/Eigen/src/misc/lapacke_helpers.h +++ b/Eigen/src/misc/lapacke_helpers.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LAPACKE_HELPERS_H #define EIGEN_LAPACKE_HELPERS_H diff --git a/Eigen/src/misc/lapacke_mangling.h b/Eigen/src/misc/lapacke_mangling.h index d852de7a1..d027ec290 100644 --- a/Eigen/src/misc/lapacke_mangling.h +++ b/Eigen/src/misc/lapacke_mangling.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef LAPACK_HEADER_INCLUDED #define LAPACK_HEADER_INCLUDED diff --git a/Eigen/src/plugins/ArrayCwiseBinaryOps.inc b/Eigen/src/plugins/ArrayCwiseBinaryOps.inc index 10c7a3e21..44fe6deb5 100644 --- a/Eigen/src/plugins/ArrayCwiseBinaryOps.inc +++ b/Eigen/src/plugins/ArrayCwiseBinaryOps.inc @@ -1,3 +1,6 @@ +/** + * SPDX-License-Identifier: MPL-2.0 + */ /** \returns an expression of the coefficient wise product of \c *this and \a other * diff --git a/Eigen/src/plugins/ArrayCwiseUnaryOps.inc b/Eigen/src/plugins/ArrayCwiseUnaryOps.inc index 93f7eabe5..a8f660871 100644 --- a/Eigen/src/plugins/ArrayCwiseUnaryOps.inc +++ b/Eigen/src/plugins/ArrayCwiseUnaryOps.inc @@ -1,3 +1,7 @@ +/** + * SPDX-License-Identifier: MPL-2.0 + */ + typedef CwiseUnaryOp, const Derived> AbsReturnType; typedef CwiseUnaryOp, const Derived> ArgReturnType; typedef CwiseUnaryOp, const Derived> CArgReturnType; diff --git a/Eigen/src/plugins/BlockMethods.inc b/Eigen/src/plugins/BlockMethods.inc index 46dc9ddd1..bb9315f2e 100644 --- a/Eigen/src/plugins/BlockMethods.inc +++ b/Eigen/src/plugins/BlockMethods.inc @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PARSED_BY_DOXYGEN diff --git a/Eigen/src/plugins/CommonCwiseBinaryOps.inc b/Eigen/src/plugins/CommonCwiseBinaryOps.inc index 95f338a06..a7744e9dc 100644 --- a/Eigen/src/plugins/CommonCwiseBinaryOps.inc +++ b/Eigen/src/plugins/CommonCwiseBinaryOps.inc @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This file is a base class plugin containing common coefficient wise functions. diff --git a/Eigen/src/plugins/CommonCwiseUnaryOps.inc b/Eigen/src/plugins/CommonCwiseUnaryOps.inc index 64f364884..47acc4a9e 100644 --- a/Eigen/src/plugins/CommonCwiseUnaryOps.inc +++ b/Eigen/src/plugins/CommonCwiseUnaryOps.inc @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This file is a base class plugin containing common coefficient wise functions. diff --git a/Eigen/src/plugins/IndexedViewMethods.inc b/Eigen/src/plugins/IndexedViewMethods.inc index a51e3492f..591912206 100644 --- a/Eigen/src/plugins/IndexedViewMethods.inc +++ b/Eigen/src/plugins/IndexedViewMethods.inc @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if !defined(EIGEN_PARSED_BY_DOXYGEN) diff --git a/Eigen/src/plugins/InternalHeaderCheck.inc b/Eigen/src/plugins/InternalHeaderCheck.inc index ac6821d18..5b6bcc4b5 100644 --- a/Eigen/src/plugins/InternalHeaderCheck.inc +++ b/Eigen/src/plugins/InternalHeaderCheck.inc @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_CORE_MODULE_H #error "Please include Eigen/plugins instead of including headers inside the src directory directly." #endif diff --git a/Eigen/src/plugins/MatrixCwiseBinaryOps.inc b/Eigen/src/plugins/MatrixCwiseBinaryOps.inc index fae92d8d9..77769b4df 100644 --- a/Eigen/src/plugins/MatrixCwiseBinaryOps.inc +++ b/Eigen/src/plugins/MatrixCwiseBinaryOps.inc @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This file is a base class plugin containing matrix specifics coefficient wise functions. diff --git a/Eigen/src/plugins/MatrixCwiseUnaryOps.inc b/Eigen/src/plugins/MatrixCwiseUnaryOps.inc index 325b0fbe0..3b40241ff 100644 --- a/Eigen/src/plugins/MatrixCwiseUnaryOps.inc +++ b/Eigen/src/plugins/MatrixCwiseUnaryOps.inc @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This file is included into the body of the base classes supporting matrix specific coefficient-wise functions. // This include MatrixBase and SparseMatrixBase. diff --git a/Eigen/src/plugins/ReshapedMethods.inc b/Eigen/src/plugins/ReshapedMethods.inc index c1f90e729..c884cec38 100644 --- a/Eigen/src/plugins/ReshapedMethods.inc +++ b/Eigen/src/plugins/ReshapedMethods.inc @@ -1,4 +1,6 @@ +/// SPDX-License-Identifier: MPL-2.0 + #ifdef EIGEN_PARSED_BY_DOXYGEN /// \returns an expression of \c *this with reshaped sizes. diff --git a/bench/BenchTimer.h b/bench/BenchTimer.h index 0b8c63c1d..9d03a8233 100644 --- a/bench/BenchTimer.h +++ b/bench/BenchTimer.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BENCH_TIMERR_H #define EIGEN_BENCH_TIMERR_H diff --git a/bench/analyze-blocking-sizes.cpp b/bench/analyze-blocking-sizes.cpp index c436739af..4173657c0 100644 --- a/bench/analyze-blocking-sizes.cpp +++ b/bench/analyze-blocking-sizes.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/bench/benchFFT.cpp b/bench/benchFFT.cpp index 3c33e77ae..ea6236cc2 100644 --- a/bench/benchFFT.cpp +++ b/bench/benchFFT.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/bench/bench_move_semantics.cpp b/bench/bench_move_semantics.cpp index 8b7341ab8..5f4c65d66 100644 --- a/bench/bench_move_semantics.cpp +++ b/bench/bench_move_semantics.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "BenchTimer.h" #include "../test/MovableScalar.h" diff --git a/bench/benchmark-blocking-sizes.cpp b/bench/benchmark-blocking-sizes.cpp index 8c94a797e..4c40a9c9a 100644 --- a/bench/benchmark-blocking-sizes.cpp +++ b/bench/benchmark-blocking-sizes.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/bench/btl/libs/tensors/main_linear.cpp b/bench/btl/libs/tensors/main_linear.cpp index 5d99b09fd..6c34bc482 100644 --- a/bench/btl/libs/tensors/main_linear.cpp +++ b/bench/btl/libs/tensors/main_linear.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "utilities.h" #include "tensor_interface.hh" diff --git a/bench/btl/libs/tensors/main_matmat.cpp b/bench/btl/libs/tensors/main_matmat.cpp index f2b80dfd7..81a1743f8 100644 --- a/bench/btl/libs/tensors/main_matmat.cpp +++ b/bench/btl/libs/tensors/main_matmat.cpp @@ -5,6 +5,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // #include "utilities.h" #include "tensor_interface.hh" diff --git a/bench/btl/libs/tensors/main_vecmat.cpp b/bench/btl/libs/tensors/main_vecmat.cpp index fae2c551e..e5cfecadd 100644 --- a/bench/btl/libs/tensors/main_vecmat.cpp +++ b/bench/btl/libs/tensors/main_vecmat.cpp @@ -5,6 +5,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // #include "utilities.h" #include "tensor_interface.hh" diff --git a/bench/btl/libs/tensors/tensor_interface.hh b/bench/btl/libs/tensors/tensor_interface.hh index 3ff8e941c..1e60f4b1d 100644 --- a/bench/btl/libs/tensors/tensor_interface.hh +++ b/bench/btl/libs/tensors/tensor_interface.hh @@ -5,6 +5,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // #ifndef TENSOR_INTERFACE_HH #define TENSOR_INTERFACE_HH diff --git a/bench/eig33.cpp b/bench/eig33.cpp index 25df142fe..61f2ec130 100644 --- a/bench/eig33.cpp +++ b/bench/eig33.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // The computeRoots function included in this is based on materials // covered by the following copyright and license: diff --git a/bench/spbench/spbenchsolver.h b/bench/spbench/spbenchsolver.h index 811a056e3..860494129 100644 --- a/bench/spbench/spbenchsolver.h +++ b/bench/spbench/spbenchsolver.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/bench/spbench/spbenchstyle.h b/bench/spbench/spbenchstyle.h index 3f51402b1..64ffb7c27 100644 --- a/bench/spbench/spbenchstyle.h +++ b/bench/spbench/spbenchstyle.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef SPBENCHSTYLE_H #define SPBENCHSTYLE_H diff --git a/bench/tensors/tensor_contract_sycl_bench.cc b/bench/tensors/tensor_contract_sycl_bench.cc index 300695b10..e248101ce 100644 --- a/bench/tensors/tensor_contract_sycl_bench.cc +++ b/bench/tensors/tensor_contract_sycl_bench.cc @@ -10,6 +10,8 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_BENCH_CONTRACT_SYCL #define EIGEN_BENCH_CONTRACT_SYCL #define EIGEN_TEST_NO_LONGDOUBLE diff --git a/blas/BandTriangularSolver.h b/blas/BandTriangularSolver.h index f9bfdc1d4..00c7c2890 100644 --- a/blas/BandTriangularSolver.h +++ b/blas/BandTriangularSolver.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BAND_TRIANGULARSOLVER_H #define EIGEN_BAND_TRIANGULARSOLVER_H diff --git a/blas/GeneralRank1Update.h b/blas/GeneralRank1Update.h index e6c3cab10..953295904 100644 --- a/blas/GeneralRank1Update.h +++ b/blas/GeneralRank1Update.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GENERAL_RANK1UPDATE_H #define EIGEN_GENERAL_RANK1UPDATE_H diff --git a/blas/PackedSelfadjointProduct.h b/blas/PackedSelfadjointProduct.h index 5109960fb..de237fe79 100644 --- a/blas/PackedSelfadjointProduct.h +++ b/blas/PackedSelfadjointProduct.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SELFADJOINT_PACKED_PRODUCT_H #define EIGEN_SELFADJOINT_PACKED_PRODUCT_H diff --git a/blas/PackedTriangularMatrixVector.h b/blas/PackedTriangularMatrixVector.h index 4e8e085c0..61ffa9d15 100644 --- a/blas/PackedTriangularMatrixVector.h +++ b/blas/PackedTriangularMatrixVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKED_TRIANGULAR_MATRIX_VECTOR_H #define EIGEN_PACKED_TRIANGULAR_MATRIX_VECTOR_H diff --git a/blas/PackedTriangularSolverVector.h b/blas/PackedTriangularSolverVector.h index 92964fb08..4f25bd9fa 100644 --- a/blas/PackedTriangularSolverVector.h +++ b/blas/PackedTriangularSolverVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_PACKED_TRIANGULAR_SOLVER_VECTOR_H #define EIGEN_PACKED_TRIANGULAR_SOLVER_VECTOR_H diff --git a/blas/Rank2Update.h b/blas/Rank2Update.h index 9cb96eed3..aea2b1d1f 100644 --- a/blas/Rank2Update.h +++ b/blas/Rank2Update.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RANK2UPDATE_H #define EIGEN_RANK2UPDATE_H diff --git a/blas/common.h b/blas/common.h index 9e46b6e8b..e06e2845e 100644 --- a/blas/common.h +++ b/blas/common.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BLAS_COMMON_H #define EIGEN_BLAS_COMMON_H diff --git a/blas/complex_double.cpp b/blas/complex_double.cpp index 94b9d2085..3be14464c 100644 --- a/blas/complex_double.cpp +++ b/blas/complex_double.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR std::complex #define SCALAR_SUFFIX z diff --git a/blas/complex_single.cpp b/blas/complex_single.cpp index 842faec4a..edef9956d 100644 --- a/blas/complex_single.cpp +++ b/blas/complex_single.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR std::complex #define SCALAR_SUFFIX c diff --git a/blas/double.cpp b/blas/double.cpp index 28a25634b..eb99aae25 100644 --- a/blas/double.cpp +++ b/blas/double.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR double #define SCALAR_SUFFIX d diff --git a/blas/level1_cplx_impl.h b/blas/level1_cplx_impl.h index 3181a5038..f98e74b29 100644 --- a/blas/level1_cplx_impl.h +++ b/blas/level1_cplx_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "common.h" diff --git a/blas/level1_impl.h b/blas/level1_impl.h index a65af92d5..0caa1745c 100644 --- a/blas/level1_impl.h +++ b/blas/level1_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "common.h" diff --git a/blas/level1_real_impl.h b/blas/level1_real_impl.h index 202f4324d..c02fbbb8c 100644 --- a/blas/level1_real_impl.h +++ b/blas/level1_real_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "common.h" diff --git a/blas/level2_cplx_impl.h b/blas/level2_cplx_impl.h index d1ce492ac..e4619c683 100644 --- a/blas/level2_cplx_impl.h +++ b/blas/level2_cplx_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "common.h" diff --git a/blas/level2_impl.h b/blas/level2_impl.h index ca9f48f3d..8be820f62 100644 --- a/blas/level2_impl.h +++ b/blas/level2_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "common.h" diff --git a/blas/level2_real_impl.h b/blas/level2_real_impl.h index 415944cc0..42ca527d9 100644 --- a/blas/level2_real_impl.h +++ b/blas/level2_real_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "common.h" diff --git a/blas/level3_impl.h b/blas/level3_impl.h index 66a7d468b..1a1c4c8b6 100644 --- a/blas/level3_impl.h +++ b/blas/level3_impl.h @@ -6,6 +6,8 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 + #include #include "common.h" diff --git a/blas/single.cpp b/blas/single.cpp index fefb6954d..6928c0541 100644 --- a/blas/single.cpp +++ b/blas/single.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR float #define SCALAR_SUFFIX s diff --git a/ci/CTest2JUnit.xsl b/ci/CTest2JUnit.xsl index 8ba21f4e6..515d989f3 100644 --- a/ci/CTest2JUnit.xsl +++ b/ci/CTest2JUnit.xsl @@ -1,3 +1,7 @@ + + diff --git a/ci/README.md b/ci/README.md index bb16f886a..2d36b9548 100644 --- a/ci/README.md +++ b/ci/README.md @@ -1,3 +1,7 @@ + + ## Eigen CI infrastructure Eigen's CI infrastructure uses three stages: diff --git a/ci/build.linux.gitlab-ci.yml b/ci/build.linux.gitlab-ci.yml index e46b38f27..17fa29d7c 100644 --- a/ci/build.linux.gitlab-ci.yml +++ b/ci/build.linux.gitlab-ci.yml @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Base configuration for linux cross-compilation. .build:linux:cross: extends: .common:linux:cross diff --git a/ci/build.windows.gitlab-ci.yml b/ci/build.windows.gitlab-ci.yml index 2fc21beab..7b329a5d4 100644 --- a/ci/build.windows.gitlab-ci.yml +++ b/ci/build.windows.gitlab-ci.yml @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Base configuration for windows builds. .build:windows: extends: .common:windows diff --git a/ci/checkformat.gitlab-ci.yml b/ci/checkformat.gitlab-ci.yml index abf979d89..4c995c24c 100644 --- a/ci/checkformat.gitlab-ci.yml +++ b/ci/checkformat.gitlab-ci.yml @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + checkformat:clangformat: stage: checkformat image: ubuntu:latest diff --git a/ci/common.gitlab-ci.yml b/ci/common.gitlab-ci.yml index 4a0283f61..afda81cdc 100644 --- a/ci/common.gitlab-ci.yml +++ b/ci/common.gitlab-ci.yml @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Base configuration for linux builds and tests. .common:linux:cross: image: ubuntu:20.04 diff --git a/ci/scripts/build.linux.script.sh b/ci/scripts/build.linux.script.sh index d00edbfda..d43d63deb 100644 --- a/ci/scripts/build.linux.script.sh +++ b/ci/scripts/build.linux.script.sh @@ -1,5 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 + set -x # Create and enter build directory. diff --git a/ci/scripts/build.windows.script.ps1 b/ci/scripts/build.windows.script.ps1 index 2249d008d..084b2aa47 100644 --- a/ci/scripts/build.windows.script.ps1 +++ b/ci/scripts/build.windows.script.ps1 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Find Visual Studio installation directory. $VS_INSTALL_DIR = &"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath diff --git a/ci/scripts/common.linux.before_script.sh b/ci/scripts/common.linux.before_script.sh index 9222a843e..9439f57e9 100644 --- a/ci/scripts/common.linux.before_script.sh +++ b/ci/scripts/common.linux.before_script.sh @@ -1,5 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 + set -x echo "Running ${CI_JOB_NAME}" diff --git a/ci/scripts/common.windows.before_script.ps1 b/ci/scripts/common.windows.before_script.ps1 index 3a6f456a7..18679d902 100644 --- a/ci/scripts/common.windows.before_script.ps1 +++ b/ci/scripts/common.windows.before_script.ps1 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + echo "Running ${CI_JOB_NAME}" # Print configuration variables. diff --git a/ci/scripts/test.linux.after_script.sh b/ci/scripts/test.linux.after_script.sh index 3bc0c2f4b..7b90e6408 100644 --- a/ci/scripts/test.linux.after_script.sh +++ b/ci/scripts/test.linux.after_script.sh @@ -1,5 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 + set -x # Enter build directory. diff --git a/ci/scripts/test.linux.script.sh b/ci/scripts/test.linux.script.sh index 7ce892e3a..19177f0d7 100644 --- a/ci/scripts/test.linux.script.sh +++ b/ci/scripts/test.linux.script.sh @@ -1,5 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 + set -x # Enter build directory. diff --git a/ci/scripts/test.windows.after_script.ps1 b/ci/scripts/test.windows.after_script.ps1 index 59cd5a9d6..042cc1b5b 100644 --- a/ci/scripts/test.windows.after_script.ps1 +++ b/ci/scripts/test.windows.after_script.ps1 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Change to build directory. $rootdir = Get-Location cd ${EIGEN_CI_BUILDDIR} diff --git a/ci/scripts/test.windows.script.ps1 b/ci/scripts/test.windows.script.ps1 index f1b0c693d..50d99a459 100644 --- a/ci/scripts/test.windows.script.ps1 +++ b/ci/scripts/test.windows.script.ps1 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Change to build directory. $rootdir = Get-Location cd $EIGEN_CI_BUILDDIR diff --git a/ci/scripts/vars.linux.sh b/ci/scripts/vars.linux.sh index f77255598..8515d2db1 100644 --- a/ci/scripts/vars.linux.sh +++ b/ci/scripts/vars.linux.sh @@ -1,5 +1,7 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 + # Initialize default variables used by the CI. export EIGEN_CI_ADDITIONAL_ARGS="" export EIGEN_CI_BEFORE_SCRIPT="" diff --git a/ci/scripts/vars.windows.ps1 b/ci/scripts/vars.windows.ps1 index 0a1c587da..ce41500cc 100644 --- a/ci/scripts/vars.windows.ps1 +++ b/ci/scripts/vars.windows.ps1 @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Initialize default variables used by the CI. $EIGEN_CI_ADDITIONAL_ARGS = "" $EIGEN_CI_BEFORE_SCRIPT = "" diff --git a/ci/test.linux.gitlab-ci.yml b/ci/test.linux.gitlab-ci.yml index 82a88af6f..81bdc109c 100644 --- a/ci/test.linux.gitlab-ci.yml +++ b/ci/test.linux.gitlab-ci.yml @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + .test:linux: extends: .common:linux:cross stage: test diff --git a/ci/test.windows.gitlab-ci.yml b/ci/test.windows.gitlab-ci.yml index 4db6b492a..35611c5e4 100644 --- a/ci/test.windows.gitlab-ci.yml +++ b/ci/test.windows.gitlab-ci.yml @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + .test:windows: extends: .common:windows stage: test diff --git a/cmake/ComputeCppCompilerChecks.cmake b/cmake/ComputeCppCompilerChecks.cmake index 1807485e4..1f34fb9e0 100644 --- a/cmake/ComputeCppCompilerChecks.cmake +++ b/cmake/ComputeCppCompilerChecks.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + cmake_minimum_required(VERSION 3.4.3) if(CMAKE_COMPILER_IS_GNUCXX) diff --git a/cmake/ComputeCppIRMap.cmake b/cmake/ComputeCppIRMap.cmake index 942d91d64..2b6c522c3 100644 --- a/cmake/ComputeCppIRMap.cmake +++ b/cmake/ComputeCppIRMap.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + cmake_minimum_required(VERSION 3.4.3) # These should match the types of IR output by compute++ diff --git a/cmake/Eigen3Config.cmake.in b/cmake/Eigen3Config.cmake.in index 96582f5d9..a82a8f96b 100644 --- a/cmake/Eigen3Config.cmake.in +++ b/cmake/Eigen3Config.cmake.in @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # This file exports the Eigen3::Eigen CMake target which should be passed to the # target_link_libraries command. diff --git a/cmake/EigenConfigureTesting.cmake b/cmake/EigenConfigureTesting.cmake index 2a1e7ab5a..7fb5b4bd4 100644 --- a/cmake/EigenConfigureTesting.cmake +++ b/cmake/EigenConfigureTesting.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + include(EigenTesting) include(CheckCXXSourceCompiles) diff --git a/cmake/EigenSmokeTestList.cmake b/cmake/EigenSmokeTestList.cmake index db7d3ff5e..9b0f06d65 100644 --- a/cmake/EigenSmokeTestList.cmake +++ b/cmake/EigenSmokeTestList.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # List of tests that will be build and run during Eigen's smoke testing. If one # of these tests doesn't exists or cannot be build with the current configuration # it will just be skipped. diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index a1488fc47..dfda51d9c 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 macro(ei_add_property prop value) get_property(previous GLOBAL PROPERTY ${prop}) diff --git a/cmake/EigenUninstall.cmake b/cmake/EigenUninstall.cmake index 5e63c98d9..7c5c4f32e 100644 --- a/cmake/EigenUninstall.cmake +++ b/cmake/EigenUninstall.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + ################ CMake Uninstall Template ####################### # CMake Template file for uninstallation of files # mentioned in 'install_manifest.txt' diff --git a/cmake/FindAccelerate.cmake b/cmake/FindAccelerate.cmake index 787c31c6e..5bba9afa1 100644 --- a/cmake/FindAccelerate.cmake +++ b/cmake/FindAccelerate.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + if (Accelerate_INCLUDES AND Accelerate_LIBRARIES) set(Accelerate_FIND_QUIETLY TRUE) endif () diff --git a/cmake/FindAdolc.cmake b/cmake/FindAdolc.cmake index 13c59fcf7..07a69b599 100644 --- a/cmake/FindAdolc.cmake +++ b/cmake/FindAdolc.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 if (ADOLC_INCLUDES AND ADOLC_LIBRARIES) set(ADOLC_FIND_QUIETLY TRUE) diff --git a/cmake/FindCHOLMOD.cmake b/cmake/FindCHOLMOD.cmake index e470cb2e0..b1c0d3c5c 100644 --- a/cmake/FindCHOLMOD.cmake +++ b/cmake/FindCHOLMOD.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # CHOLMOD lib usually requires linking to a blas and lapack library. # It is up to the user of this module to find a BLAS and link to it. diff --git a/cmake/FindCLANG_FORMAT.cmake b/cmake/FindCLANG_FORMAT.cmake index e00f19fe6..e59edccbc 100644 --- a/cmake/FindCLANG_FORMAT.cmake +++ b/cmake/FindCLANG_FORMAT.cmake @@ -19,6 +19,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# SPDX-License-Identifier: MPL-2.0 # find_program(CLANG_FORMAT_EXECUTABLE diff --git a/cmake/FindDPCPP.cmake b/cmake/FindDPCPP.cmake index 73aa30f65..f2387f68d 100644 --- a/cmake/FindDPCPP.cmake +++ b/cmake/FindDPCPP.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + include_guard() include(CheckCXXCompilerFlag) diff --git a/cmake/FindFFTW.cmake b/cmake/FindFFTW.cmake index ed55c5fad..ea6556711 100644 --- a/cmake/FindFFTW.cmake +++ b/cmake/FindFFTW.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # - Find the FFTW library # # Usage: diff --git a/cmake/FindGMP.cmake b/cmake/FindGMP.cmake index c41eedcf0..423b1a50c 100644 --- a/cmake/FindGMP.cmake +++ b/cmake/FindGMP.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # Try to find the GNU Multiple Precision Arithmetic Library (GMP) # See http://gmplib.org/ diff --git a/cmake/FindGoogleHash.cmake b/cmake/FindGoogleHash.cmake index 481eb4dad..8aeb76bb3 100644 --- a/cmake/FindGoogleHash.cmake +++ b/cmake/FindGoogleHash.cmake @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 if (GOOGLEHASH_INCLUDES AND GOOGLEHASH_LIBRARIES) set(GOOGLEHASH_FIND_QUIETLY TRUE) diff --git a/cmake/FindKLU.cmake b/cmake/FindKLU.cmake index 6217d1490..d55220483 100644 --- a/cmake/FindKLU.cmake +++ b/cmake/FindKLU.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # KLU lib usually requires linking to a blas library. # It is up to the user of this module to find a BLAS and link to it. diff --git a/cmake/FindSPQR.cmake b/cmake/FindSPQR.cmake index d6fb2e13d..e410d07dd 100644 --- a/cmake/FindSPQR.cmake +++ b/cmake/FindSPQR.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + # SPQR lib usually requires linking to a blas and lapack library. # It is up to the user of this module to find a BLAS and link to it. diff --git a/cmake/RegexUtils.cmake b/cmake/RegexUtils.cmake index f0a15248b..0f37bec63 100644 --- a/cmake/RegexUtils.cmake +++ b/cmake/RegexUtils.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + function(escape_string_as_regex _str_out _str_in) string(REGEX REPLACE "\\\\" "\\\\\\\\" FILETEST2 "${_str_in}") string(REGEX REPLACE "([.$+*?|-])" "\\\\\\1" FILETEST2 "${FILETEST2}") diff --git a/cmake/SyclConfigureTesting.cmake b/cmake/SyclConfigureTesting.cmake index d4aa42369..084ee4951 100644 --- a/cmake/SyclConfigureTesting.cmake +++ b/cmake/SyclConfigureTesting.cmake @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + set(CMAKE_CXX_STANDARD 17) # Forward CMake options as preprocessor definitions if(EIGEN_SYCL_USE_DEFAULT_SELECTOR) diff --git a/debug/gdb/__init__.py b/debug/gdb/__init__.py index bb7b160de..94f26bd2e 100644 --- a/debug/gdb/__init__.py +++ b/debug/gdb/__init__.py @@ -1 +1,3 @@ +# SPDX-License-Identifier: MPL-2.0 + # Intentionally empty diff --git a/debug/gdb/printers.py b/debug/gdb/printers.py index 2c3fccfa3..ca9e0133e 100644 --- a/debug/gdb/printers.py +++ b/debug/gdb/printers.py @@ -7,6 +7,7 @@ # 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/. +# SPDX-License-Identifier: MPL-2.0 # Pretty printers for Eigen::Matrix # This is still pretty basic as the python extension to gdb is still pretty basic. diff --git a/debug/lldb/eigenlldb.py b/debug/lldb/eigenlldb.py index d9b5d06e7..530a9c3e3 100644 --- a/debug/lldb/eigenlldb.py +++ b/debug/lldb/eigenlldb.py @@ -7,6 +7,7 @@ # 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/. +# SPDX-License-Identifier: MPL-2.0 # Pretty printers for Eigen::Matrix to use with LLDB debugger # diff --git a/debug/msvc/eigen.natvis b/debug/msvc/eigen.natvis index da8985717..11a660e56 100644 --- a/debug/msvc/eigen.natvis +++ b/debug/msvc/eigen.natvis @@ -1,3 +1,4 @@ + diff --git a/debug/msvc/eigen_autoexp_part.dat b/debug/msvc/eigen_autoexp_part.dat index 35ef5807c..e82926be7 100644 --- a/debug/msvc/eigen_autoexp_part.dat +++ b/debug/msvc/eigen_autoexp_part.dat @@ -2,6 +2,7 @@ ; * Eigen Visualizer ; * ; * Author: Hauke Heibel +; * SPDX-License-Identifier: MPL-2.0 ; * ; * Support the enhanced debugging of the following Eigen ; * types (*: any, +:fixed dimension) : diff --git a/demos/mandelbrot/mandelbrot.cpp b/demos/mandelbrot/mandelbrot.cpp index a5b1dc8fd..9c192fee8 100644 --- a/demos/mandelbrot/mandelbrot.cpp +++ b/demos/mandelbrot/mandelbrot.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "mandelbrot.h" #include diff --git a/demos/mandelbrot/mandelbrot.h b/demos/mandelbrot/mandelbrot.h index 8b8e5b941..0b7d9a6c1 100644 --- a/demos/mandelbrot/mandelbrot.h +++ b/demos/mandelbrot/mandelbrot.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef MANDELBROT_H #define MANDELBROT_H diff --git a/demos/mix_eigen_and_c/binary_library.cpp b/demos/mix_eigen_and_c/binary_library.cpp index 2ac782106..4da74b624 100644 --- a/demos/mix_eigen_and_c/binary_library.cpp +++ b/demos/mix_eigen_and_c/binary_library.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This C++ file compiles to binary code that can be linked to by your C program, // thanks to the extern "C" syntax used in the declarations in binary_library.h. diff --git a/demos/mix_eigen_and_c/binary_library.h b/demos/mix_eigen_and_c/binary_library.h index 9f1638233..8cb1a8f92 100644 --- a/demos/mix_eigen_and_c/binary_library.h +++ b/demos/mix_eigen_and_c/binary_library.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This is a pure C header, no C++ here. // The functions declared here will be implemented in C++ but diff --git a/demos/mix_eigen_and_c/example.c b/demos/mix_eigen_and_c/example.c index 790c45bff..a8e2e6044 100644 --- a/demos/mix_eigen_and_c/example.c +++ b/demos/mix_eigen_and_c/example.c @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "binary_library.h" #include "stdio.h" diff --git a/demos/opengl/camera.cpp b/demos/opengl/camera.cpp index ea01d9036..b947fc791 100644 --- a/demos/opengl/camera.cpp +++ b/demos/opengl/camera.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "camera.h" diff --git a/demos/opengl/camera.h b/demos/opengl/camera.h index 676ad23f6..a8f99ca01 100644 --- a/demos/opengl/camera.h +++ b/demos/opengl/camera.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CAMERA_H #define EIGEN_CAMERA_H diff --git a/demos/opengl/gpuhelper.cpp b/demos/opengl/gpuhelper.cpp index fdf559bcb..c5f596741 100644 --- a/demos/opengl/gpuhelper.cpp +++ b/demos/opengl/gpuhelper.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "gpuhelper.h" #include "icosphere.h" diff --git a/demos/opengl/gpuhelper.h b/demos/opengl/gpuhelper.h index b28c625a4..e31ffb679 100644 --- a/demos/opengl/gpuhelper.h +++ b/demos/opengl/gpuhelper.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GPUHELPER_H #define EIGEN_GPUHELPER_H diff --git a/demos/opengl/icosphere.cpp b/demos/opengl/icosphere.cpp index db28c47ef..e5abdead9 100644 --- a/demos/opengl/icosphere.cpp +++ b/demos/opengl/icosphere.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "icosphere.h" diff --git a/demos/opengl/icosphere.h b/demos/opengl/icosphere.h index 11418c153..909710f26 100644 --- a/demos/opengl/icosphere.h +++ b/demos/opengl/icosphere.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ICOSPHERE_H #define EIGEN_ICOSPHERE_H diff --git a/demos/opengl/quaternion_demo.cpp b/demos/opengl/quaternion_demo.cpp index 5f8673c74..cf7cb9e79 100644 --- a/demos/opengl/quaternion_demo.cpp +++ b/demos/opengl/quaternion_demo.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "quaternion_demo.h" #include "icosphere.h" diff --git a/demos/opengl/quaternion_demo.h b/demos/opengl/quaternion_demo.h index 5eb4fced0..4c8f3516e 100644 --- a/demos/opengl/quaternion_demo.h +++ b/demos/opengl/quaternion_demo.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_QUATERNION_DEMO_H #define EIGEN_QUATERNION_DEMO_H diff --git a/demos/opengl/trackball.cpp b/demos/opengl/trackball.cpp index b12d09b7d..b7709044e 100644 --- a/demos/opengl/trackball.cpp +++ b/demos/opengl/trackball.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "trackball.h" #include "camera.h" diff --git a/demos/opengl/trackball.h b/demos/opengl/trackball.h index dda235f3d..a0026baed 100644 --- a/demos/opengl/trackball.h +++ b/demos/opengl/trackball.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TRACKBALL_H #define EIGEN_TRACKBALL_H diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index e7eaa4ba9..6a8b29c1d 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + project(EigenDoc) set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE) diff --git a/doc/Eigen_Silly_Professor_64x64.png.license b/doc/Eigen_Silly_Professor_64x64.png.license new file mode 100644 index 000000000..819ce0e0f --- /dev/null +++ b/doc/Eigen_Silly_Professor_64x64.png.license @@ -0,0 +1 @@ +SPDX-License-Identifier: MPL-2.0 diff --git a/doc/eigen_navtree_hacks.js b/doc/eigen_navtree_hacks.js index 38a498a99..a01468baf 100644 --- a/doc/eigen_navtree_hacks.js +++ b/doc/eigen_navtree_hacks.js @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // generate a table of contents in the side-nav based on the h1/h2 tags of the current page. function generate_autotoc() { diff --git a/doc/eigendoxy.css b/doc/eigendoxy.css index c746194e6..90c55515c 100644 --- a/doc/eigendoxy.css +++ b/doc/eigendoxy.css @@ -1,3 +1,6 @@ +/* + * SPDX-License-Identifier: MPL-2.0 + */ /******** Eigen specific CSS code ************/ diff --git a/doc/eigendoxy_tabs.css b/doc/eigendoxy_tabs.css index 21920562a..b8e8692c0 100644 --- a/doc/eigendoxy_tabs.css +++ b/doc/eigendoxy_tabs.css @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: MPL-2.0 + */ + .tabs, .tabs2, .tabs3 { background-image: url('tab_b.png'); width: 100%; diff --git a/doc/examples/CMakeLists.txt b/doc/examples/CMakeLists.txt index dd49e3cec..8132fc910 100644 --- a/doc/examples/CMakeLists.txt +++ b/doc/examples/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + file(GLOB examples_SRCS "*.cpp") foreach(example_src ${examples_SRCS}) diff --git a/doc/examples/CustomizingEigen_Inheritance.cpp b/doc/examples/CustomizingEigen_Inheritance.cpp index 26e1e3c42..6d1551669 100644 --- a/doc/examples/CustomizingEigen_Inheritance.cpp +++ b/doc/examples/CustomizingEigen_Inheritance.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Cwise_erf.cpp b/doc/examples/Cwise_erf.cpp index 598c18cac..88c080526 100644 --- a/doc/examples/Cwise_erf.cpp +++ b/doc/examples/Cwise_erf.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/examples/Cwise_erfc.cpp b/doc/examples/Cwise_erfc.cpp index 98b0b75bf..3a693a99f 100644 --- a/doc/examples/Cwise_erfc.cpp +++ b/doc/examples/Cwise_erfc.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/examples/Cwise_lgamma.cpp b/doc/examples/Cwise_lgamma.cpp index 10866d880..7d9bd1b1b 100644 --- a/doc/examples/Cwise_lgamma.cpp +++ b/doc/examples/Cwise_lgamma.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/examples/DenseBase_middleCols_int.cpp b/doc/examples/DenseBase_middleCols_int.cpp index cb7dace26..10aee8162 100644 --- a/doc/examples/DenseBase_middleCols_int.cpp +++ b/doc/examples/DenseBase_middleCols_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/DenseBase_middleRows_int.cpp b/doc/examples/DenseBase_middleRows_int.cpp index 6a2550088..968dd0473 100644 --- a/doc/examples/DenseBase_middleRows_int.cpp +++ b/doc/examples/DenseBase_middleRows_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/DenseBase_template_int_middleCols.cpp b/doc/examples/DenseBase_template_int_middleCols.cpp index 52c032cfd..fc606f1db 100644 --- a/doc/examples/DenseBase_template_int_middleCols.cpp +++ b/doc/examples/DenseBase_template_int_middleCols.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/DenseBase_template_int_middleRows.cpp b/doc/examples/DenseBase_template_int_middleRows.cpp index 4db5e706b..563c19e51 100644 --- a/doc/examples/DenseBase_template_int_middleRows.cpp +++ b/doc/examples/DenseBase_template_int_middleRows.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/QuickStart_example.cpp b/doc/examples/QuickStart_example.cpp index 103ddd5aa..17c4607bf 100644 --- a/doc/examples/QuickStart_example.cpp +++ b/doc/examples/QuickStart_example.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/QuickStart_example2_dynamic.cpp b/doc/examples/QuickStart_example2_dynamic.cpp index c7e7c32b9..9b47c4279 100644 --- a/doc/examples/QuickStart_example2_dynamic.cpp +++ b/doc/examples/QuickStart_example2_dynamic.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/QuickStart_example2_fixed.cpp b/doc/examples/QuickStart_example2_fixed.cpp index e643a478e..c70efa9c9 100644 --- a/doc/examples/QuickStart_example2_fixed.cpp +++ b/doc/examples/QuickStart_example2_fixed.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TemplateKeyword_flexible.cpp b/doc/examples/TemplateKeyword_flexible.cpp index 09919a361..08a65938a 100644 --- a/doc/examples/TemplateKeyword_flexible.cpp +++ b/doc/examples/TemplateKeyword_flexible.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TemplateKeyword_simple.cpp b/doc/examples/TemplateKeyword_simple.cpp index 4902988cd..e1c3eeeca 100644 --- a/doc/examples/TemplateKeyword_simple.cpp +++ b/doc/examples/TemplateKeyword_simple.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialInplaceLU.cpp b/doc/examples/TutorialInplaceLU.cpp index 06f7e53dd..f2a3fbde7 100644 --- a/doc/examples/TutorialInplaceLU.cpp +++ b/doc/examples/TutorialInplaceLU.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include struct init { init() { std::cout << "[init]\n"; } diff --git a/doc/examples/TutorialLinAlgComputeTwice.cpp b/doc/examples/TutorialLinAlgComputeTwice.cpp index 41ff22e08..3a02f7b23 100644 --- a/doc/examples/TutorialLinAlgComputeTwice.cpp +++ b/doc/examples/TutorialLinAlgComputeTwice.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgExComputeSolveError.cpp b/doc/examples/TutorialLinAlgExComputeSolveError.cpp index 268aa3537..143f6c86c 100644 --- a/doc/examples/TutorialLinAlgExComputeSolveError.cpp +++ b/doc/examples/TutorialLinAlgExComputeSolveError.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgExSolveColPivHouseholderQR.cpp b/doc/examples/TutorialLinAlgExSolveColPivHouseholderQR.cpp index 7caed4ad9..4ff75498c 100644 --- a/doc/examples/TutorialLinAlgExSolveColPivHouseholderQR.cpp +++ b/doc/examples/TutorialLinAlgExSolveColPivHouseholderQR.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgExSolveLDLT.cpp b/doc/examples/TutorialLinAlgExSolveLDLT.cpp index c11557da8..669bdd656 100644 --- a/doc/examples/TutorialLinAlgExSolveLDLT.cpp +++ b/doc/examples/TutorialLinAlgExSolveLDLT.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgInverseDeterminant.cpp b/doc/examples/TutorialLinAlgInverseDeterminant.cpp index c03fe5c9c..fa29df9d6 100644 --- a/doc/examples/TutorialLinAlgInverseDeterminant.cpp +++ b/doc/examples/TutorialLinAlgInverseDeterminant.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgRankRevealing.cpp b/doc/examples/TutorialLinAlgRankRevealing.cpp index 1f8914696..49b5ed3b7 100644 --- a/doc/examples/TutorialLinAlgRankRevealing.cpp +++ b/doc/examples/TutorialLinAlgRankRevealing.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgSVDSolve.cpp b/doc/examples/TutorialLinAlgSVDSolve.cpp index 3cee2b460..017a20544 100644 --- a/doc/examples/TutorialLinAlgSVDSolve.cpp +++ b/doc/examples/TutorialLinAlgSVDSolve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgSelfAdjointEigenSolver.cpp b/doc/examples/TutorialLinAlgSelfAdjointEigenSolver.cpp index 6faccb6ca..170d66564 100644 --- a/doc/examples/TutorialLinAlgSelfAdjointEigenSolver.cpp +++ b/doc/examples/TutorialLinAlgSelfAdjointEigenSolver.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/TutorialLinAlgSetThreshold.cpp b/doc/examples/TutorialLinAlgSetThreshold.cpp index 97251f8e3..6d5965739 100644 --- a/doc/examples/TutorialLinAlgSetThreshold.cpp +++ b/doc/examples/TutorialLinAlgSetThreshold.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ArrayClass_accessors.cpp b/doc/examples/Tutorial_ArrayClass_accessors.cpp index 5e91debfd..eee370f47 100644 --- a/doc/examples/Tutorial_ArrayClass_accessors.cpp +++ b/doc/examples/Tutorial_ArrayClass_accessors.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ArrayClass_addition.cpp b/doc/examples/Tutorial_ArrayClass_addition.cpp index e9a8f3e17..2d8eb0f36 100644 --- a/doc/examples/Tutorial_ArrayClass_addition.cpp +++ b/doc/examples/Tutorial_ArrayClass_addition.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ArrayClass_cwise_other.cpp b/doc/examples/Tutorial_ArrayClass_cwise_other.cpp index cbd323889..0f40c2b40 100644 --- a/doc/examples/Tutorial_ArrayClass_cwise_other.cpp +++ b/doc/examples/Tutorial_ArrayClass_cwise_other.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ArrayClass_interop.cpp b/doc/examples/Tutorial_ArrayClass_interop.cpp index 9b02f2af7..1b663774d 100644 --- a/doc/examples/Tutorial_ArrayClass_interop.cpp +++ b/doc/examples/Tutorial_ArrayClass_interop.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ArrayClass_interop_matrix.cpp b/doc/examples/Tutorial_ArrayClass_interop_matrix.cpp index b5bc6ae3c..a91fac8bd 100644 --- a/doc/examples/Tutorial_ArrayClass_interop_matrix.cpp +++ b/doc/examples/Tutorial_ArrayClass_interop_matrix.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ArrayClass_mult.cpp b/doc/examples/Tutorial_ArrayClass_mult.cpp index 39c230094..89e4953a4 100644 --- a/doc/examples/Tutorial_ArrayClass_mult.cpp +++ b/doc/examples/Tutorial_ArrayClass_mult.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_BlockOperations_block_assignment.cpp b/doc/examples/Tutorial_BlockOperations_block_assignment.cpp index 27b88b3c6..326d7d452 100644 --- a/doc/examples/Tutorial_BlockOperations_block_assignment.cpp +++ b/doc/examples/Tutorial_BlockOperations_block_assignment.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_BlockOperations_colrow.cpp b/doc/examples/Tutorial_BlockOperations_colrow.cpp index b23633408..3ab6d9a0f 100644 --- a/doc/examples/Tutorial_BlockOperations_colrow.cpp +++ b/doc/examples/Tutorial_BlockOperations_colrow.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_BlockOperations_corner.cpp b/doc/examples/Tutorial_BlockOperations_corner.cpp index cd093fcc6..17d46c302 100644 --- a/doc/examples/Tutorial_BlockOperations_corner.cpp +++ b/doc/examples/Tutorial_BlockOperations_corner.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_BlockOperations_print_block.cpp b/doc/examples/Tutorial_BlockOperations_print_block.cpp index 7c65ddb6a..aa8ae9aa6 100644 --- a/doc/examples/Tutorial_BlockOperations_print_block.cpp +++ b/doc/examples/Tutorial_BlockOperations_print_block.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_BlockOperations_vector.cpp b/doc/examples/Tutorial_BlockOperations_vector.cpp index 0ce2b0b03..daa25ac96 100644 --- a/doc/examples/Tutorial_BlockOperations_vector.cpp +++ b/doc/examples/Tutorial_BlockOperations_vector.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_PartialLU_solve.cpp b/doc/examples/Tutorial_PartialLU_solve.cpp index bfc097365..5efb8cbe7 100644 --- a/doc/examples/Tutorial_PartialLU_solve.cpp +++ b/doc/examples/Tutorial_PartialLU_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_1nn.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_1nn.cpp index 61ab75f0a..1c946412d 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_1nn.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_1nn.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple.cpp index 63ee72495..c373d3161 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple_rowwise.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple_rowwise.cpp index 1f937ad3d..d26a44bd7 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple_rowwise.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_broadcast_simple_rowwise.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp index f40184bf6..07a1c3b94 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp index 88e319daa..fc6ec56e6 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp index 71f203090..cfcb2c3ff 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_bool.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp index 75bfee0c9..57915d1f2 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_operatornorm.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_operatornorm.cpp index 695f538b2..8b0f6b41c 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_operatornorm.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_reductions_operatornorm.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp index b525b2a0f..7ca430ab1 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_visitors.cpp b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_visitors.cpp index ce3ca7ea4..845b20bc9 100644 --- a/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_visitors.cpp +++ b/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_visitors.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_simple_example_dynamic_size.cpp b/doc/examples/Tutorial_simple_example_dynamic_size.cpp index 102223f3c..bc4e4a19d 100644 --- a/doc/examples/Tutorial_simple_example_dynamic_size.cpp +++ b/doc/examples/Tutorial_simple_example_dynamic_size.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/Tutorial_simple_example_fixed_size.cpp b/doc/examples/Tutorial_simple_example_fixed_size.cpp index 8e202303e..5656004f1 100644 --- a/doc/examples/Tutorial_simple_example_fixed_size.cpp +++ b/doc/examples/Tutorial_simple_example_fixed_size.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_Block.cpp b/doc/examples/class_Block.cpp index 0fb9202fd..bfa686490 100644 --- a/doc/examples/class_Block.cpp +++ b/doc/examples/class_Block.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_CwiseBinaryOp.cpp b/doc/examples/class_CwiseBinaryOp.cpp index f8c1f92d6..b871d47b1 100644 --- a/doc/examples/class_CwiseBinaryOp.cpp +++ b/doc/examples/class_CwiseBinaryOp.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_CwiseUnaryOp.cpp b/doc/examples/class_CwiseUnaryOp.cpp index 24177ce51..d9e28975e 100644 --- a/doc/examples/class_CwiseUnaryOp.cpp +++ b/doc/examples/class_CwiseUnaryOp.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_CwiseUnaryOp_ptrfun.cpp b/doc/examples/class_CwiseUnaryOp_ptrfun.cpp index 279355c68..c7d1cdc4a 100644 --- a/doc/examples/class_CwiseUnaryOp_ptrfun.cpp +++ b/doc/examples/class_CwiseUnaryOp_ptrfun.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_FixedBlock.cpp b/doc/examples/class_FixedBlock.cpp index 875e779e6..a55192ad2 100644 --- a/doc/examples/class_FixedBlock.cpp +++ b/doc/examples/class_FixedBlock.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_FixedReshaped.cpp b/doc/examples/class_FixedReshaped.cpp index 29a04f6a8..e5b927bbd 100644 --- a/doc/examples/class_FixedReshaped.cpp +++ b/doc/examples/class_FixedReshaped.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_FixedVectorBlock.cpp b/doc/examples/class_FixedVectorBlock.cpp index cee8ac884..609e297b8 100644 --- a/doc/examples/class_FixedVectorBlock.cpp +++ b/doc/examples/class_FixedVectorBlock.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_Reshaped.cpp b/doc/examples/class_Reshaped.cpp index a91c3fff7..fceffda20 100644 --- a/doc/examples/class_Reshaped.cpp +++ b/doc/examples/class_Reshaped.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/class_VectorBlock.cpp b/doc/examples/class_VectorBlock.cpp index d427fa7e0..7b29c90ba 100644 --- a/doc/examples/class_VectorBlock.cpp +++ b/doc/examples/class_VectorBlock.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/function_taking_eigenbase.cpp b/doc/examples/function_taking_eigenbase.cpp index 524ea18b5..44a6f2d30 100644 --- a/doc/examples/function_taking_eigenbase.cpp +++ b/doc/examples/function_taking_eigenbase.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/function_taking_ref.cpp b/doc/examples/function_taking_ref.cpp index 8fd8c7616..66713c065 100644 --- a/doc/examples/function_taking_ref.cpp +++ b/doc/examples/function_taking_ref.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/make_circulant.cpp b/doc/examples/make_circulant.cpp index 92e6aaa2b..56d093523 100644 --- a/doc/examples/make_circulant.cpp +++ b/doc/examples/make_circulant.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + /* This program is presented in several fragments in the doc page. Every fragment is in its own file; this file simply combines them. diff --git a/doc/examples/make_circulant2.cpp b/doc/examples/make_circulant2.cpp index b3bbcfc50..602956820 100644 --- a/doc/examples/make_circulant2.cpp +++ b/doc/examples/make_circulant2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/matrixfree_cg.cpp b/doc/examples/matrixfree_cg.cpp index 66f2c2762..9457b379f 100644 --- a/doc/examples/matrixfree_cg.cpp +++ b/doc/examples/matrixfree_cg.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/examples/nullary_indexing.cpp b/doc/examples/nullary_indexing.cpp index f98e6909d..bd5b4beb2 100644 --- a/doc/examples/nullary_indexing.cpp +++ b/doc/examples/nullary_indexing.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_arithmetic_add_sub.cpp b/doc/examples/tut_arithmetic_add_sub.cpp index ceb43cad5..4afe8b76b 100644 --- a/doc/examples/tut_arithmetic_add_sub.cpp +++ b/doc/examples/tut_arithmetic_add_sub.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_arithmetic_dot_cross.cpp b/doc/examples/tut_arithmetic_dot_cross.cpp index 09eea3999..4e1e891e8 100644 --- a/doc/examples/tut_arithmetic_dot_cross.cpp +++ b/doc/examples/tut_arithmetic_dot_cross.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_arithmetic_matrix_mul.cpp b/doc/examples/tut_arithmetic_matrix_mul.cpp index ead480043..25b014b94 100644 --- a/doc/examples/tut_arithmetic_matrix_mul.cpp +++ b/doc/examples/tut_arithmetic_matrix_mul.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_arithmetic_redux_basic.cpp b/doc/examples/tut_arithmetic_redux_basic.cpp index 314023742..b8b875546 100644 --- a/doc/examples/tut_arithmetic_redux_basic.cpp +++ b/doc/examples/tut_arithmetic_redux_basic.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_arithmetic_scalar_mul_div.cpp b/doc/examples/tut_arithmetic_scalar_mul_div.cpp index 05f1ebd99..c91a92c97 100644 --- a/doc/examples/tut_arithmetic_scalar_mul_div.cpp +++ b/doc/examples/tut_arithmetic_scalar_mul_div.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_matrix_coefficient_accessors.cpp b/doc/examples/tut_matrix_coefficient_accessors.cpp index e509a98c9..9b97b13bf 100644 --- a/doc/examples/tut_matrix_coefficient_accessors.cpp +++ b/doc/examples/tut_matrix_coefficient_accessors.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_matrix_resize.cpp b/doc/examples/tut_matrix_resize.cpp index 6e0091915..aa3108964 100644 --- a/doc/examples/tut_matrix_resize.cpp +++ b/doc/examples/tut_matrix_resize.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/examples/tut_matrix_resize_fixed_size.cpp b/doc/examples/tut_matrix_resize_fixed_size.cpp index 44645d857..5fb2d5912 100644 --- a/doc/examples/tut_matrix_resize_fixed_size.cpp +++ b/doc/examples/tut_matrix_resize_fixed_size.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/doc/ftv2node.png.license b/doc/ftv2node.png.license new file mode 100644 index 000000000..819ce0e0f --- /dev/null +++ b/doc/ftv2node.png.license @@ -0,0 +1 @@ +SPDX-License-Identifier: MPL-2.0 diff --git a/doc/ftv2pnode.png.license b/doc/ftv2pnode.png.license new file mode 100644 index 000000000..819ce0e0f --- /dev/null +++ b/doc/ftv2pnode.png.license @@ -0,0 +1 @@ +SPDX-License-Identifier: MPL-2.0 diff --git a/doc/snippets/AngleAxis_mimic_euler.cpp b/doc/snippets/AngleAxis_mimic_euler.cpp index eb27cbfdc..36fa9fbc6 100644 --- a/doc/snippets/AngleAxis_mimic_euler.cpp +++ b/doc/snippets/AngleAxis_mimic_euler.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f m; m = AngleAxisf(0.25 * M_PI, Vector3f::UnitX()) * AngleAxisf(0.5 * M_PI, Vector3f::UnitY()) * AngleAxisf(0.33 * M_PI, Vector3f::UnitZ()); diff --git a/doc/snippets/Array_initializer_list_23_cxx11.cpp b/doc/snippets/Array_initializer_list_23_cxx11.cpp index 8f491cba8..018925a8b 100644 --- a/doc/snippets/Array_initializer_list_23_cxx11.cpp +++ b/doc/snippets/Array_initializer_list_23_cxx11.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXXi a{{1, 2, 3}, {3, 4, 5}}; cout << a << endl; diff --git a/doc/snippets/Array_initializer_list_vector_cxx11.cpp b/doc/snippets/Array_initializer_list_vector_cxx11.cpp index 398831f14..12a432dfc 100644 --- a/doc/snippets/Array_initializer_list_vector_cxx11.cpp +++ b/doc/snippets/Array_initializer_list_vector_cxx11.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array v{{1, 2, 3, 4, 5}}; cout << v << endl; diff --git a/doc/snippets/Array_variadic_ctor_cxx11.cpp b/doc/snippets/Array_variadic_ctor_cxx11.cpp index 6df78a507..1c13b3bcd 100644 --- a/doc/snippets/Array_variadic_ctor_cxx11.cpp +++ b/doc/snippets/Array_variadic_ctor_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array a(1, 2, 3, 4, 5, 6); Array b{1, 2, 3}; cout << a << "\n\n" << b << endl; diff --git a/doc/snippets/BiCGSTAB_simple.cpp b/doc/snippets/BiCGSTAB_simple.cpp index 68f07c970..c620dd717 100644 --- a/doc/snippets/BiCGSTAB_simple.cpp +++ b/doc/snippets/BiCGSTAB_simple.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int n = 10000; VectorXd x(n), b(n); SparseMatrix A(n, n); diff --git a/doc/snippets/BiCGSTAB_step_by_step.cpp b/doc/snippets/BiCGSTAB_step_by_step.cpp index 7fe53a558..64dda5a77 100644 --- a/doc/snippets/BiCGSTAB_step_by_step.cpp +++ b/doc/snippets/BiCGSTAB_step_by_step.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int n = 10000; VectorXd x(n), b(n); SparseMatrix A(n, n); diff --git a/doc/snippets/CMakeLists.txt b/doc/snippets/CMakeLists.txt index 868d66905..844a42533 100644 --- a/doc/snippets/CMakeLists.txt +++ b/doc/snippets/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + file(GLOB snippets_SRCS "*.cpp") add_custom_target(all_snippets) diff --git a/doc/snippets/ColPivHouseholderQR_solve.cpp b/doc/snippets/ColPivHouseholderQR_solve.cpp index eb7d1ffbd..8c7c18832 100644 --- a/doc/snippets/ColPivHouseholderQR_solve.cpp +++ b/doc/snippets/ColPivHouseholderQR_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f m = Matrix3f::Random(); Matrix3f y = Matrix3f::Random(); cout << "Here is the matrix m:" << endl << m << endl; diff --git a/doc/snippets/ComplexEigenSolver_compute.cpp b/doc/snippets/ComplexEigenSolver_compute.cpp index e55409d32..625374c4d 100644 --- a/doc/snippets/ComplexEigenSolver_compute.cpp +++ b/doc/snippets/ComplexEigenSolver_compute.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf A = MatrixXcf::Random(4, 4); cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; diff --git a/doc/snippets/ComplexEigenSolver_eigenvalues.cpp b/doc/snippets/ComplexEigenSolver_eigenvalues.cpp index d3bff5199..6a28c215d 100644 --- a/doc/snippets/ComplexEigenSolver_eigenvalues.cpp +++ b/doc/snippets/ComplexEigenSolver_eigenvalues.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf ones = MatrixXcf::Ones(3, 3); ComplexEigenSolver ces(ones, /* computeEigenvectors = */ false); cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << ces.eigenvalues() << endl; diff --git a/doc/snippets/ComplexEigenSolver_eigenvectors.cpp b/doc/snippets/ComplexEigenSolver_eigenvectors.cpp index 46aab4aeb..04cf78719 100644 --- a/doc/snippets/ComplexEigenSolver_eigenvectors.cpp +++ b/doc/snippets/ComplexEigenSolver_eigenvectors.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf ones = MatrixXcf::Ones(3, 3); ComplexEigenSolver ces(ones); cout << "The first eigenvector of the 3x3 matrix of ones is:" << endl << ces.eigenvectors().col(0) << endl; diff --git a/doc/snippets/ComplexSchur_compute.cpp b/doc/snippets/ComplexSchur_compute.cpp index 53b7f8b2b..50954d694 100644 --- a/doc/snippets/ComplexSchur_compute.cpp +++ b/doc/snippets/ComplexSchur_compute.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf A = MatrixXcf::Random(4, 4); ComplexSchur schur(4); schur.compute(A); diff --git a/doc/snippets/ComplexSchur_matrixT.cpp b/doc/snippets/ComplexSchur_matrixT.cpp index e1033ad8b..c24555695 100644 --- a/doc/snippets/ComplexSchur_matrixT.cpp +++ b/doc/snippets/ComplexSchur_matrixT.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf A = MatrixXcf::Random(4, 4); cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; ComplexSchur schurOfA(A, false); // false means do not compute U diff --git a/doc/snippets/ComplexSchur_matrixU.cpp b/doc/snippets/ComplexSchur_matrixU.cpp index 81383947e..4ee85496f 100644 --- a/doc/snippets/ComplexSchur_matrixU.cpp +++ b/doc/snippets/ComplexSchur_matrixU.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf A = MatrixXcf::Random(4, 4); cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; ComplexSchur schurOfA(A); diff --git a/doc/snippets/Cwise_abs.cpp b/doc/snippets/Cwise_abs.cpp index 744851a03..a7492bfe4 100644 --- a/doc/snippets/Cwise_abs.cpp +++ b/doc/snippets/Cwise_abs.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, -2, -3); cout << v.abs() << endl; diff --git a/doc/snippets/Cwise_abs2.cpp b/doc/snippets/Cwise_abs2.cpp index 71e5cb2df..7f70d4231 100644 --- a/doc/snippets/Cwise_abs2.cpp +++ b/doc/snippets/Cwise_abs2.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, -2, -3); cout << v.abs2() << endl; diff --git a/doc/snippets/Cwise_acos.cpp b/doc/snippets/Cwise_acos.cpp index bbbbf52f7..1e601c5a0 100644 --- a/doc/snippets/Cwise_acos.cpp +++ b/doc/snippets/Cwise_acos.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(0, sqrt(2.) / 2, 1); cout << v.acos() << endl; diff --git a/doc/snippets/Cwise_arg.cpp b/doc/snippets/Cwise_arg.cpp index 3f45133b6..a5b6368a2 100644 --- a/doc/snippets/Cwise_arg.cpp +++ b/doc/snippets/Cwise_arg.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXcf v = ArrayXcf::Random(3); cout << v << endl << endl; cout << arg(v) << endl; diff --git a/doc/snippets/Cwise_array_atan2_array.cpp b/doc/snippets/Cwise_array_atan2_array.cpp index 5742f9ae6..0c430e96b 100644 --- a/doc/snippets/Cwise_array_atan2_array.cpp +++ b/doc/snippets/Cwise_array_atan2_array.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array x(8, -25, 3), y(1. / 3., 0.5, -2.); cout << "atan2([" << x << "], [" << y << "]) = " << x.atan2(y) << endl; // using ArrayBase::pow cout << "atan2([" << x << "], [" << y << "] = " << atan2(x, y) << endl; // using Eigen::pow diff --git a/doc/snippets/Cwise_array_power_array.cpp b/doc/snippets/Cwise_array_power_array.cpp index ab2d87aa4..03fe12789 100644 --- a/doc/snippets/Cwise_array_power_array.cpp +++ b/doc/snippets/Cwise_array_power_array.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array x(8, 25, 3), e(1. / 3., 0.5, 2.); cout << "[" << x << "]^[" << e << "] = " << x.pow(e) << endl; // using ArrayBase::pow cout << "[" << x << "]^[" << e << "] = " << pow(x, e) << endl; // using Eigen::pow diff --git a/doc/snippets/Cwise_asin.cpp b/doc/snippets/Cwise_asin.cpp index 3a64671d5..cf27d203f 100644 --- a/doc/snippets/Cwise_asin.cpp +++ b/doc/snippets/Cwise_asin.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(0, sqrt(2.) / 2, 1); cout << v.asin() << endl; diff --git a/doc/snippets/Cwise_atan.cpp b/doc/snippets/Cwise_atan.cpp index 1b60a9a00..4a6345c96 100644 --- a/doc/snippets/Cwise_atan.cpp +++ b/doc/snippets/Cwise_atan.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(5, 0, 1); cout << v.atan() << endl; diff --git a/doc/snippets/Cwise_boolean_and.cpp b/doc/snippets/Cwise_boolean_and.cpp index 227ac36d2..fa51e63db 100644 --- a/doc/snippets/Cwise_boolean_and.cpp +++ b/doc/snippets/Cwise_boolean_and.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(-1, 2, 1), w(-3, 2, 3); cout << ((v < w) && (v < 0)) << endl; diff --git a/doc/snippets/Cwise_boolean_not.cpp b/doc/snippets/Cwise_boolean_not.cpp index 404fd9474..e974d3b45 100644 --- a/doc/snippets/Cwise_boolean_not.cpp +++ b/doc/snippets/Cwise_boolean_not.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); v(1) *= 0.0 / 0.0; v(2) /= 0.0; diff --git a/doc/snippets/Cwise_boolean_or.cpp b/doc/snippets/Cwise_boolean_or.cpp index df87f7a28..db876e9fd 100644 --- a/doc/snippets/Cwise_boolean_or.cpp +++ b/doc/snippets/Cwise_boolean_or.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(-1, 2, 1), w(-3, 2, 3); cout << ((v < w) || (v < 0)) << endl; diff --git a/doc/snippets/Cwise_cbrt.cpp b/doc/snippets/Cwise_cbrt.cpp index b6dcdfcf9..941c6ec6d 100644 --- a/doc/snippets/Cwise_cbrt.cpp +++ b/doc/snippets/Cwise_cbrt.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 4); cout << v.cbrt() << endl; diff --git a/doc/snippets/Cwise_ceil.cpp b/doc/snippets/Cwise_ceil.cpp index 61238913c..9ee0d67f0 100644 --- a/doc/snippets/Cwise_ceil.cpp +++ b/doc/snippets/Cwise_ceil.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(7, -2, 2); cout << v << endl << endl; cout << ceil(v) << endl; diff --git a/doc/snippets/Cwise_cos.cpp b/doc/snippets/Cwise_cos.cpp index f84f32501..d7f5ae98e 100644 --- a/doc/snippets/Cwise_cos.cpp +++ b/doc/snippets/Cwise_cos.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(M_PI, M_PI / 2, M_PI / 3); cout << v.cos() << endl; diff --git a/doc/snippets/Cwise_cosh.cpp b/doc/snippets/Cwise_cosh.cpp index 3cd330480..e84a568b2 100644 --- a/doc/snippets/Cwise_cosh.cpp +++ b/doc/snippets/Cwise_cosh.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(5, 0, 1); cout << cosh(v) << endl; diff --git a/doc/snippets/Cwise_cube.cpp b/doc/snippets/Cwise_cube.cpp index 69f4c3481..bbd5c6eed 100644 --- a/doc/snippets/Cwise_cube.cpp +++ b/doc/snippets/Cwise_cube.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(2, 3, 4); cout << v.cube() << endl; diff --git a/doc/snippets/Cwise_equal_equal.cpp b/doc/snippets/Cwise_equal_equal.cpp index 7fdeafa8c..bc50b6e99 100644 --- a/doc/snippets/Cwise_equal_equal.cpp +++ b/doc/snippets/Cwise_equal_equal.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3), w(3, 2, 1); cout << (v == w) << endl; diff --git a/doc/snippets/Cwise_exp.cpp b/doc/snippets/Cwise_exp.cpp index 9d65259d4..c33b3e3a3 100644 --- a/doc/snippets/Cwise_exp.cpp +++ b/doc/snippets/Cwise_exp.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); cout << v.exp() << endl; diff --git a/doc/snippets/Cwise_floor.cpp b/doc/snippets/Cwise_floor.cpp index 8f3ec8522..fe0e457a6 100644 --- a/doc/snippets/Cwise_floor.cpp +++ b/doc/snippets/Cwise_floor.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(7, -2, 2); cout << v << endl << endl; cout << floor(v) << endl; diff --git a/doc/snippets/Cwise_greater.cpp b/doc/snippets/Cwise_greater.cpp index 77d448aca..90369733d 100644 --- a/doc/snippets/Cwise_greater.cpp +++ b/doc/snippets/Cwise_greater.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3), w(3, 2, 1); cout << (v > w) << endl; diff --git a/doc/snippets/Cwise_greater_equal.cpp b/doc/snippets/Cwise_greater_equal.cpp index 8aa94e85b..94a4120d9 100644 --- a/doc/snippets/Cwise_greater_equal.cpp +++ b/doc/snippets/Cwise_greater_equal.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3), w(3, 2, 1); cout << (v >= w) << endl; diff --git a/doc/snippets/Cwise_inverse.cpp b/doc/snippets/Cwise_inverse.cpp index 292daef5b..f113bfde7 100644 --- a/doc/snippets/Cwise_inverse.cpp +++ b/doc/snippets/Cwise_inverse.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(2, 3, 4); cout << v.inverse() << endl; diff --git a/doc/snippets/Cwise_isFinite.cpp b/doc/snippets/Cwise_isFinite.cpp index c3309f260..3fbbab14f 100644 --- a/doc/snippets/Cwise_isFinite.cpp +++ b/doc/snippets/Cwise_isFinite.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); v(1) *= 0.0 / 0.0; v(2) /= 0.0; diff --git a/doc/snippets/Cwise_isInf.cpp b/doc/snippets/Cwise_isInf.cpp index c97b8a6fd..2018948f7 100644 --- a/doc/snippets/Cwise_isInf.cpp +++ b/doc/snippets/Cwise_isInf.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); v(1) *= 0.0 / 0.0; v(2) /= 0.0; diff --git a/doc/snippets/Cwise_isNaN.cpp b/doc/snippets/Cwise_isNaN.cpp index ab2b52851..5cc803336 100644 --- a/doc/snippets/Cwise_isNaN.cpp +++ b/doc/snippets/Cwise_isNaN.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); v(1) *= 0.0 / 0.0; v(2) /= 0.0; diff --git a/doc/snippets/Cwise_less.cpp b/doc/snippets/Cwise_less.cpp index 95ccb302b..230124890 100644 --- a/doc/snippets/Cwise_less.cpp +++ b/doc/snippets/Cwise_less.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3), w(3, 2, 1); cout << (v < w) << endl; diff --git a/doc/snippets/Cwise_less_equal.cpp b/doc/snippets/Cwise_less_equal.cpp index 08d65beda..d65ca9783 100644 --- a/doc/snippets/Cwise_less_equal.cpp +++ b/doc/snippets/Cwise_less_equal.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3), w(3, 2, 1); cout << (v <= w) << endl; diff --git a/doc/snippets/Cwise_log.cpp b/doc/snippets/Cwise_log.cpp index f3e13d6ea..7ac7906a0 100644 --- a/doc/snippets/Cwise_log.cpp +++ b/doc/snippets/Cwise_log.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); cout << v.log() << endl; diff --git a/doc/snippets/Cwise_log10.cpp b/doc/snippets/Cwise_log10.cpp index 8656f485f..35d5316a3 100644 --- a/doc/snippets/Cwise_log10.cpp +++ b/doc/snippets/Cwise_log10.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array4d v(-1, 0, 1, 2); cout << log10(v) << endl; diff --git a/doc/snippets/Cwise_max.cpp b/doc/snippets/Cwise_max.cpp index ab8d397ef..097686e53 100644 --- a/doc/snippets/Cwise_max.cpp +++ b/doc/snippets/Cwise_max.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(2, 3, 4), w(4, 2, 3); cout << v.max(w) << endl; diff --git a/doc/snippets/Cwise_min.cpp b/doc/snippets/Cwise_min.cpp index 771eaf2d3..4da5b22fc 100644 --- a/doc/snippets/Cwise_min.cpp +++ b/doc/snippets/Cwise_min.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(2, 3, 4), w(4, 2, 3); cout << v.min(w) << endl; diff --git a/doc/snippets/Cwise_minus.cpp b/doc/snippets/Cwise_minus.cpp index 1389b4ade..06ad0968f 100644 --- a/doc/snippets/Cwise_minus.cpp +++ b/doc/snippets/Cwise_minus.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); cout << v - 5 << endl; diff --git a/doc/snippets/Cwise_minus_equal.cpp b/doc/snippets/Cwise_minus_equal.cpp index 33433e020..b70c487cf 100644 --- a/doc/snippets/Cwise_minus_equal.cpp +++ b/doc/snippets/Cwise_minus_equal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); v -= 5; cout << v << endl; diff --git a/doc/snippets/Cwise_not_equal.cpp b/doc/snippets/Cwise_not_equal.cpp index 60aea2b1a..cce74deec 100644 --- a/doc/snippets/Cwise_not_equal.cpp +++ b/doc/snippets/Cwise_not_equal.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3), w(3, 2, 1); cout << (v != w) << endl; diff --git a/doc/snippets/Cwise_plus.cpp b/doc/snippets/Cwise_plus.cpp index 7a878d637..0ae9763f0 100644 --- a/doc/snippets/Cwise_plus.cpp +++ b/doc/snippets/Cwise_plus.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); cout << v + 5 << endl; diff --git a/doc/snippets/Cwise_plus_equal.cpp b/doc/snippets/Cwise_plus_equal.cpp index 3e00ba237..623676fa3 100644 --- a/doc/snippets/Cwise_plus_equal.cpp +++ b/doc/snippets/Cwise_plus_equal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3); v += 5; cout << v << endl; diff --git a/doc/snippets/Cwise_pow.cpp b/doc/snippets/Cwise_pow.cpp index 28a9dc5f2..005075b00 100644 --- a/doc/snippets/Cwise_pow.cpp +++ b/doc/snippets/Cwise_pow.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(8, 27, 64); cout << v.pow(0.333333) << endl; diff --git a/doc/snippets/Cwise_product.cpp b/doc/snippets/Cwise_product.cpp index cee5b2092..6593b10e2 100644 --- a/doc/snippets/Cwise_product.cpp +++ b/doc/snippets/Cwise_product.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array33i a = Array33i::Random(), b = Array33i::Random(); Array33i c = a * b; cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl; diff --git a/doc/snippets/Cwise_quotient.cpp b/doc/snippets/Cwise_quotient.cpp index ab8b50693..76170b6c2 100644 --- a/doc/snippets/Cwise_quotient.cpp +++ b/doc/snippets/Cwise_quotient.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(2, 3, 4), w(4, 2, 3); cout << v / w << endl; diff --git a/doc/snippets/Cwise_rint.cpp b/doc/snippets/Cwise_rint.cpp index eb8bc84fe..90e9290fd 100644 --- a/doc/snippets/Cwise_rint.cpp +++ b/doc/snippets/Cwise_rint.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(7, -2, 2); cout << v << endl << endl; cout << rint(v) << endl; diff --git a/doc/snippets/Cwise_round.cpp b/doc/snippets/Cwise_round.cpp index d9ff41759..090dae690 100644 --- a/doc/snippets/Cwise_round.cpp +++ b/doc/snippets/Cwise_round.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(7, -2, 2); cout << v << endl << endl; cout << round(v) << endl; diff --git a/doc/snippets/Cwise_scalar_power_array.cpp b/doc/snippets/Cwise_scalar_power_array.cpp index 65bb478de..bad76a9fb 100644 --- a/doc/snippets/Cwise_scalar_power_array.cpp +++ b/doc/snippets/Cwise_scalar_power_array.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array e(2, -3, 1. / 3.); cout << "10^[" << e << "] = " << pow(10, e) << endl; diff --git a/doc/snippets/Cwise_sign.cpp b/doc/snippets/Cwise_sign.cpp index 55d24abf6..0c0b51580 100644 --- a/doc/snippets/Cwise_sign.cpp +++ b/doc/snippets/Cwise_sign.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(-3, 5, 0); cout << v.sign() << endl; diff --git a/doc/snippets/Cwise_sin.cpp b/doc/snippets/Cwise_sin.cpp index 43c4a047d..226c3d2f0 100644 --- a/doc/snippets/Cwise_sin.cpp +++ b/doc/snippets/Cwise_sin.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(M_PI, M_PI / 2, M_PI / 3); cout << v.sin() << endl; diff --git a/doc/snippets/Cwise_sinh.cpp b/doc/snippets/Cwise_sinh.cpp index aefcd6dd8..f227a7245 100644 --- a/doc/snippets/Cwise_sinh.cpp +++ b/doc/snippets/Cwise_sinh.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(5, 0, 1); cout << sinh(v) << endl; diff --git a/doc/snippets/Cwise_slash_equal.cpp b/doc/snippets/Cwise_slash_equal.cpp index cb776b896..d188e5103 100644 --- a/doc/snippets/Cwise_slash_equal.cpp +++ b/doc/snippets/Cwise_slash_equal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(3, 2, 4), w(5, 4, 2); v /= w; cout << v << endl; diff --git a/doc/snippets/Cwise_sqrt.cpp b/doc/snippets/Cwise_sqrt.cpp index e0e5d360f..505a70da5 100644 --- a/doc/snippets/Cwise_sqrt.cpp +++ b/doc/snippets/Cwise_sqrt.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 4); cout << v.sqrt() << endl; diff --git a/doc/snippets/Cwise_square.cpp b/doc/snippets/Cwise_square.cpp index 2b3132e44..d939afa3e 100644 --- a/doc/snippets/Cwise_square.cpp +++ b/doc/snippets/Cwise_square.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(2, 3, 4); cout << v.square() << endl; diff --git a/doc/snippets/Cwise_tan.cpp b/doc/snippets/Cwise_tan.cpp index abe8d1cf5..4ada4844c 100644 --- a/doc/snippets/Cwise_tan.cpp +++ b/doc/snippets/Cwise_tan.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(M_PI, M_PI / 2, M_PI / 3); cout << v.tan() << endl; diff --git a/doc/snippets/Cwise_tanh.cpp b/doc/snippets/Cwise_tanh.cpp index ae8fea5a1..f78d93674 100644 --- a/doc/snippets/Cwise_tanh.cpp +++ b/doc/snippets/Cwise_tanh.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(5, 0, 1); cout << tanh(v) << endl; diff --git a/doc/snippets/Cwise_times_equal.cpp b/doc/snippets/Cwise_times_equal.cpp index 45151be61..ff11fb6b3 100644 --- a/doc/snippets/Cwise_times_equal.cpp +++ b/doc/snippets/Cwise_times_equal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array3d v(1, 2, 3), w(2, 3, 0); v *= w; cout << v << endl; diff --git a/doc/snippets/Cwise_trunc.cpp b/doc/snippets/Cwise_trunc.cpp index 8fb29c854..5279a0e6c 100644 --- a/doc/snippets/Cwise_trunc.cpp +++ b/doc/snippets/Cwise_trunc.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXd v = ArrayXd::LinSpaced(7, -2, 2); cout << v << endl << endl; cout << trunc(v) << endl; diff --git a/doc/snippets/DenseBase_LinSpaced.cpp b/doc/snippets/DenseBase_LinSpaced.cpp index a57053f99..6a13a88ba 100644 --- a/doc/snippets/DenseBase_LinSpaced.cpp +++ b/doc/snippets/DenseBase_LinSpaced.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << VectorXi::LinSpaced(4, 7, 10).transpose() << endl; cout << VectorXd::LinSpaced(5, 0.0, 1.0).transpose() << endl; diff --git a/doc/snippets/DenseBase_LinSpacedInt.cpp b/doc/snippets/DenseBase_LinSpacedInt.cpp index 732d70a7b..d61a85d89 100644 --- a/doc/snippets/DenseBase_LinSpacedInt.cpp +++ b/doc/snippets/DenseBase_LinSpacedInt.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << "Even spacing inputs:" << endl; cout << VectorXi::LinSpaced(8, 1, 4).transpose() << endl; cout << VectorXi::LinSpaced(8, 1, 8).transpose() << endl; diff --git a/doc/snippets/DenseBase_LinSpaced_seq_deprecated.cpp b/doc/snippets/DenseBase_LinSpaced_seq_deprecated.cpp index 3c4a565c4..07306ed9b 100644 --- a/doc/snippets/DenseBase_LinSpaced_seq_deprecated.cpp +++ b/doc/snippets/DenseBase_LinSpaced_seq_deprecated.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << VectorXi::LinSpaced(Sequential, 4, 7, 10).transpose() << endl; cout << VectorXd::LinSpaced(Sequential, 5, 0.0, 1.0).transpose() << endl; diff --git a/doc/snippets/DenseBase_setLinSpaced.cpp b/doc/snippets/DenseBase_setLinSpaced.cpp index 6c1eca67e..ed5e3c50f 100644 --- a/doc/snippets/DenseBase_setLinSpaced.cpp +++ b/doc/snippets/DenseBase_setLinSpaced.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXf v; v.setLinSpaced(5, 0.5f, 1.5f); cout << v << endl; diff --git a/doc/snippets/DirectionWise_hnormalized.cpp b/doc/snippets/DirectionWise_hnormalized.cpp index 8a4665206..062ae80f2 100644 --- a/doc/snippets/DirectionWise_hnormalized.cpp +++ b/doc/snippets/DirectionWise_hnormalized.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4Xd M = Matrix4Xd::Random(4, 5); Projective3d P(Matrix4d::Random()); cout << "The matrix M is:" << endl << M << endl << endl; diff --git a/doc/snippets/DirectionWise_replicate.cpp b/doc/snippets/DirectionWise_replicate.cpp index c448307e1..df947df37 100644 --- a/doc/snippets/DirectionWise_replicate.cpp +++ b/doc/snippets/DirectionWise_replicate.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m = MatrixXi::Random(2, 3); cout << "Here is the matrix m:" << endl << m << endl; cout << "m.colwise().replicate<3>() = ..." << endl; diff --git a/doc/snippets/DirectionWise_replicate_int.cpp b/doc/snippets/DirectionWise_replicate_int.cpp index f9b1b5355..d34cf718d 100644 --- a/doc/snippets/DirectionWise_replicate_int.cpp +++ b/doc/snippets/DirectionWise_replicate_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3i v = Vector3i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "v.rowwise().replicate(5) = ..." << endl; diff --git a/doc/snippets/EigenSolver_EigenSolver_MatrixType.cpp b/doc/snippets/EigenSolver_EigenSolver_MatrixType.cpp index b54425f9e..2395212f1 100644 --- a/doc/snippets/EigenSolver_EigenSolver_MatrixType.cpp +++ b/doc/snippets/EigenSolver_EigenSolver_MatrixType.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd A = MatrixXd::Random(6, 6); cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; diff --git a/doc/snippets/EigenSolver_compute.cpp b/doc/snippets/EigenSolver_compute.cpp index 1652463f9..32ce87f59 100644 --- a/doc/snippets/EigenSolver_compute.cpp +++ b/doc/snippets/EigenSolver_compute.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + EigenSolver es; MatrixXf A = MatrixXf::Random(4, 4); es.compute(A, /* computeEigenvectors = */ false); diff --git a/doc/snippets/EigenSolver_eigenvalues.cpp b/doc/snippets/EigenSolver_eigenvalues.cpp index 866183c89..6d8a1b0d7 100644 --- a/doc/snippets/EigenSolver_eigenvalues.cpp +++ b/doc/snippets/EigenSolver_eigenvalues.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); EigenSolver es(ones, false); cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << es.eigenvalues() << endl; diff --git a/doc/snippets/EigenSolver_eigenvectors.cpp b/doc/snippets/EigenSolver_eigenvectors.cpp index 6d4606dc0..d3acf3fdd 100644 --- a/doc/snippets/EigenSolver_eigenvectors.cpp +++ b/doc/snippets/EigenSolver_eigenvectors.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); EigenSolver es(ones); cout << "The first eigenvector of the 3x3 matrix of ones is:" << endl << es.eigenvectors().col(0) << endl; diff --git a/doc/snippets/EigenSolver_pseudoEigenvectors.cpp b/doc/snippets/EigenSolver_pseudoEigenvectors.cpp index d9f3698aa..984efd51a 100644 --- a/doc/snippets/EigenSolver_pseudoEigenvectors.cpp +++ b/doc/snippets/EigenSolver_pseudoEigenvectors.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd A = MatrixXd::Random(6, 6); cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; diff --git a/doc/snippets/FullPivHouseholderQR_solve.cpp b/doc/snippets/FullPivHouseholderQR_solve.cpp index 621d1d1b2..cc52d1043 100644 --- a/doc/snippets/FullPivHouseholderQR_solve.cpp +++ b/doc/snippets/FullPivHouseholderQR_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f m = Matrix3f::Random(); Matrix3f y = Matrix3f::Random(); cout << "Here is the matrix m:" << endl << m << endl; diff --git a/doc/snippets/FullPivLU_image.cpp b/doc/snippets/FullPivLU_image.cpp index a8f664e10..00cb10375 100644 --- a/doc/snippets/FullPivLU_image.cpp +++ b/doc/snippets/FullPivLU_image.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m; m << 1, 1, 0, 1, 3, 2, 0, 1, 1; cout << "Here is the matrix m:" << endl << m << endl; diff --git a/doc/snippets/FullPivLU_kernel.cpp b/doc/snippets/FullPivLU_kernel.cpp index 448a5157e..48aba7bbb 100644 --- a/doc/snippets/FullPivLU_kernel.cpp +++ b/doc/snippets/FullPivLU_kernel.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf m = MatrixXf::Random(3, 5); cout << "Here is the matrix m:" << endl << m << endl; MatrixXf ker = m.fullPivLu().kernel(); diff --git a/doc/snippets/FullPivLU_solve.cpp b/doc/snippets/FullPivLU_solve.cpp index a4ecb838d..c6ac87032 100644 --- a/doc/snippets/FullPivLU_solve.cpp +++ b/doc/snippets/FullPivLU_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix m = Matrix::Random(); Matrix2f y = Matrix2f::Random(); cout << "Here is the matrix m:" << endl << m << endl; diff --git a/doc/snippets/GeneralizedEigenSolver.cpp b/doc/snippets/GeneralizedEigenSolver.cpp index f7a72544a..756e00cc1 100644 --- a/doc/snippets/GeneralizedEigenSolver.cpp +++ b/doc/snippets/GeneralizedEigenSolver.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + GeneralizedEigenSolver ges; MatrixXf A = MatrixXf::Random(4, 4); MatrixXf B = MatrixXf::Random(4, 4); diff --git a/doc/snippets/HessenbergDecomposition_compute.cpp b/doc/snippets/HessenbergDecomposition_compute.cpp index 298b40b93..9b3caca7b 100644 --- a/doc/snippets/HessenbergDecomposition_compute.cpp +++ b/doc/snippets/HessenbergDecomposition_compute.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf A = MatrixXcf::Random(4, 4); HessenbergDecomposition hd(4); hd.compute(A); diff --git a/doc/snippets/HessenbergDecomposition_matrixH.cpp b/doc/snippets/HessenbergDecomposition_matrixH.cpp index 1386febc4..1434c4b2d 100644 --- a/doc/snippets/HessenbergDecomposition_matrixH.cpp +++ b/doc/snippets/HessenbergDecomposition_matrixH.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4f A = MatrixXf::Random(4, 4); cout << "Here is a random 4x4 matrix:" << endl << A << endl; HessenbergDecomposition hessOfA(A); diff --git a/doc/snippets/HessenbergDecomposition_packedMatrix.cpp b/doc/snippets/HessenbergDecomposition_packedMatrix.cpp index 66c1fd0c7..04263bb7f 100644 --- a/doc/snippets/HessenbergDecomposition_packedMatrix.cpp +++ b/doc/snippets/HessenbergDecomposition_packedMatrix.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4d A = Matrix4d::Random(4, 4); cout << "Here is a random 4x4 matrix:" << endl << A << endl; HessenbergDecomposition hessOfA(A); diff --git a/doc/snippets/HouseholderQR_householderQ.cpp b/doc/snippets/HouseholderQR_householderQ.cpp index 6b5cb92eb..f8c7c0214 100644 --- a/doc/snippets/HouseholderQR_householderQ.cpp +++ b/doc/snippets/HouseholderQR_householderQ.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf A(MatrixXf::Random(5, 3)), thinQ(MatrixXf::Identity(5, 3)), Q; A.setRandom(); HouseholderQR qr(A); diff --git a/doc/snippets/HouseholderQR_solve.cpp b/doc/snippets/HouseholderQR_solve.cpp index 35d70ba70..35250afa3 100644 --- a/doc/snippets/HouseholderQR_solve.cpp +++ b/doc/snippets/HouseholderQR_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + typedef Matrix Matrix3x3; Matrix3x3 m = Matrix3x3::Random(); Matrix3f y = Matrix3f::Random(); diff --git a/doc/snippets/HouseholderSequence_HouseholderSequence.cpp b/doc/snippets/HouseholderSequence_HouseholderSequence.cpp index ae088e684..7d5cd694e 100644 --- a/doc/snippets/HouseholderSequence_HouseholderSequence.cpp +++ b/doc/snippets/HouseholderSequence_HouseholderSequence.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d v = Matrix3d::Random(); cout << "The matrix v is:" << endl; cout << v << endl; diff --git a/doc/snippets/IOFormat.cpp b/doc/snippets/IOFormat.cpp index 735f5dd85..1558f1af2 100644 --- a/doc/snippets/IOFormat.cpp +++ b/doc/snippets/IOFormat.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + std::string sep = "\n----------------------------------------\n"; Matrix3d m1; m1 << 1.111111, 2, 3.33333, 4, 5, 6, 7, 8.888888, 9; diff --git a/doc/snippets/JacobiSVD_basic.cpp b/doc/snippets/JacobiSVD_basic.cpp index f451727bf..7f2cfe3a9 100644 --- a/doc/snippets/JacobiSVD_basic.cpp +++ b/doc/snippets/JacobiSVD_basic.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf m = MatrixXf::Random(3, 2); cout << "Here is the matrix m:" << endl << m << endl; JacobiSVD svd(m); diff --git a/doc/snippets/Jacobi_makeGivens.cpp b/doc/snippets/Jacobi_makeGivens.cpp index 6f8ec054a..49d40ec9a 100644 --- a/doc/snippets/Jacobi_makeGivens.cpp +++ b/doc/snippets/Jacobi_makeGivens.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector2f v = Vector2f::Random(); JacobiRotation G; G.makeGivens(v.x(), v.y()); diff --git a/doc/snippets/Jacobi_makeJacobi.cpp b/doc/snippets/Jacobi_makeJacobi.cpp index a86e80a62..f77c91764 100644 --- a/doc/snippets/Jacobi_makeJacobi.cpp +++ b/doc/snippets/Jacobi_makeJacobi.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2f m = Matrix2f::Random(); m = (m + m.adjoint()).eval(); JacobiRotation J; diff --git a/doc/snippets/LLT_example.cpp b/doc/snippets/LLT_example.cpp index c464ac9ee..6926787c3 100644 --- a/doc/snippets/LLT_example.cpp +++ b/doc/snippets/LLT_example.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd A(3, 3); A << 4, -1, 2, -1, 6, 0, 2, 0, 5; cout << "The matrix A is" << endl << A << endl; diff --git a/doc/snippets/LLT_solve.cpp b/doc/snippets/LLT_solve.cpp index 52659aba3..9622b1a59 100644 --- a/doc/snippets/LLT_solve.cpp +++ b/doc/snippets/LLT_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + typedef Matrix DataMatrix; // let's generate some samples on the 3D plane of equation z = 2x+3y (with some noise) DataMatrix samples = DataMatrix::Random(12, 2); diff --git a/doc/snippets/LeastSquaresNormalEquations.cpp b/doc/snippets/LeastSquaresNormalEquations.cpp index 00434f785..3dfacdca3 100644 --- a/doc/snippets/LeastSquaresNormalEquations.cpp +++ b/doc/snippets/LeastSquaresNormalEquations.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf A = MatrixXf::Random(3, 2); VectorXf b = VectorXf::Random(3); cout << "The solution using normal equations is:\n" << (A.transpose() * A).ldlt().solve(A.transpose() * b) << endl; diff --git a/doc/snippets/LeastSquaresQR.cpp b/doc/snippets/LeastSquaresQR.cpp index 9f8f723be..c3a6cd133 100644 --- a/doc/snippets/LeastSquaresQR.cpp +++ b/doc/snippets/LeastSquaresQR.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf A = MatrixXf::Random(3, 2); VectorXf b = VectorXf::Random(3); cout << "The solution using the QR decomposition is:\n" << A.colPivHouseholderQr().solve(b) << endl; diff --git a/doc/snippets/Map_general_stride.cpp b/doc/snippets/Map_general_stride.cpp index e2677ffa0..e1939aa38 100644 --- a/doc/snippets/Map_general_stride.cpp +++ b/doc/snippets/Map_general_stride.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int array[24]; for (int i = 0; i < 24; ++i) array[i] = i; cout << Map >(array, 3, 3, Stride(8, 2)) << endl; diff --git a/doc/snippets/Map_inner_stride.cpp b/doc/snippets/Map_inner_stride.cpp index f31575653..407556d15 100644 --- a/doc/snippets/Map_inner_stride.cpp +++ b/doc/snippets/Map_inner_stride.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int array[12]; for (int i = 0; i < 12; ++i) array[i] = i; cout << Map >(array, 6) // the inner stride has already been passed as template parameter diff --git a/doc/snippets/Map_outer_stride.cpp b/doc/snippets/Map_outer_stride.cpp index 75b1655a5..293a4b42f 100644 --- a/doc/snippets/Map_outer_stride.cpp +++ b/doc/snippets/Map_outer_stride.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int array[12]; for (int i = 0; i < 12; ++i) array[i] = i; cout << Map >(array, 3, 3, OuterStride<>(4)) << endl; diff --git a/doc/snippets/Map_placement_new.cpp b/doc/snippets/Map_placement_new.cpp index eb5213de0..25cf777a0 100644 --- a/doc/snippets/Map_placement_new.cpp +++ b/doc/snippets/Map_placement_new.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int data[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; Map v(data, 4); cout << "The mapped vector v is: " << v << "\n"; diff --git a/doc/snippets/Map_simple.cpp b/doc/snippets/Map_simple.cpp index 3e8fa812a..95a329e4b 100644 --- a/doc/snippets/Map_simple.cpp +++ b/doc/snippets/Map_simple.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int array[9]; for (int i = 0; i < 9; ++i) array[i] = i; cout << Map(array) << endl; diff --git a/doc/snippets/MatrixBase_adjoint.cpp b/doc/snippets/MatrixBase_adjoint.cpp index 4680d5938..03cb7b277 100644 --- a/doc/snippets/MatrixBase_adjoint.cpp +++ b/doc/snippets/MatrixBase_adjoint.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2cf m = Matrix2cf::Random(); cout << "Here is the 2x2 complex matrix m:" << endl << m << endl; cout << "Here is the adjoint of m:" << endl << m.adjoint() << endl; diff --git a/doc/snippets/MatrixBase_all.cpp b/doc/snippets/MatrixBase_all.cpp index f31d10c10..4a523dbc5 100644 --- a/doc/snippets/MatrixBase_all.cpp +++ b/doc/snippets/MatrixBase_all.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3f boxMin(Vector3f::Zero()), boxMax(Vector3f::Ones()); Vector3f p0 = Vector3f::Random(), p1 = Vector3f::Random().cwiseAbs(); // let's check if p0 and p1 are inside the axis aligned box defined by the corners boxMin,boxMax: diff --git a/doc/snippets/MatrixBase_applyOnTheLeft.cpp b/doc/snippets/MatrixBase_applyOnTheLeft.cpp index 00676a35a..75ad779c1 100644 --- a/doc/snippets/MatrixBase_applyOnTheLeft.cpp +++ b/doc/snippets/MatrixBase_applyOnTheLeft.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A = Matrix3f::Random(3, 3), B; B << 0, 1, 0, 0, 0, 1, 1, 0, 0; cout << "At start, A = " << endl << A << endl; diff --git a/doc/snippets/MatrixBase_applyOnTheRight.cpp b/doc/snippets/MatrixBase_applyOnTheRight.cpp index a1008c69b..84c186c22 100644 --- a/doc/snippets/MatrixBase_applyOnTheRight.cpp +++ b/doc/snippets/MatrixBase_applyOnTheRight.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A = Matrix3f::Random(3, 3), B; B << 0, 1, 0, 0, 0, 1, 1, 0, 0; cout << "At start, A = " << endl << A << endl; diff --git a/doc/snippets/MatrixBase_array.cpp b/doc/snippets/MatrixBase_array.cpp index 456d1d618..e873e7537 100644 --- a/doc/snippets/MatrixBase_array.cpp +++ b/doc/snippets/MatrixBase_array.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v(1, 2, 3); v.array() += 3; v.array() -= 2; diff --git a/doc/snippets/MatrixBase_array_const.cpp b/doc/snippets/MatrixBase_array_const.cpp index e662f6cd8..f145853ef 100644 --- a/doc/snippets/MatrixBase_array_const.cpp +++ b/doc/snippets/MatrixBase_array_const.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v(-1, 2, -3); cout << "the absolute values:" << endl << v.array().abs() << endl; cout << "the absolute values plus one:" << endl << v.array().abs() + 1 << endl; diff --git a/doc/snippets/MatrixBase_asDiagonal.cpp b/doc/snippets/MatrixBase_asDiagonal.cpp index 637e95b8f..7f0491302 100644 --- a/doc/snippets/MatrixBase_asDiagonal.cpp +++ b/doc/snippets/MatrixBase_asDiagonal.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << Matrix3i(Vector3i(2, 5, 6).asDiagonal()) << endl; diff --git a/doc/snippets/MatrixBase_block_int_int.cpp b/doc/snippets/MatrixBase_block_int_int.cpp index ade73ee31..715354b9e 100644 --- a/doc/snippets/MatrixBase_block_int_int.cpp +++ b/doc/snippets/MatrixBase_block_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.block<2,2>(1,1):" << endl << m.block<2, 2>(1, 1) << endl; diff --git a/doc/snippets/MatrixBase_block_int_int_int_int.cpp b/doc/snippets/MatrixBase_block_int_int_int_int.cpp index 7238cbbed..2b481b0f1 100644 --- a/doc/snippets/MatrixBase_block_int_int_int_int.cpp +++ b/doc/snippets/MatrixBase_block_int_int_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.block(1, 1, 2, 2):" << endl << m.block(1, 1, 2, 2) << endl; diff --git a/doc/snippets/MatrixBase_bottomLeftCorner_int_int.cpp b/doc/snippets/MatrixBase_bottomLeftCorner_int_int.cpp index ebae95e1d..961c7b657 100644 --- a/doc/snippets/MatrixBase_bottomLeftCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_bottomLeftCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.bottomLeftCorner(2, 2):" << endl; diff --git a/doc/snippets/MatrixBase_bottomRightCorner_int_int.cpp b/doc/snippets/MatrixBase_bottomRightCorner_int_int.cpp index bf05093af..11f453c0b 100644 --- a/doc/snippets/MatrixBase_bottomRightCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_bottomRightCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.bottomRightCorner(2, 2):" << endl; diff --git a/doc/snippets/MatrixBase_bottomRows_int.cpp b/doc/snippets/MatrixBase_bottomRows_int.cpp index 47ca92ec3..f9e965144 100644 --- a/doc/snippets/MatrixBase_bottomRows_int.cpp +++ b/doc/snippets/MatrixBase_bottomRows_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.bottomRows(2):" << endl; diff --git a/doc/snippets/MatrixBase_cast.cpp b/doc/snippets/MatrixBase_cast.cpp index 016880b40..5e31256df 100644 --- a/doc/snippets/MatrixBase_cast.cpp +++ b/doc/snippets/MatrixBase_cast.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2d md = Matrix2d::Identity() * 0.45; Matrix2f mf = Matrix2f::Identity(); cout << md + mf.cast() << endl; diff --git a/doc/snippets/MatrixBase_col.cpp b/doc/snippets/MatrixBase_col.cpp index cf0241e9b..e726228f9 100644 --- a/doc/snippets/MatrixBase_col.cpp +++ b/doc/snippets/MatrixBase_col.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Identity(); m.col(1) = Vector3d(4, 5, 6); cout << m << endl; diff --git a/doc/snippets/MatrixBase_colwise.cpp b/doc/snippets/MatrixBase_colwise.cpp index a31033dab..de14e8502 100644 --- a/doc/snippets/MatrixBase_colwise.cpp +++ b/doc/snippets/MatrixBase_colwise.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the sum of each column:" << endl << m.colwise().sum() << endl; diff --git a/doc/snippets/MatrixBase_colwise_iterator_cxx11.cpp b/doc/snippets/MatrixBase_colwise_iterator_cxx11.cpp index c03304370..845b972fe 100644 --- a/doc/snippets/MatrixBase_colwise_iterator_cxx11.cpp +++ b/doc/snippets/MatrixBase_colwise_iterator_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3i m = Matrix3i::Random(); cout << "Here is the initial matrix m:" << endl << m << endl; int i = -1; diff --git a/doc/snippets/MatrixBase_computeInverseAndDetWithCheck.cpp b/doc/snippets/MatrixBase_computeInverseAndDetWithCheck.cpp index 774d4d4f7..ebd631448 100644 --- a/doc/snippets/MatrixBase_computeInverseAndDetWithCheck.cpp +++ b/doc/snippets/MatrixBase_computeInverseAndDetWithCheck.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; Matrix3d inverse; diff --git a/doc/snippets/MatrixBase_computeInverseWithCheck.cpp b/doc/snippets/MatrixBase_computeInverseWithCheck.cpp index 7c95100f5..e618707e3 100644 --- a/doc/snippets/MatrixBase_computeInverseWithCheck.cpp +++ b/doc/snippets/MatrixBase_computeInverseWithCheck.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; Matrix3d inverse; diff --git a/doc/snippets/MatrixBase_cwiseAbs.cpp b/doc/snippets/MatrixBase_cwiseAbs.cpp index e42419071..32dec7552 100644 --- a/doc/snippets/MatrixBase_cwiseAbs.cpp +++ b/doc/snippets/MatrixBase_cwiseAbs.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m(2, 3); m << 2, -4, 6, -5, 1, 0; cout << m.cwiseAbs() << endl; diff --git a/doc/snippets/MatrixBase_cwiseAbs2.cpp b/doc/snippets/MatrixBase_cwiseAbs2.cpp index 952ba9d34..f8a015935 100644 --- a/doc/snippets/MatrixBase_cwiseAbs2.cpp +++ b/doc/snippets/MatrixBase_cwiseAbs2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m(2, 3); m << 2, -4, 6, -5, 1, 0; cout << m.cwiseAbs2() << endl; diff --git a/doc/snippets/MatrixBase_cwiseArg.cpp b/doc/snippets/MatrixBase_cwiseArg.cpp index e0857cf97..6ec17c6b2 100644 --- a/doc/snippets/MatrixBase_cwiseArg.cpp +++ b/doc/snippets/MatrixBase_cwiseArg.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf v = MatrixXcf::Random(2, 3); cout << v << endl << endl; cout << v.cwiseArg() << endl; \ No newline at end of file diff --git a/doc/snippets/MatrixBase_cwiseEqual.cpp b/doc/snippets/MatrixBase_cwiseEqual.cpp index dae553c80..247c4cd62 100644 --- a/doc/snippets/MatrixBase_cwiseEqual.cpp +++ b/doc/snippets/MatrixBase_cwiseEqual.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m(2, 2); m << 1, 0, 1, 1; cout << "Comparing m with identity matrix:" << endl; diff --git a/doc/snippets/MatrixBase_cwiseInverse.cpp b/doc/snippets/MatrixBase_cwiseInverse.cpp index 74551cbb7..f8993a749 100644 --- a/doc/snippets/MatrixBase_cwiseInverse.cpp +++ b/doc/snippets/MatrixBase_cwiseInverse.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m(2, 3); m << 2, 0.5, 1, 3, 0.25, 1; cout << m.cwiseInverse() << endl; diff --git a/doc/snippets/MatrixBase_cwiseMax.cpp b/doc/snippets/MatrixBase_cwiseMax.cpp index cd613b585..5d1fb79d0 100644 --- a/doc/snippets/MatrixBase_cwiseMax.cpp +++ b/doc/snippets/MatrixBase_cwiseMax.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v(2, 3, 4), w(4, 2, 3); cout << v.cwiseMax(w) << endl; diff --git a/doc/snippets/MatrixBase_cwiseMin.cpp b/doc/snippets/MatrixBase_cwiseMin.cpp index 6fa93f36b..c163ef6d5 100644 --- a/doc/snippets/MatrixBase_cwiseMin.cpp +++ b/doc/snippets/MatrixBase_cwiseMin.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v(2, 3, 4), w(4, 2, 3); cout << v.cwiseMin(w) << endl; diff --git a/doc/snippets/MatrixBase_cwiseNotEqual.cpp b/doc/snippets/MatrixBase_cwiseNotEqual.cpp index 1a3ec73ae..4b7d4abc9 100644 --- a/doc/snippets/MatrixBase_cwiseNotEqual.cpp +++ b/doc/snippets/MatrixBase_cwiseNotEqual.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m(2, 2); m << 1, 0, 1, 1; cout << "Comparing m with identity matrix:" << endl; diff --git a/doc/snippets/MatrixBase_cwiseProduct.cpp b/doc/snippets/MatrixBase_cwiseProduct.cpp index 79540a9d5..774fe05a3 100644 --- a/doc/snippets/MatrixBase_cwiseProduct.cpp +++ b/doc/snippets/MatrixBase_cwiseProduct.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3i a = Matrix3i::Random(), b = Matrix3i::Random(); Matrix3i c = a.cwiseProduct(b); cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl; diff --git a/doc/snippets/MatrixBase_cwiseQuotient.cpp b/doc/snippets/MatrixBase_cwiseQuotient.cpp index c78110fc8..6ef453abf 100644 --- a/doc/snippets/MatrixBase_cwiseQuotient.cpp +++ b/doc/snippets/MatrixBase_cwiseQuotient.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v(2, 3, 4), w(4, 2, 3); cout << v.cwiseQuotient(w) << endl; diff --git a/doc/snippets/MatrixBase_cwiseSign.cpp b/doc/snippets/MatrixBase_cwiseSign.cpp index c2ee94d40..28932282b 100644 --- a/doc/snippets/MatrixBase_cwiseSign.cpp +++ b/doc/snippets/MatrixBase_cwiseSign.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m(2, 3); m << 2, -4, 6, -5, 1, 0; cout << m.cwiseSign() << endl; diff --git a/doc/snippets/MatrixBase_cwiseSqrt.cpp b/doc/snippets/MatrixBase_cwiseSqrt.cpp index 5bfb5f387..7d058a8b2 100644 --- a/doc/snippets/MatrixBase_cwiseSqrt.cpp +++ b/doc/snippets/MatrixBase_cwiseSqrt.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v(1, 2, 4); cout << v.cwiseSqrt() << endl; diff --git a/doc/snippets/MatrixBase_diagonal.cpp b/doc/snippets/MatrixBase_diagonal.cpp index c15dcf104..193c706ba 100644 --- a/doc/snippets/MatrixBase_diagonal.cpp +++ b/doc/snippets/MatrixBase_diagonal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3i m = Matrix3i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here are the coefficients on the main diagonal of m:" << endl << m.diagonal() << endl; diff --git a/doc/snippets/MatrixBase_diagonal_int.cpp b/doc/snippets/MatrixBase_diagonal_int.cpp index 7b66abf67..03458297b 100644 --- a/doc/snippets/MatrixBase_diagonal_int.cpp +++ b/doc/snippets/MatrixBase_diagonal_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl diff --git a/doc/snippets/MatrixBase_diagonal_template_int.cpp b/doc/snippets/MatrixBase_diagonal_template_int.cpp index 0e73d1c16..d4c3d7333 100644 --- a/doc/snippets/MatrixBase_diagonal_template_int.cpp +++ b/doc/snippets/MatrixBase_diagonal_template_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl diff --git a/doc/snippets/MatrixBase_eigenvalues.cpp b/doc/snippets/MatrixBase_eigenvalues.cpp index 010f45dcd..4ea7b6e39 100644 --- a/doc/snippets/MatrixBase_eigenvalues.cpp +++ b/doc/snippets/MatrixBase_eigenvalues.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); VectorXcd eivals = ones.eigenvalues(); cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl; diff --git a/doc/snippets/MatrixBase_end_int.cpp b/doc/snippets/MatrixBase_end_int.cpp index 03c54a931..c6fd5e0e7 100644 --- a/doc/snippets/MatrixBase_end_int.cpp +++ b/doc/snippets/MatrixBase_end_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "Here is v.tail(2):" << endl << v.tail(2) << endl; diff --git a/doc/snippets/MatrixBase_eval.cpp b/doc/snippets/MatrixBase_eval.cpp index 1df3aa01d..f7258ad4a 100644 --- a/doc/snippets/MatrixBase_eval.cpp +++ b/doc/snippets/MatrixBase_eval.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2f M = Matrix2f::Random(); Matrix2f m; m = M; diff --git a/doc/snippets/MatrixBase_fixedBlock_int_int.cpp b/doc/snippets/MatrixBase_fixedBlock_int_int.cpp index 6a3a8cba6..33e615927 100644 --- a/doc/snippets/MatrixBase_fixedBlock_int_int.cpp +++ b/doc/snippets/MatrixBase_fixedBlock_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4d m = Vector4d(1, 2, 3, 4).asDiagonal(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.fixed<2, 2>(2, 2):" << endl << m.block<2, 2>(2, 2) << endl; diff --git a/doc/snippets/MatrixBase_hnormalized.cpp b/doc/snippets/MatrixBase_hnormalized.cpp index 23334ac08..1ea797e18 100644 --- a/doc/snippets/MatrixBase_hnormalized.cpp +++ b/doc/snippets/MatrixBase_hnormalized.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector4d v = Vector4d::Random(); Projective3d P(Matrix4d::Random()); cout << "v = " << v.transpose() << "]^T" << endl; diff --git a/doc/snippets/MatrixBase_homogeneous.cpp b/doc/snippets/MatrixBase_homogeneous.cpp index 6818f9b6a..12e514f0d 100644 --- a/doc/snippets/MatrixBase_homogeneous.cpp +++ b/doc/snippets/MatrixBase_homogeneous.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v = Vector3d::Random(), w; Projective3d P(Matrix4d::Random()); cout << "v = [" << v.transpose() << "]^T" << endl; diff --git a/doc/snippets/MatrixBase_identity.cpp b/doc/snippets/MatrixBase_identity.cpp index b5c1e59c9..53ca38b4f 100644 --- a/doc/snippets/MatrixBase_identity.cpp +++ b/doc/snippets/MatrixBase_identity.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << Matrix::Identity() << endl; diff --git a/doc/snippets/MatrixBase_identity_int_int.cpp b/doc/snippets/MatrixBase_identity_int_int.cpp index 918649d64..0ddf93f78 100644 --- a/doc/snippets/MatrixBase_identity_int_int.cpp +++ b/doc/snippets/MatrixBase_identity_int_int.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << MatrixXd::Identity(4, 3) << endl; diff --git a/doc/snippets/MatrixBase_inverse.cpp b/doc/snippets/MatrixBase_inverse.cpp index a56142ee0..cf96cbcf3 100644 --- a/doc/snippets/MatrixBase_inverse.cpp +++ b/doc/snippets/MatrixBase_inverse.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Its inverse is:" << endl << m.inverse() << endl; diff --git a/doc/snippets/MatrixBase_isDiagonal.cpp b/doc/snippets/MatrixBase_isDiagonal.cpp index 290654fdf..d13965d46 100644 --- a/doc/snippets/MatrixBase_isDiagonal.cpp +++ b/doc/snippets/MatrixBase_isDiagonal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = 10000 * Matrix3d::Identity(); m(0, 2) = 1; cout << "Here's the matrix m:" << endl << m << endl; diff --git a/doc/snippets/MatrixBase_isIdentity.cpp b/doc/snippets/MatrixBase_isIdentity.cpp index ea535c786..adc95a0fb 100644 --- a/doc/snippets/MatrixBase_isIdentity.cpp +++ b/doc/snippets/MatrixBase_isIdentity.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Identity(); m(0, 2) = 1e-4; cout << "Here's the matrix m:" << endl << m << endl; diff --git a/doc/snippets/MatrixBase_isOnes.cpp b/doc/snippets/MatrixBase_isOnes.cpp index 899230ab7..c646858ce 100644 --- a/doc/snippets/MatrixBase_isOnes.cpp +++ b/doc/snippets/MatrixBase_isOnes.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Ones(); m(0, 2) += 1e-4; cout << "Here's the matrix m:" << endl << m << endl; diff --git a/doc/snippets/MatrixBase_isOrthogonal.cpp b/doc/snippets/MatrixBase_isOrthogonal.cpp index 3e079b4a7..91547b305 100644 --- a/doc/snippets/MatrixBase_isOrthogonal.cpp +++ b/doc/snippets/MatrixBase_isOrthogonal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3d v(1, 0, 0); Vector3d w(1e-4, 0, 1); cout << "Here's the vector v:" << endl << v << endl; diff --git a/doc/snippets/MatrixBase_isUnitary.cpp b/doc/snippets/MatrixBase_isUnitary.cpp index 56f1b9643..34c2e2693 100644 --- a/doc/snippets/MatrixBase_isUnitary.cpp +++ b/doc/snippets/MatrixBase_isUnitary.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Identity(); m(0, 2) = 1e-4; cout << "Here's the matrix m:" << endl << m << endl; diff --git a/doc/snippets/MatrixBase_isZero.cpp b/doc/snippets/MatrixBase_isZero.cpp index c878f1c42..fe0d609b2 100644 --- a/doc/snippets/MatrixBase_isZero.cpp +++ b/doc/snippets/MatrixBase_isZero.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Zero(); m(0, 2) = 1e-4; cout << "Here's the matrix m:" << endl << m << endl; diff --git a/doc/snippets/MatrixBase_leftCols_int.cpp b/doc/snippets/MatrixBase_leftCols_int.cpp index 6ea984e4e..a495b423f 100644 --- a/doc/snippets/MatrixBase_leftCols_int.cpp +++ b/doc/snippets/MatrixBase_leftCols_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.leftCols(2):" << endl; diff --git a/doc/snippets/MatrixBase_noalias.cpp b/doc/snippets/MatrixBase_noalias.cpp index 607d3d593..8909f1a68 100644 --- a/doc/snippets/MatrixBase_noalias.cpp +++ b/doc/snippets/MatrixBase_noalias.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2d a, b, c; a << 1, 2, 3, 4; b << 5, 6, 7, 8; diff --git a/doc/snippets/MatrixBase_ones.cpp b/doc/snippets/MatrixBase_ones.cpp index 02c767c95..90615d470 100644 --- a/doc/snippets/MatrixBase_ones.cpp +++ b/doc/snippets/MatrixBase_ones.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << Matrix2d::Ones() << endl; cout << 6 * RowVector4i::Ones() << endl; diff --git a/doc/snippets/MatrixBase_ones_int.cpp b/doc/snippets/MatrixBase_ones_int.cpp index 2ef188e7d..cc4c9e344 100644 --- a/doc/snippets/MatrixBase_ones_int.cpp +++ b/doc/snippets/MatrixBase_ones_int.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << 6 * RowVectorXi::Ones(4) << endl; cout << VectorXf::Ones(2) << endl; diff --git a/doc/snippets/MatrixBase_ones_int_int.cpp b/doc/snippets/MatrixBase_ones_int_int.cpp index 38bd8cf2e..e919ac7a5 100644 --- a/doc/snippets/MatrixBase_ones_int_int.cpp +++ b/doc/snippets/MatrixBase_ones_int_int.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << MatrixXi::Ones(2, 3) << endl; diff --git a/doc/snippets/MatrixBase_operatorNorm.cpp b/doc/snippets/MatrixBase_operatorNorm.cpp index 99ca14d88..fba67d6ba 100644 --- a/doc/snippets/MatrixBase_operatorNorm.cpp +++ b/doc/snippets/MatrixBase_operatorNorm.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); cout << "The operator norm of the 3x3 matrix of ones is " << ones.operatorNorm() << endl; diff --git a/doc/snippets/MatrixBase_prod.cpp b/doc/snippets/MatrixBase_prod.cpp index d2f27bdc3..b373e92e0 100644 --- a/doc/snippets/MatrixBase_prod.cpp +++ b/doc/snippets/MatrixBase_prod.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the product of all the coefficients:" << endl << m.prod() << endl; diff --git a/doc/snippets/MatrixBase_random.cpp b/doc/snippets/MatrixBase_random.cpp index 65fc524f1..26eea6b87 100644 --- a/doc/snippets/MatrixBase_random.cpp +++ b/doc/snippets/MatrixBase_random.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << 100 * Matrix2i::Random() << endl; diff --git a/doc/snippets/MatrixBase_random_int.cpp b/doc/snippets/MatrixBase_random_int.cpp index f161d03c2..a27ebc172 100644 --- a/doc/snippets/MatrixBase_random_int.cpp +++ b/doc/snippets/MatrixBase_random_int.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << VectorXi::Random(2) << endl; diff --git a/doc/snippets/MatrixBase_random_int_int.cpp b/doc/snippets/MatrixBase_random_int_int.cpp index 92f87c8c4..fbac8956f 100644 --- a/doc/snippets/MatrixBase_random_int_int.cpp +++ b/doc/snippets/MatrixBase_random_int_int.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << MatrixXi::Random(2, 3) << endl; diff --git a/doc/snippets/MatrixBase_replicate.cpp b/doc/snippets/MatrixBase_replicate.cpp index bffd10215..344bb581d 100644 --- a/doc/snippets/MatrixBase_replicate.cpp +++ b/doc/snippets/MatrixBase_replicate.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m = MatrixXi::Random(2, 3); cout << "Here is the matrix m:" << endl << m << endl; cout << "m.replicate<3,2>() = ..." << endl; diff --git a/doc/snippets/MatrixBase_replicate_int_int.cpp b/doc/snippets/MatrixBase_replicate_int_int.cpp index 1aee265b3..a09caaea8 100644 --- a/doc/snippets/MatrixBase_replicate_int_int.cpp +++ b/doc/snippets/MatrixBase_replicate_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Vector3i v = Vector3i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "v.replicate(2,5) = ..." << endl; diff --git a/doc/snippets/MatrixBase_reshaped_auto.cpp b/doc/snippets/MatrixBase_reshaped_auto.cpp index 59f9d3f60..57902ccc4 100644 --- a/doc/snippets/MatrixBase_reshaped_auto.cpp +++ b/doc/snippets/MatrixBase_reshaped_auto.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped(2, AutoSize):" << endl << m.reshaped(2, AutoSize) << endl; diff --git a/doc/snippets/MatrixBase_reshaped_fixed.cpp b/doc/snippets/MatrixBase_reshaped_fixed.cpp index c1ae2c0fb..ea177e5b9 100644 --- a/doc/snippets/MatrixBase_reshaped_fixed.cpp +++ b/doc/snippets/MatrixBase_reshaped_fixed.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped(fix<2>,fix<8>):" << endl << m.reshaped(fix<2>, fix<8>) << endl; diff --git a/doc/snippets/MatrixBase_reshaped_int_int.cpp b/doc/snippets/MatrixBase_reshaped_int_int.cpp index af4ca592f..027cd28c8 100644 --- a/doc/snippets/MatrixBase_reshaped_int_int.cpp +++ b/doc/snippets/MatrixBase_reshaped_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped(2, 8):" << endl << m.reshaped(2, 8) << endl; diff --git a/doc/snippets/MatrixBase_reshaped_to_vector.cpp b/doc/snippets/MatrixBase_reshaped_to_vector.cpp index 37f65f7c6..a9429059c 100644 --- a/doc/snippets/MatrixBase_reshaped_to_vector.cpp +++ b/doc/snippets/MatrixBase_reshaped_to_vector.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped().transpose():" << endl << m.reshaped().transpose() << endl; diff --git a/doc/snippets/MatrixBase_reverse.cpp b/doc/snippets/MatrixBase_reverse.cpp index ca125580c..a8dfc50f7 100644 --- a/doc/snippets/MatrixBase_reverse.cpp +++ b/doc/snippets/MatrixBase_reverse.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m = MatrixXi::Random(3, 4); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the reverse of m:" << endl << m.reverse() << endl; diff --git a/doc/snippets/MatrixBase_rightCols_int.cpp b/doc/snippets/MatrixBase_rightCols_int.cpp index cb513401b..9bf46810b 100644 --- a/doc/snippets/MatrixBase_rightCols_int.cpp +++ b/doc/snippets/MatrixBase_rightCols_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.rightCols(2):" << endl; diff --git a/doc/snippets/MatrixBase_row.cpp b/doc/snippets/MatrixBase_row.cpp index 481bff84b..d84df99c3 100644 --- a/doc/snippets/MatrixBase_row.cpp +++ b/doc/snippets/MatrixBase_row.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Identity(); m.row(1) = Vector3d(4, 5, 6); cout << m << endl; diff --git a/doc/snippets/MatrixBase_rowwise.cpp b/doc/snippets/MatrixBase_rowwise.cpp index b869224ad..9563378b4 100644 --- a/doc/snippets/MatrixBase_rowwise.cpp +++ b/doc/snippets/MatrixBase_rowwise.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl; diff --git a/doc/snippets/MatrixBase_segment_int_int.cpp b/doc/snippets/MatrixBase_segment_int_int.cpp index 70cd6d266..0eabf3303 100644 --- a/doc/snippets/MatrixBase_segment_int_int.cpp +++ b/doc/snippets/MatrixBase_segment_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "Here is v.segment(1, 2):" << endl << v.segment(1, 2) << endl; diff --git a/doc/snippets/MatrixBase_select.cpp b/doc/snippets/MatrixBase_select.cpp index d14941bd4..d2bd43d15 100644 --- a/doc/snippets/MatrixBase_select.cpp +++ b/doc/snippets/MatrixBase_select.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m(3, 3); m << 1, 2, 3, 4, 5, 6, 7, 8, 9; m = (m.array() >= 5).select(-m, m); diff --git a/doc/snippets/MatrixBase_selfadjointView.cpp b/doc/snippets/MatrixBase_selfadjointView.cpp index 4bd3c7eeb..83b3029a2 100644 --- a/doc/snippets/MatrixBase_selfadjointView.cpp +++ b/doc/snippets/MatrixBase_selfadjointView.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3i m = Matrix3i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the symmetric matrix extracted from the upper part of m:" << endl diff --git a/doc/snippets/MatrixBase_set.cpp b/doc/snippets/MatrixBase_set.cpp index d392b68bd..fd116c8b0 100644 --- a/doc/snippets/MatrixBase_set.cpp +++ b/doc/snippets/MatrixBase_set.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3i m1; m1 << 1, 2, 3, 4, 5, 6, 7, 8, 9; cout << m1 << endl << endl; diff --git a/doc/snippets/MatrixBase_setIdentity.cpp b/doc/snippets/MatrixBase_setIdentity.cpp index 916b477cb..e241c5e51 100644 --- a/doc/snippets/MatrixBase_setIdentity.cpp +++ b/doc/snippets/MatrixBase_setIdentity.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Zero(); m.block<3, 3>(1, 0).setIdentity(); cout << m << endl; diff --git a/doc/snippets/MatrixBase_setOnes.cpp b/doc/snippets/MatrixBase_setOnes.cpp index 4cef9c1eb..03f96593c 100644 --- a/doc/snippets/MatrixBase_setOnes.cpp +++ b/doc/snippets/MatrixBase_setOnes.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); m.row(1).setOnes(); cout << m << endl; diff --git a/doc/snippets/MatrixBase_setRandom.cpp b/doc/snippets/MatrixBase_setRandom.cpp index e2c257d44..c1eb2e126 100644 --- a/doc/snippets/MatrixBase_setRandom.cpp +++ b/doc/snippets/MatrixBase_setRandom.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Zero(); m.col(1).setRandom(); cout << m << endl; diff --git a/doc/snippets/MatrixBase_setZero.cpp b/doc/snippets/MatrixBase_setZero.cpp index 9b5b9583c..b4f1d352d 100644 --- a/doc/snippets/MatrixBase_setZero.cpp +++ b/doc/snippets/MatrixBase_setZero.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); m.row(1).setZero(); cout << m << endl; diff --git a/doc/snippets/MatrixBase_start_int.cpp b/doc/snippets/MatrixBase_start_int.cpp index c261d2b4e..86f52cb53 100644 --- a/doc/snippets/MatrixBase_start_int.cpp +++ b/doc/snippets/MatrixBase_start_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "Here is v.head(2):" << endl << v.head(2) << endl; diff --git a/doc/snippets/MatrixBase_template_int_bottomRows.cpp b/doc/snippets/MatrixBase_template_int_bottomRows.cpp index f9ea892da..d0208203d 100644 --- a/doc/snippets/MatrixBase_template_int_bottomRows.cpp +++ b/doc/snippets/MatrixBase_template_int_bottomRows.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.bottomRows<2>():" << endl; diff --git a/doc/snippets/MatrixBase_template_int_end.cpp b/doc/snippets/MatrixBase_template_int_end.cpp index f5ccb00f6..c148a5313 100644 --- a/doc/snippets/MatrixBase_template_int_end.cpp +++ b/doc/snippets/MatrixBase_template_int_end.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "Here is v.tail(2):" << endl << v.tail<2>() << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_block_int_int_int_int.cpp b/doc/snippets/MatrixBase_template_int_int_block_int_int_int_int.cpp index 4dced03ba..c29c3ef44 100644 --- a/doc/snippets/MatrixBase_template_int_int_block_int_int_int_int.cpp +++ b/doc/snippets/MatrixBase_template_int_int_block_int_int_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the block:" << endl << m.block<2, Dynamic>(1, 1, 2, 3) << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner.cpp b/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner.cpp index bf9f0ab08..8e724b6ca 100644 --- a/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner.cpp +++ b/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.bottomLeftCorner<2,2>():" << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp b/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp index 3d22fc2fb..28fae1ceb 100644 --- a/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.bottomLeftCorner<2,Dynamic>(2,2):" << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_bottomRightCorner.cpp b/doc/snippets/MatrixBase_template_int_int_bottomRightCorner.cpp index 4a78bed5a..7ec71aa83 100644 --- a/doc/snippets/MatrixBase_template_int_int_bottomRightCorner.cpp +++ b/doc/snippets/MatrixBase_template_int_int_bottomRightCorner.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.bottomRightCorner<2,2>():" << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_bottomRightCorner_int_int.cpp b/doc/snippets/MatrixBase_template_int_int_bottomRightCorner_int_int.cpp index 75a3e9392..120fc93a5 100644 --- a/doc/snippets/MatrixBase_template_int_int_bottomRightCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_template_int_int_bottomRightCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.bottomRightCorner<2,Dynamic>(2,2):" << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_topLeftCorner.cpp b/doc/snippets/MatrixBase_template_int_int_topLeftCorner.cpp index 7c765d436..8ac212b10 100644 --- a/doc/snippets/MatrixBase_template_int_int_topLeftCorner.cpp +++ b/doc/snippets/MatrixBase_template_int_int_topLeftCorner.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.topLeftCorner<2,2>():" << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_topLeftCorner_int_int.cpp b/doc/snippets/MatrixBase_template_int_int_topLeftCorner_int_int.cpp index ae72684b8..482e7f94d 100644 --- a/doc/snippets/MatrixBase_template_int_int_topLeftCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_template_int_int_topLeftCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.topLeftCorner<2,Dynamic>(2,2):" << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_topRightCorner.cpp b/doc/snippets/MatrixBase_template_int_int_topRightCorner.cpp index 9698521b0..22d1a9c36 100644 --- a/doc/snippets/MatrixBase_template_int_int_topRightCorner.cpp +++ b/doc/snippets/MatrixBase_template_int_int_topRightCorner.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.topRightCorner<2,2>():" << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_topRightCorner_int_int.cpp b/doc/snippets/MatrixBase_template_int_int_topRightCorner_int_int.cpp index 4144242df..803ef1b3b 100644 --- a/doc/snippets/MatrixBase_template_int_int_topRightCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_template_int_int_topRightCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.topRightCorner<2,Dynamic>(2,2):" << endl; diff --git a/doc/snippets/MatrixBase_template_int_leftCols.cpp b/doc/snippets/MatrixBase_template_int_leftCols.cpp index 1c425d917..885f8ae97 100644 --- a/doc/snippets/MatrixBase_template_int_leftCols.cpp +++ b/doc/snippets/MatrixBase_template_int_leftCols.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.leftCols<2>():" << endl; diff --git a/doc/snippets/MatrixBase_template_int_rightCols.cpp b/doc/snippets/MatrixBase_template_int_rightCols.cpp index fc8c0d93c..0bcc401a1 100644 --- a/doc/snippets/MatrixBase_template_int_rightCols.cpp +++ b/doc/snippets/MatrixBase_template_int_rightCols.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.rightCols<2>():" << endl; diff --git a/doc/snippets/MatrixBase_template_int_segment.cpp b/doc/snippets/MatrixBase_template_int_segment.cpp index e448b4022..daf61e3db 100644 --- a/doc/snippets/MatrixBase_template_int_segment.cpp +++ b/doc/snippets/MatrixBase_template_int_segment.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "Here is v.segment<2>(1):" << endl << v.segment<2>(1) << endl; diff --git a/doc/snippets/MatrixBase_template_int_start.cpp b/doc/snippets/MatrixBase_template_int_start.cpp index d336b3716..bbf4b1a1c 100644 --- a/doc/snippets/MatrixBase_template_int_start.cpp +++ b/doc/snippets/MatrixBase_template_int_start.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; cout << "Here is v.head(2):" << endl << v.head<2>() << endl; diff --git a/doc/snippets/MatrixBase_template_int_topRows.cpp b/doc/snippets/MatrixBase_template_int_topRows.cpp index 0110251a5..36bca0d0f 100644 --- a/doc/snippets/MatrixBase_template_int_topRows.cpp +++ b/doc/snippets/MatrixBase_template_int_topRows.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.topRows<2>():" << endl; diff --git a/doc/snippets/MatrixBase_topLeftCorner_int_int.cpp b/doc/snippets/MatrixBase_topLeftCorner_int_int.cpp index e52cb3bdb..26b29661e 100644 --- a/doc/snippets/MatrixBase_topLeftCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_topLeftCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.topLeftCorner(2, 2):" << endl; diff --git a/doc/snippets/MatrixBase_topRightCorner_int_int.cpp b/doc/snippets/MatrixBase_topRightCorner_int_int.cpp index 811fa563e..4d0061c02 100644 --- a/doc/snippets/MatrixBase_topRightCorner_int_int.cpp +++ b/doc/snippets/MatrixBase_topRightCorner_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.topRightCorner(2, 2):" << endl; diff --git a/doc/snippets/MatrixBase_topRows_int.cpp b/doc/snippets/MatrixBase_topRows_int.cpp index f2d75f1cb..c8a507ae0 100644 --- a/doc/snippets/MatrixBase_topRows_int.cpp +++ b/doc/snippets/MatrixBase_topRows_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array44i a = Array44i::Random(); cout << "Here is the array a:" << endl << a << endl; cout << "Here is a.topRows(2):" << endl; diff --git a/doc/snippets/MatrixBase_transpose.cpp b/doc/snippets/MatrixBase_transpose.cpp index 8bf2716ef..3a2590e8f 100644 --- a/doc/snippets/MatrixBase_transpose.cpp +++ b/doc/snippets/MatrixBase_transpose.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2i m = Matrix2i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the transpose of m:" << endl << m.transpose() << endl; diff --git a/doc/snippets/MatrixBase_triangularView.cpp b/doc/snippets/MatrixBase_triangularView.cpp index 03aa303f0..24edac7fa 100644 --- a/doc/snippets/MatrixBase_triangularView.cpp +++ b/doc/snippets/MatrixBase_triangularView.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3i m = Matrix3i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the upper-triangular matrix extracted from m:" << endl diff --git a/doc/snippets/MatrixBase_zero.cpp b/doc/snippets/MatrixBase_zero.cpp index 606493677..459b1a7ab 100644 --- a/doc/snippets/MatrixBase_zero.cpp +++ b/doc/snippets/MatrixBase_zero.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << Matrix2d::Zero() << endl; cout << RowVector4i::Zero() << endl; diff --git a/doc/snippets/MatrixBase_zero_int.cpp b/doc/snippets/MatrixBase_zero_int.cpp index 370a9ba0a..843ac872a 100644 --- a/doc/snippets/MatrixBase_zero_int.cpp +++ b/doc/snippets/MatrixBase_zero_int.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << RowVectorXi::Zero(4) << endl; cout << VectorXf::Zero(2) << endl; diff --git a/doc/snippets/MatrixBase_zero_int_int.cpp b/doc/snippets/MatrixBase_zero_int_int.cpp index a50072443..e586b91c3 100644 --- a/doc/snippets/MatrixBase_zero_int_int.cpp +++ b/doc/snippets/MatrixBase_zero_int_int.cpp @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + cout << MatrixXi::Zero(2, 3) << endl; diff --git a/doc/snippets/Matrix_Map_stride.cpp b/doc/snippets/Matrix_Map_stride.cpp index 5125b54f2..7e7e4b6c2 100644 --- a/doc/snippets/Matrix_Map_stride.cpp +++ b/doc/snippets/Matrix_Map_stride.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4i A; A << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16; diff --git a/doc/snippets/Matrix_initializer_list_23_cxx11.cpp b/doc/snippets/Matrix_initializer_list_23_cxx11.cpp index 8cde1cb37..2b9aeee32 100644 --- a/doc/snippets/Matrix_initializer_list_23_cxx11.cpp +++ b/doc/snippets/Matrix_initializer_list_23_cxx11.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m{{1, 2, 3}, {4, 5, 6}}; cout << m << endl; diff --git a/doc/snippets/Matrix_initializer_list_vector_cxx11.cpp b/doc/snippets/Matrix_initializer_list_vector_cxx11.cpp index 7096debec..9c9288eb9 100644 --- a/doc/snippets/Matrix_initializer_list_vector_cxx11.cpp +++ b/doc/snippets/Matrix_initializer_list_vector_cxx11.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXi v{{1, 2}}; cout << v << endl; diff --git a/doc/snippets/Matrix_resize_NoChange_int.cpp b/doc/snippets/Matrix_resize_NoChange_int.cpp index c86ee30bc..21ef53133 100644 --- a/doc/snippets/Matrix_resize_NoChange_int.cpp +++ b/doc/snippets/Matrix_resize_NoChange_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m(3, 4); m.resize(NoChange, 5); cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl; diff --git a/doc/snippets/Matrix_resize_int.cpp b/doc/snippets/Matrix_resize_int.cpp index 7f34df771..617e8c8c5 100644 --- a/doc/snippets/Matrix_resize_int.cpp +++ b/doc/snippets/Matrix_resize_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXd v(10); v.resize(3); RowVector3d w; diff --git a/doc/snippets/Matrix_resize_int_NoChange.cpp b/doc/snippets/Matrix_resize_int_NoChange.cpp index e30763dd1..be32331a2 100644 --- a/doc/snippets/Matrix_resize_int_NoChange.cpp +++ b/doc/snippets/Matrix_resize_int_NoChange.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m(3, 4); m.resize(5, NoChange); cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl; diff --git a/doc/snippets/Matrix_resize_int_int.cpp b/doc/snippets/Matrix_resize_int_int.cpp index 5453dbd19..e2570d8ae 100644 --- a/doc/snippets/Matrix_resize_int_int.cpp +++ b/doc/snippets/Matrix_resize_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd m(2, 3); m << 1, 2, 3, 4, 5, 6; cout << "here's the 2x3 matrix m:" << endl << m << endl; diff --git a/doc/snippets/Matrix_setConstant_int.cpp b/doc/snippets/Matrix_setConstant_int.cpp index ff5a86c98..a4c09f54a 100644 --- a/doc/snippets/Matrix_setConstant_int.cpp +++ b/doc/snippets/Matrix_setConstant_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXf v; v.setConstant(3, 5); cout << v << endl; diff --git a/doc/snippets/Matrix_setConstant_int_int.cpp b/doc/snippets/Matrix_setConstant_int_int.cpp index 32b950cfd..8f51cddfc 100644 --- a/doc/snippets/Matrix_setConstant_int_int.cpp +++ b/doc/snippets/Matrix_setConstant_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf m; m.setConstant(3, 3, 5); cout << m << endl; diff --git a/doc/snippets/Matrix_setIdentity_int_int.cpp b/doc/snippets/Matrix_setIdentity_int_int.cpp index a65967199..e9d08a005 100644 --- a/doc/snippets/Matrix_setIdentity_int_int.cpp +++ b/doc/snippets/Matrix_setIdentity_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf m; m.setIdentity(3, 3); cout << m << endl; diff --git a/doc/snippets/Matrix_setOnes_int.cpp b/doc/snippets/Matrix_setOnes_int.cpp index 752cb35b2..373a12d8b 100644 --- a/doc/snippets/Matrix_setOnes_int.cpp +++ b/doc/snippets/Matrix_setOnes_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXf v; v.setOnes(3); cout << v << endl; diff --git a/doc/snippets/Matrix_setOnes_int_int.cpp b/doc/snippets/Matrix_setOnes_int_int.cpp index 1ffb66bbd..94ecfb6be 100644 --- a/doc/snippets/Matrix_setOnes_int_int.cpp +++ b/doc/snippets/Matrix_setOnes_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf m; m.setOnes(3, 3); cout << m << endl; diff --git a/doc/snippets/Matrix_setRandom_int.cpp b/doc/snippets/Matrix_setRandom_int.cpp index e160dd7df..5566f87e4 100644 --- a/doc/snippets/Matrix_setRandom_int.cpp +++ b/doc/snippets/Matrix_setRandom_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXf v; v.setRandom(3); cout << v << endl; diff --git a/doc/snippets/Matrix_setRandom_int_int.cpp b/doc/snippets/Matrix_setRandom_int_int.cpp index 80cda11d7..89b2086e0 100644 --- a/doc/snippets/Matrix_setRandom_int_int.cpp +++ b/doc/snippets/Matrix_setRandom_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf m; m.setRandom(3, 3); cout << m << endl; diff --git a/doc/snippets/Matrix_setZero_int.cpp b/doc/snippets/Matrix_setZero_int.cpp index 0fb16c1f3..c366d3993 100644 --- a/doc/snippets/Matrix_setZero_int.cpp +++ b/doc/snippets/Matrix_setZero_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXf v; v.setZero(3); cout << v << endl; diff --git a/doc/snippets/Matrix_setZero_int_int.cpp b/doc/snippets/Matrix_setZero_int_int.cpp index ad883b916..de1868d9b 100644 --- a/doc/snippets/Matrix_setZero_int_int.cpp +++ b/doc/snippets/Matrix_setZero_int_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf m; m.setZero(3, 3); cout << m << endl; diff --git a/doc/snippets/Matrix_variadic_ctor_cxx11.cpp b/doc/snippets/Matrix_variadic_ctor_cxx11.cpp index 45acd9951..a4199b4f5 100644 --- a/doc/snippets/Matrix_variadic_ctor_cxx11.cpp +++ b/doc/snippets/Matrix_variadic_ctor_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix a(1, 2, 3, 4, 5, 6); Matrix b{1, 2, 3}; cout << a << "\n\n" << b << endl; diff --git a/doc/snippets/PartialPivLU_solve.cpp b/doc/snippets/PartialPivLU_solve.cpp index ebfa56d93..2bd300a3f 100644 --- a/doc/snippets/PartialPivLU_solve.cpp +++ b/doc/snippets/PartialPivLU_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd A = MatrixXd::Random(3, 3); MatrixXd B = MatrixXd::Random(3, 2); cout << "Here is the invertible matrix A:" << endl << A << endl; diff --git a/doc/snippets/PartialRedux_count.cpp b/doc/snippets/PartialRedux_count.cpp index 1c3b3a28f..c2789d112 100644 --- a/doc/snippets/PartialRedux_count.cpp +++ b/doc/snippets/PartialRedux_count.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; Matrix res = (m.array() >= 0.5).rowwise().count(); diff --git a/doc/snippets/PartialRedux_maxCoeff.cpp b/doc/snippets/PartialRedux_maxCoeff.cpp index e8fd3820d..cf28f745a 100644 --- a/doc/snippets/PartialRedux_maxCoeff.cpp +++ b/doc/snippets/PartialRedux_maxCoeff.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl; diff --git a/doc/snippets/PartialRedux_minCoeff.cpp b/doc/snippets/PartialRedux_minCoeff.cpp index d717bc0d1..f51962572 100644 --- a/doc/snippets/PartialRedux_minCoeff.cpp +++ b/doc/snippets/PartialRedux_minCoeff.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the minimum of each column:" << endl << m.colwise().minCoeff() << endl; diff --git a/doc/snippets/PartialRedux_norm.cpp b/doc/snippets/PartialRedux_norm.cpp index dbcf290a0..e745f213c 100644 --- a/doc/snippets/PartialRedux_norm.cpp +++ b/doc/snippets/PartialRedux_norm.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the norm of each column:" << endl << m.colwise().norm() << endl; diff --git a/doc/snippets/PartialRedux_prod.cpp b/doc/snippets/PartialRedux_prod.cpp index aacf09cbb..3cdda3923 100644 --- a/doc/snippets/PartialRedux_prod.cpp +++ b/doc/snippets/PartialRedux_prod.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the product of each row:" << endl << m.rowwise().prod() << endl; diff --git a/doc/snippets/PartialRedux_squaredNorm.cpp b/doc/snippets/PartialRedux_squaredNorm.cpp index 9f3293e65..63729c5d3 100644 --- a/doc/snippets/PartialRedux_squaredNorm.cpp +++ b/doc/snippets/PartialRedux_squaredNorm.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the square norm of each row:" << endl << m.rowwise().squaredNorm() << endl; diff --git a/doc/snippets/PartialRedux_sum.cpp b/doc/snippets/PartialRedux_sum.cpp index ec82d3e41..080dbfc90 100644 --- a/doc/snippets/PartialRedux_sum.cpp +++ b/doc/snippets/PartialRedux_sum.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl; diff --git a/doc/snippets/RealQZ_compute.cpp b/doc/snippets/RealQZ_compute.cpp index 10edefc6e..b6d7500e1 100644 --- a/doc/snippets/RealQZ_compute.cpp +++ b/doc/snippets/RealQZ_compute.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf A = MatrixXf::Random(4, 4); MatrixXf B = MatrixXf::Random(4, 4); RealQZ qz(4); // preallocate space for 4x4 matrices diff --git a/doc/snippets/RealSchur_RealSchur_MatrixType.cpp b/doc/snippets/RealSchur_RealSchur_MatrixType.cpp index 485b0eeaf..152650233 100644 --- a/doc/snippets/RealSchur_RealSchur_MatrixType.cpp +++ b/doc/snippets/RealSchur_RealSchur_MatrixType.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd A = MatrixXd::Random(6, 6); cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; diff --git a/doc/snippets/RealSchur_compute.cpp b/doc/snippets/RealSchur_compute.cpp index 78c71c830..777d6015a 100644 --- a/doc/snippets/RealSchur_compute.cpp +++ b/doc/snippets/RealSchur_compute.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf A = MatrixXf::Random(4, 4); RealSchur schur(4); schur.compute(A, /* computeU = */ false); diff --git a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp index 16f4b231f..9ab75f874 100644 --- a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + SelfAdjointEigenSolver es; Matrix4f X = Matrix4f::Random(4, 4); Matrix4f A = X + X.transpose(); diff --git a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp index 0ed9092c9..f40546511 100644 --- a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd X = MatrixXd::Random(5, 5); MatrixXd A = X + X.transpose(); cout << "Here is a random symmetric 5x5 matrix, A:" << endl << A << endl << endl; diff --git a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp index e2889b7a5..6a4584ce9 100644 --- a/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd X = MatrixXd::Random(5, 5); MatrixXd A = X + X.transpose(); cout << "Here is a random symmetric matrix, A:" << endl << A << endl; diff --git a/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType.cpp b/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType.cpp index 9075db77c..0ab955eb7 100644 --- a/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + SelfAdjointEigenSolver es(4); MatrixXf X = MatrixXf::Random(4, 4); MatrixXf A = X + X.transpose(); diff --git a/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp b/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp index 88d44c629..504a141a2 100644 --- a/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd X = MatrixXd::Random(5, 5); MatrixXd A = X * X.transpose(); X = MatrixXd::Random(5, 5); diff --git a/doc/snippets/SelfAdjointEigenSolver_eigenvalues.cpp b/doc/snippets/SelfAdjointEigenSolver_eigenvalues.cpp index d80f90c19..df98e3cc0 100644 --- a/doc/snippets/SelfAdjointEigenSolver_eigenvalues.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_eigenvalues.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); SelfAdjointEigenSolver es(ones); cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << es.eigenvalues() << endl; diff --git a/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp b/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp index a91dca179..9c9e0dc52 100644 --- a/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); SelfAdjointEigenSolver es(ones); cout << "The first eigenvector of the 3x3 matrix of ones is:" << endl << es.eigenvectors().col(0) << endl; diff --git a/doc/snippets/SelfAdjointEigenSolver_operatorInverseSqrt.cpp b/doc/snippets/SelfAdjointEigenSolver_operatorInverseSqrt.cpp index 50e83f337..00335a3dd 100644 --- a/doc/snippets/SelfAdjointEigenSolver_operatorInverseSqrt.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_operatorInverseSqrt.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd X = MatrixXd::Random(4, 4); MatrixXd A = X * X.transpose(); cout << "Here is a random positive-definite matrix, A:" << endl << A << endl << endl; diff --git a/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp b/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp index bced567ee..a4e3946e5 100644 --- a/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp +++ b/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd X = MatrixXd::Random(4, 4); MatrixXd A = X * X.transpose(); cout << "Here is a random positive-definite matrix, A:" << endl << A << endl << endl; diff --git a/doc/snippets/SelfAdjointView_eigenvalues.cpp b/doc/snippets/SelfAdjointView_eigenvalues.cpp index 8cef6d8a4..de075b5aa 100644 --- a/doc/snippets/SelfAdjointView_eigenvalues.cpp +++ b/doc/snippets/SelfAdjointView_eigenvalues.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); VectorXd eivals = ones.selfadjointView().eigenvalues(); cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl; diff --git a/doc/snippets/SelfAdjointView_operatorNorm.cpp b/doc/snippets/SelfAdjointView_operatorNorm.cpp index c229fafed..03aa012cb 100644 --- a/doc/snippets/SelfAdjointView_operatorNorm.cpp +++ b/doc/snippets/SelfAdjointView_operatorNorm.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd ones = MatrixXd::Ones(3, 3); cout << "The operator norm of the 3x3 matrix of ones is " << ones.selfadjointView().operatorNorm() << endl; diff --git a/doc/snippets/Slicing_arrayexpr.cpp b/doc/snippets/Slicing_arrayexpr.cpp index b78dbfa17..8b9904dab 100644 --- a/doc/snippets/Slicing_arrayexpr.cpp +++ b/doc/snippets/Slicing_arrayexpr.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXi ind(5); ind << 4, 2, 5, 5, 3; MatrixXi A = MatrixXi::Random(4, 6); diff --git a/doc/snippets/Slicing_custom_padding_cxx11.cpp b/doc/snippets/Slicing_custom_padding_cxx11.cpp index 4d482f6bd..d66ee8736 100644 --- a/doc/snippets/Slicing_custom_padding_cxx11.cpp +++ b/doc/snippets/Slicing_custom_padding_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + struct pad { Index size() const { return out_size; } Index operator[](Index i) const { return std::max(0, i - (out_size - in_size)); } diff --git a/doc/snippets/Slicing_rawarray_cxx11.cpp b/doc/snippets/Slicing_rawarray_cxx11.cpp index 0495db6bf..aa91488e7 100644 --- a/doc/snippets/Slicing_rawarray_cxx11.cpp +++ b/doc/snippets/Slicing_rawarray_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi A = MatrixXi::Random(4, 6); cout << "Initial matrix A:\n" << A << "\n\n"; cout << "A(all,{4,2,5,5,3}):\n" << A(Eigen::placeholders::all, {4, 2, 5, 5, 3}) << "\n\n"; diff --git a/doc/snippets/Slicing_stdvector_cxx11.cpp b/doc/snippets/Slicing_stdvector_cxx11.cpp index 7d5ad0cdb..096f68d30 100644 --- a/doc/snippets/Slicing_stdvector_cxx11.cpp +++ b/doc/snippets/Slicing_stdvector_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + std::vector ind{4, 2, 5, 5, 3}; MatrixXi A = MatrixXi::Random(4, 6); cout << "Initial matrix A:\n" << A << "\n\n"; diff --git a/doc/snippets/SparseMatrix_coeffs.cpp b/doc/snippets/SparseMatrix_coeffs.cpp index 266e32d92..6b96a408e 100644 --- a/doc/snippets/SparseMatrix_coeffs.cpp +++ b/doc/snippets/SparseMatrix_coeffs.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + SparseMatrix A(3, 3); A.insert(1, 2) = 0; A.insert(0, 1) = 1; diff --git a/doc/snippets/TopicAliasing_block.cpp b/doc/snippets/TopicAliasing_block.cpp index bbb7c2a0d..8f6576496 100644 --- a/doc/snippets/TopicAliasing_block.cpp +++ b/doc/snippets/TopicAliasing_block.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi mat(3, 3); mat << 1, 2, 3, 4, 5, 6, 7, 8, 9; cout << "Here is the matrix mat:\n" << mat << endl; diff --git a/doc/snippets/TopicAliasing_block_correct.cpp b/doc/snippets/TopicAliasing_block_correct.cpp index 6a3002e50..33d08456c 100644 --- a/doc/snippets/TopicAliasing_block_correct.cpp +++ b/doc/snippets/TopicAliasing_block_correct.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi mat(3, 3); mat << 1, 2, 3, 4, 5, 6, 7, 8, 9; cout << "Here is the matrix mat:\n" << mat << endl; diff --git a/doc/snippets/TopicAliasing_cwise.cpp b/doc/snippets/TopicAliasing_cwise.cpp index cb9d08a1e..2dbb8d813 100644 --- a/doc/snippets/TopicAliasing_cwise.cpp +++ b/doc/snippets/TopicAliasing_cwise.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf mat(2, 2); mat << 1, 2, 4, 7; cout << "Here is the matrix mat:\n" << mat << endl << endl; diff --git a/doc/snippets/TopicAliasing_mult1.cpp b/doc/snippets/TopicAliasing_mult1.cpp index 4ae2a4715..5fd617cc2 100644 --- a/doc/snippets/TopicAliasing_mult1.cpp +++ b/doc/snippets/TopicAliasing_mult1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf matA(2, 2); matA << 2, 0, 0, 2; matA = matA * matA; diff --git a/doc/snippets/TopicAliasing_mult2.cpp b/doc/snippets/TopicAliasing_mult2.cpp index 52c99875f..2f39b389e 100644 --- a/doc/snippets/TopicAliasing_mult2.cpp +++ b/doc/snippets/TopicAliasing_mult2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf matA(2, 2), matB(2, 2); matA << 2, 0, 0, 2; diff --git a/doc/snippets/TopicAliasing_mult3.cpp b/doc/snippets/TopicAliasing_mult3.cpp index b2bed6f31..370de0422 100644 --- a/doc/snippets/TopicAliasing_mult3.cpp +++ b/doc/snippets/TopicAliasing_mult3.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf matA(2, 2); matA << 2, 0, 0, 2; matA.noalias() = matA * matA; diff --git a/doc/snippets/TopicAliasing_mult4.cpp b/doc/snippets/TopicAliasing_mult4.cpp index 9a82322d6..30e556ddd 100644 --- a/doc/snippets/TopicAliasing_mult4.cpp +++ b/doc/snippets/TopicAliasing_mult4.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf A(2, 2), B(3, 2); B << 2, 0, 0, 3, 1, 1; A << 2, 0, 0, -2; diff --git a/doc/snippets/TopicAliasing_mult5.cpp b/doc/snippets/TopicAliasing_mult5.cpp index 79a94c86f..ba0b59343 100644 --- a/doc/snippets/TopicAliasing_mult5.cpp +++ b/doc/snippets/TopicAliasing_mult5.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf A(2, 2), B(3, 2); B << 2, 0, 0, 3, 1, 1; A << 2, 0, 0, -2; diff --git a/doc/snippets/TopicStorageOrders_example.cpp b/doc/snippets/TopicStorageOrders_example.cpp index 64e2123d1..97d1a0afa 100644 --- a/doc/snippets/TopicStorageOrders_example.cpp +++ b/doc/snippets/TopicStorageOrders_example.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix Acolmajor; Acolmajor << 8, 2, 2, 9, 9, 1, 4, 4, 3, 5, 4, 5; cout << "The matrix A:" << endl; diff --git a/doc/snippets/Triangular_solve.cpp b/doc/snippets/Triangular_solve.cpp index 2da806b07..0b7eb97af 100644 --- a/doc/snippets/Triangular_solve.cpp +++ b/doc/snippets/Triangular_solve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3d m = Matrix3d::Zero(); m.triangularView().setOnes(); cout << "Here is the matrix m:\n" << m << endl; diff --git a/doc/snippets/Tridiagonalization_Tridiagonalization_MatrixType.cpp b/doc/snippets/Tridiagonalization_Tridiagonalization_MatrixType.cpp index 087b1ec39..77bebd836 100644 --- a/doc/snippets/Tridiagonalization_Tridiagonalization_MatrixType.cpp +++ b/doc/snippets/Tridiagonalization_Tridiagonalization_MatrixType.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd X = MatrixXd::Random(5, 5); MatrixXd A = X + X.transpose(); cout << "Here is a random symmetric 5x5 matrix:" << endl << A << endl << endl; diff --git a/doc/snippets/Tridiagonalization_compute.cpp b/doc/snippets/Tridiagonalization_compute.cpp index ecaee1546..e740644ca 100644 --- a/doc/snippets/Tridiagonalization_compute.cpp +++ b/doc/snippets/Tridiagonalization_compute.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Tridiagonalization tri; MatrixXf X = MatrixXf::Random(4, 4); MatrixXf A = X + X.transpose(); diff --git a/doc/snippets/Tridiagonalization_decomposeInPlace.cpp b/doc/snippets/Tridiagonalization_decomposeInPlace.cpp index b28c935e1..32899d4a6 100644 --- a/doc/snippets/Tridiagonalization_decomposeInPlace.cpp +++ b/doc/snippets/Tridiagonalization_decomposeInPlace.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXd X = MatrixXd::Random(5, 5); MatrixXd A = X + X.transpose(); cout << "Here is a random symmetric 5x5 matrix:" << endl << A << endl << endl; diff --git a/doc/snippets/Tridiagonalization_diagonal.cpp b/doc/snippets/Tridiagonalization_diagonal.cpp index 18edc1e7e..d50ec7c40 100644 --- a/doc/snippets/Tridiagonalization_diagonal.cpp +++ b/doc/snippets/Tridiagonalization_diagonal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcd X = MatrixXcd::Random(4, 4); MatrixXcd A = X + X.adjoint(); cout << "Here is a random self-adjoint 4x4 matrix:" << endl << A << endl << endl; diff --git a/doc/snippets/Tridiagonalization_householderCoefficients.cpp b/doc/snippets/Tridiagonalization_householderCoefficients.cpp index f880f1d2d..b60857f96 100644 --- a/doc/snippets/Tridiagonalization_householderCoefficients.cpp +++ b/doc/snippets/Tridiagonalization_householderCoefficients.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4d X = Matrix4d::Random(4, 4); Matrix4d A = X + X.transpose(); cout << "Here is a random symmetric 4x4 matrix:" << endl << A << endl; diff --git a/doc/snippets/Tridiagonalization_packedMatrix.cpp b/doc/snippets/Tridiagonalization_packedMatrix.cpp index 3b186a8c4..cf01767e6 100644 --- a/doc/snippets/Tridiagonalization_packedMatrix.cpp +++ b/doc/snippets/Tridiagonalization_packedMatrix.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix4d X = Matrix4d::Random(4, 4); Matrix4d A = X + X.transpose(); cout << "Here is a random symmetric 4x4 matrix:" << endl << A << endl; diff --git a/doc/snippets/Tutorial_AdvancedInitialization_Block.cpp b/doc/snippets/Tutorial_AdvancedInitialization_Block.cpp index 752c522a2..98f370288 100644 --- a/doc/snippets/Tutorial_AdvancedInitialization_Block.cpp +++ b/doc/snippets/Tutorial_AdvancedInitialization_Block.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf matA(2, 2); matA << 1, 2, 3, 4; MatrixXf matB(4, 4); diff --git a/doc/snippets/Tutorial_AdvancedInitialization_CommaTemporary.cpp b/doc/snippets/Tutorial_AdvancedInitialization_CommaTemporary.cpp index 8af3d747f..4b582e7a3 100644 --- a/doc/snippets/Tutorial_AdvancedInitialization_CommaTemporary.cpp +++ b/doc/snippets/Tutorial_AdvancedInitialization_CommaTemporary.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf mat = MatrixXf::Random(2, 3); std::cout << mat << std::endl << std::endl; mat = (MatrixXf(2, 2) << 0, 1, 1, 0).finished() * mat; diff --git a/doc/snippets/Tutorial_AdvancedInitialization_Join.cpp b/doc/snippets/Tutorial_AdvancedInitialization_Join.cpp index 55a21539d..62ea37d92 100644 --- a/doc/snippets/Tutorial_AdvancedInitialization_Join.cpp +++ b/doc/snippets/Tutorial_AdvancedInitialization_Join.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVectorXd vec1(3); vec1 << 1, 2, 3; std::cout << "vec1 = " << vec1 << std::endl; diff --git a/doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp b/doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp index c6a73ab8c..837ab5fec 100644 --- a/doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp +++ b/doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXXf table(10, 4); table.col(0) = ArrayXf::LinSpaced(10, 0, 90); table.col(1) = M_PI / 180 * table.col(0); diff --git a/doc/snippets/Tutorial_AdvancedInitialization_ThreeWays.cpp b/doc/snippets/Tutorial_AdvancedInitialization_ThreeWays.cpp index 4878dd73e..d0e2ff87d 100644 --- a/doc/snippets/Tutorial_AdvancedInitialization_ThreeWays.cpp +++ b/doc/snippets/Tutorial_AdvancedInitialization_ThreeWays.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + const int size = 6; MatrixXd mat1(size, size); mat1.topLeftCorner(size / 2, size / 2) = MatrixXd::Zero(size / 2, size / 2); diff --git a/doc/snippets/Tutorial_AdvancedInitialization_Zero.cpp b/doc/snippets/Tutorial_AdvancedInitialization_Zero.cpp index 03fb89967..0a14fa8ad 100644 --- a/doc/snippets/Tutorial_AdvancedInitialization_Zero.cpp +++ b/doc/snippets/Tutorial_AdvancedInitialization_Zero.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + std::cout << "A fixed-size array:\n"; Array33f a1 = Array33f::Zero(); std::cout << a1 << "\n\n"; diff --git a/doc/snippets/Tutorial_Map_rowmajor.cpp b/doc/snippets/Tutorial_Map_rowmajor.cpp index f1b9a2f23..7d131149d 100644 --- a/doc/snippets/Tutorial_Map_rowmajor.cpp +++ b/doc/snippets/Tutorial_Map_rowmajor.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int array[8]; for (int i = 0; i < 8; ++i) array[i] = i; cout << "Column-major:\n" << Map >(array) << endl; diff --git a/doc/snippets/Tutorial_Map_using.cpp b/doc/snippets/Tutorial_Map_using.cpp index 6fd6ea8bf..ad71d47b6 100644 --- a/doc/snippets/Tutorial_Map_using.cpp +++ b/doc/snippets/Tutorial_Map_using.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + typedef Matrix MatrixType; typedef Map MapType; typedef Map MapTypeConst; // a read-only map diff --git a/doc/snippets/Tutorial_ReshapeMat2Mat.cpp b/doc/snippets/Tutorial_ReshapeMat2Mat.cpp index 855af31ae..957c7bdfd 100644 --- a/doc/snippets/Tutorial_ReshapeMat2Mat.cpp +++ b/doc/snippets/Tutorial_ReshapeMat2Mat.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf M1(2, 6); // Column-major storage M1 << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12; diff --git a/doc/snippets/Tutorial_ReshapeMat2Vec.cpp b/doc/snippets/Tutorial_ReshapeMat2Vec.cpp index 9a2df0195..b91bcd117 100644 --- a/doc/snippets/Tutorial_ReshapeMat2Vec.cpp +++ b/doc/snippets/Tutorial_ReshapeMat2Vec.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf M1(3, 3); // Column-major storage M1 << 1, 2, 3, 4, 5, 6, 7, 8, 9; diff --git a/doc/snippets/Tutorial_SlicingCol.cpp b/doc/snippets/Tutorial_SlicingCol.cpp index bfaec50d6..be041fdd1 100644 --- a/doc/snippets/Tutorial_SlicingCol.cpp +++ b/doc/snippets/Tutorial_SlicingCol.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf M1 = MatrixXf::Random(3, 8); cout << "Column major input:" << endl << M1 << "\n"; Map > M2(M1.data(), M1.rows(), (M1.cols() + 2) / 3, OuterStride<>(M1.outerStride() * 3)); diff --git a/doc/snippets/Tutorial_SlicingVec.cpp b/doc/snippets/Tutorial_SlicingVec.cpp index d0c81c691..8f4e35567 100644 --- a/doc/snippets/Tutorial_SlicingVec.cpp +++ b/doc/snippets/Tutorial_SlicingVec.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + RowVectorXf v = RowVectorXf::LinSpaced(20, 0, 19); cout << "Input:" << endl << v << endl; Map > v2(v.data(), v.size() / 2); diff --git a/doc/snippets/Tutorial_commainit_01.cpp b/doc/snippets/Tutorial_commainit_01.cpp index 36728a78b..0f38668b0 100644 --- a/doc/snippets/Tutorial_commainit_01.cpp +++ b/doc/snippets/Tutorial_commainit_01.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f m; m << 1, 2, 3, 4, 5, 6, 7, 8, 9; std::cout << m; diff --git a/doc/snippets/Tutorial_commainit_01b.cpp b/doc/snippets/Tutorial_commainit_01b.cpp index 126277bc8..6751fb000 100644 --- a/doc/snippets/Tutorial_commainit_01b.cpp +++ b/doc/snippets/Tutorial_commainit_01b.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f m; m.row(0) << 1, 2, 3; m.block(1, 0, 2, 2) << 4, 5, 7, 8; diff --git a/doc/snippets/Tutorial_commainit_02.cpp b/doc/snippets/Tutorial_commainit_02.cpp index 343723734..8a412a98a 100644 --- a/doc/snippets/Tutorial_commainit_02.cpp +++ b/doc/snippets/Tutorial_commainit_02.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + int rows = 5, cols = 5; MatrixXf m(rows, cols); m << (Matrix3f() << 1, 2, 3, 4, 5, 6, 7, 8, 9).finished(), diff --git a/doc/snippets/Tutorial_range_for_loop_1d_cxx11.cpp b/doc/snippets/Tutorial_range_for_loop_1d_cxx11.cpp index ee3af8613..2196d406b 100644 --- a/doc/snippets/Tutorial_range_for_loop_1d_cxx11.cpp +++ b/doc/snippets/Tutorial_range_for_loop_1d_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + VectorXi v = VectorXi::Random(4); cout << "Here is the vector v:\n"; for (auto x : v) cout << x << " "; diff --git a/doc/snippets/Tutorial_range_for_loop_2d_cxx11.cpp b/doc/snippets/Tutorial_range_for_loop_2d_cxx11.cpp index 27e1f8ab0..11c3e0a10 100644 --- a/doc/snippets/Tutorial_range_for_loop_2d_cxx11.cpp +++ b/doc/snippets/Tutorial_range_for_loop_2d_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2i A = Matrix2i::Random(); cout << "Here are the coeffs of the 2x2 matrix A:\n"; for (auto x : A.reshaped()) cout << x << " "; diff --git a/doc/snippets/Tutorial_reshaped_vs_resize_1.cpp b/doc/snippets/Tutorial_reshaped_vs_resize_1.cpp index 41a5d9943..acd2b89eb 100644 --- a/doc/snippets/Tutorial_reshaped_vs_resize_1.cpp +++ b/doc/snippets/Tutorial_reshaped_vs_resize_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped(2, 8):" << endl << m.reshaped(2, 8) << endl; diff --git a/doc/snippets/Tutorial_reshaped_vs_resize_2.cpp b/doc/snippets/Tutorial_reshaped_vs_resize_2.cpp index c5d39299b..67838cd84 100644 --- a/doc/snippets/Tutorial_reshaped_vs_resize_2.cpp +++ b/doc/snippets/Tutorial_reshaped_vs_resize_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped(2, 8):" << endl << m.reshaped(2, 8) << endl; diff --git a/doc/snippets/Tutorial_solve_matrix_inverse.cpp b/doc/snippets/Tutorial_solve_matrix_inverse.cpp index e39696f4b..19df4bfc5 100644 --- a/doc/snippets/Tutorial_solve_matrix_inverse.cpp +++ b/doc/snippets/Tutorial_solve_matrix_inverse.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A; Vector3f b; A << 1, 2, 3, 4, 5, 6, 7, 8, 10; diff --git a/doc/snippets/Tutorial_solve_multiple_rhs.cpp b/doc/snippets/Tutorial_solve_multiple_rhs.cpp index b08100a43..ef1f71117 100644 --- a/doc/snippets/Tutorial_solve_multiple_rhs.cpp +++ b/doc/snippets/Tutorial_solve_multiple_rhs.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A(3, 3); A << 1, 2, 3, 4, 5, 6, 7, 8, 10; Matrix B; diff --git a/doc/snippets/Tutorial_solve_reuse_decomposition.cpp b/doc/snippets/Tutorial_solve_reuse_decomposition.cpp index d47c6ca39..a83f72670 100644 --- a/doc/snippets/Tutorial_solve_reuse_decomposition.cpp +++ b/doc/snippets/Tutorial_solve_reuse_decomposition.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A(3, 3); A << 1, 2, 3, 4, 5, 6, 7, 8, 10; PartialPivLU luOfA(A); // compute LU decomposition of A diff --git a/doc/snippets/Tutorial_solve_singular.cpp b/doc/snippets/Tutorial_solve_singular.cpp index 4d168dfd0..4264b5aec 100644 --- a/doc/snippets/Tutorial_solve_singular.cpp +++ b/doc/snippets/Tutorial_solve_singular.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A; Vector3f b; A << 1, 2, 3, 4, 5, 6, 7, 8, 9; diff --git a/doc/snippets/Tutorial_solve_triangular.cpp b/doc/snippets/Tutorial_solve_triangular.cpp index b422f2492..272788c47 100644 --- a/doc/snippets/Tutorial_solve_triangular.cpp +++ b/doc/snippets/Tutorial_solve_triangular.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A; Vector3f b; A << 1, 2, 3, 0, 5, 6, 0, 0, 10; diff --git a/doc/snippets/Tutorial_solve_triangular_inplace.cpp b/doc/snippets/Tutorial_solve_triangular_inplace.cpp index f928e78e3..ad495fd41 100644 --- a/doc/snippets/Tutorial_solve_triangular_inplace.cpp +++ b/doc/snippets/Tutorial_solve_triangular_inplace.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f A; Vector3f b; A << 1, 2, 3, 0, 5, 6, 0, 0, 10; diff --git a/doc/snippets/Tutorial_std_sort.cpp b/doc/snippets/Tutorial_std_sort.cpp index cde2a6f1b..7f39253b4 100644 --- a/doc/snippets/Tutorial_std_sort.cpp +++ b/doc/snippets/Tutorial_std_sort.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Array4i v = Array4i::Random().abs(); cout << "Here is the initial vector v:\n" << v.transpose() << "\n"; std::sort(v.begin(), v.end()); diff --git a/doc/snippets/Tutorial_std_sort_rows_cxx11.cpp b/doc/snippets/Tutorial_std_sort_rows_cxx11.cpp index d948949c2..d4654b8f2 100644 --- a/doc/snippets/Tutorial_std_sort_rows_cxx11.cpp +++ b/doc/snippets/Tutorial_std_sort_rows_cxx11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + ArrayXXi A = ArrayXXi::Random(4, 4).abs(); cout << "Here is the initial matrix A:\n" << A << "\n"; for (auto row : A.rowwise()) std::sort(row.begin(), row.end()); diff --git a/doc/snippets/VectorwiseOp_homogeneous.cpp b/doc/snippets/VectorwiseOp_homogeneous.cpp index 3d2c8fdba..c95d89f03 100644 --- a/doc/snippets/VectorwiseOp_homogeneous.cpp +++ b/doc/snippets/VectorwiseOp_homogeneous.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3Xd M = Matrix3Xd::Random(3, 5); Projective3d P(Matrix4d::Random()); cout << "The matrix M is:" << endl << M << endl << endl; diff --git a/doc/snippets/Vectorwise_reverse.cpp b/doc/snippets/Vectorwise_reverse.cpp index 85a006532..7463abed2 100644 --- a/doc/snippets/Vectorwise_reverse.cpp +++ b/doc/snippets/Vectorwise_reverse.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXi m = MatrixXi::Random(3, 4); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the rowwise reverse of m:" << endl << m.rowwise().reverse() << endl; diff --git a/doc/snippets/class_FullPivLU.cpp b/doc/snippets/class_FullPivLU.cpp index 2951c8d2e..42b2a1bfc 100644 --- a/doc/snippets/class_FullPivLU.cpp +++ b/doc/snippets/class_FullPivLU.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + typedef Matrix Matrix5x3; typedef Matrix Matrix5x5; Matrix5x3 m = Matrix5x3::Random(); diff --git a/doc/snippets/tut_arithmetic_redux_minmax.cpp b/doc/snippets/tut_arithmetic_redux_minmax.cpp index dc433584a..dc3172917 100644 --- a/doc/snippets/tut_arithmetic_redux_minmax.cpp +++ b/doc/snippets/tut_arithmetic_redux_minmax.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix3f m = Matrix3f::Random(); std::ptrdiff_t i, j; float minOfM = m.minCoeff(&i, &j); diff --git a/doc/snippets/tut_arithmetic_transpose_aliasing.cpp b/doc/snippets/tut_arithmetic_transpose_aliasing.cpp index 75d46cfc4..6c91ebeff 100644 --- a/doc/snippets/tut_arithmetic_transpose_aliasing.cpp +++ b/doc/snippets/tut_arithmetic_transpose_aliasing.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + Matrix2i a; a << 1, 2, 3, 4; cout << "Here is the matrix a:\n" << a << endl; diff --git a/doc/snippets/tut_arithmetic_transpose_conjugate.cpp b/doc/snippets/tut_arithmetic_transpose_conjugate.cpp index 3b356d20d..fc5175f7a 100644 --- a/doc/snippets/tut_arithmetic_transpose_conjugate.cpp +++ b/doc/snippets/tut_arithmetic_transpose_conjugate.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXcf a = MatrixXcf::Random(2, 2); cout << "Here is the matrix a\n" << a << endl; diff --git a/doc/snippets/tut_arithmetic_transpose_inplace.cpp b/doc/snippets/tut_arithmetic_transpose_inplace.cpp index dbf8bc4a5..5c9fd83eb 100644 --- a/doc/snippets/tut_arithmetic_transpose_inplace.cpp +++ b/doc/snippets/tut_arithmetic_transpose_inplace.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf a(2, 3); a << 1, 2, 3, 4, 5, 6; cout << "Here is the initial matrix a:\n" << a << endl; diff --git a/doc/snippets/tut_matrix_assignment_resizing.cpp b/doc/snippets/tut_matrix_assignment_resizing.cpp index 9f5da4354..74ddf2e72 100644 --- a/doc/snippets/tut_matrix_assignment_resizing.cpp +++ b/doc/snippets/tut_matrix_assignment_resizing.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + MatrixXf a(2, 2); std::cout << "a is of size " << a.rows() << "x" << a.cols() << std::endl; MatrixXf b(3, 3); diff --git a/doc/special_examples/CMakeLists.txt b/doc/special_examples/CMakeLists.txt index e6407aaea..71d15bc1c 100644 --- a/doc/special_examples/CMakeLists.txt +++ b/doc/special_examples/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + if(NOT EIGEN_TEST_NOQT) find_package(Qt4) if(QT4_FOUND) diff --git a/doc/special_examples/Tutorial_sparse_example.cpp b/doc/special_examples/Tutorial_sparse_example.cpp index b8994baab..d0658268c 100644 --- a/doc/special_examples/Tutorial_sparse_example.cpp +++ b/doc/special_examples/Tutorial_sparse_example.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/special_examples/Tutorial_sparse_example_details.cpp b/doc/special_examples/Tutorial_sparse_example_details.cpp index 18abd6f8b..5716816db 100644 --- a/doc/special_examples/Tutorial_sparse_example_details.cpp +++ b/doc/special_examples/Tutorial_sparse_example_details.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/special_examples/random_cpp11.cpp b/doc/special_examples/random_cpp11.cpp index a59613a6c..afaf354d0 100644 --- a/doc/special_examples/random_cpp11.cpp +++ b/doc/special_examples/random_cpp11.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/doc/tutorial.cpp b/doc/tutorial.cpp index 7e58b61cd..5bb63d840 100644 --- a/doc/tutorial.cpp +++ b/doc/tutorial.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include int main(int argc, char *argv[]) { diff --git a/failtest/CMakeLists.txt b/failtest/CMakeLists.txt index 107c9e2c9..b584e12c2 100644 --- a/failtest/CMakeLists.txt +++ b/failtest/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 ei_add_failtest("failtest_sanity_check") diff --git a/failtest/bdcsvd_int.cpp b/failtest/bdcsvd_int.cpp index b419457ee..2eed6deca 100644 --- a/failtest/bdcsvd_int.cpp +++ b/failtest/bdcsvd_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/SVD" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/block_nonconst_ctor_on_const_xpr_0.cpp b/failtest/block_nonconst_ctor_on_const_xpr_0.cpp index b2e134bfa..08c773b4d 100644 --- a/failtest/block_nonconst_ctor_on_const_xpr_0.cpp +++ b/failtest/block_nonconst_ctor_on_const_xpr_0.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/block_nonconst_ctor_on_const_xpr_1.cpp b/failtest/block_nonconst_ctor_on_const_xpr_1.cpp index c3ddc9af9..4b519b732 100644 --- a/failtest/block_nonconst_ctor_on_const_xpr_1.cpp +++ b/failtest/block_nonconst_ctor_on_const_xpr_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/block_nonconst_ctor_on_const_xpr_2.cpp b/failtest/block_nonconst_ctor_on_const_xpr_2.cpp index 2a1ce6c24..cf19e36ee 100644 --- a/failtest/block_nonconst_ctor_on_const_xpr_2.cpp +++ b/failtest/block_nonconst_ctor_on_const_xpr_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/block_on_const_type_actually_const_0.cpp b/failtest/block_on_const_type_actually_const_0.cpp index 3486f86d9..151bba659 100644 --- a/failtest/block_on_const_type_actually_const_0.cpp +++ b/failtest/block_on_const_type_actually_const_0.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/block_on_const_type_actually_const_1.cpp b/failtest/block_on_const_type_actually_const_1.cpp index 349061e19..4dd07371a 100644 --- a/failtest/block_on_const_type_actually_const_1.cpp +++ b/failtest/block_on_const_type_actually_const_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/colpivqr_int.cpp b/failtest/colpivqr_int.cpp index 72fcb05a2..51ed82250 100644 --- a/failtest/colpivqr_int.cpp +++ b/failtest/colpivqr_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/QR" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/const_qualified_block_method_retval_0.cpp b/failtest/const_qualified_block_method_retval_0.cpp index 6d19bb4bc..daadfef1f 100644 --- a/failtest/const_qualified_block_method_retval_0.cpp +++ b/failtest/const_qualified_block_method_retval_0.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/const_qualified_block_method_retval_1.cpp b/failtest/const_qualified_block_method_retval_1.cpp index d58a01832..48d681e85 100644 --- a/failtest/const_qualified_block_method_retval_1.cpp +++ b/failtest/const_qualified_block_method_retval_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/const_qualified_diagonal_method_retval.cpp b/failtest/const_qualified_diagonal_method_retval.cpp index a10796ae8..49319c9bb 100644 --- a/failtest/const_qualified_diagonal_method_retval.cpp +++ b/failtest/const_qualified_diagonal_method_retval.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/const_qualified_transpose_method_retval.cpp b/failtest/const_qualified_transpose_method_retval.cpp index 33200a97b..db311179c 100644 --- a/failtest/const_qualified_transpose_method_retval.cpp +++ b/failtest/const_qualified_transpose_method_retval.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp b/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp index 643335ace..acfbb4d43 100644 --- a/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp +++ b/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/cwiseunaryview_on_const_type_actually_const.cpp b/failtest/cwiseunaryview_on_const_type_actually_const.cpp index fd3c1d64a..837f9951f 100644 --- a/failtest/cwiseunaryview_on_const_type_actually_const.cpp +++ b/failtest/cwiseunaryview_on_const_type_actually_const.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp b/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp index 924127032..95180a2b2 100644 --- a/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp +++ b/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/diagonal_on_const_type_actually_const.cpp b/failtest/diagonal_on_const_type_actually_const.cpp index 204dd4378..184748e35 100644 --- a/failtest/diagonal_on_const_type_actually_const.cpp +++ b/failtest/diagonal_on_const_type_actually_const.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/eigensolver_cplx.cpp b/failtest/eigensolver_cplx.cpp index 44ad8ff17..5d6be5632 100644 --- a/failtest/eigensolver_cplx.cpp +++ b/failtest/eigensolver_cplx.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Eigenvalues" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/eigensolver_int.cpp b/failtest/eigensolver_int.cpp index ad14c0f26..ada9de223 100644 --- a/failtest/eigensolver_int.cpp +++ b/failtest/eigensolver_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Eigenvalues" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/failtest_sanity_check.cpp b/failtest/failtest_sanity_check.cpp index 769fa942d..f02c3482d 100644 --- a/failtest/failtest_sanity_check.cpp +++ b/failtest/failtest_sanity_check.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifdef EIGEN_SHOULD_FAIL_TO_BUILD This is just some text that won't compile as a C++ file, as a basic sanity check for failtest. #else diff --git a/failtest/fullpivlu_int.cpp b/failtest/fullpivlu_int.cpp index b52e8c043..ac72e55f3 100644 --- a/failtest/fullpivlu_int.cpp +++ b/failtest/fullpivlu_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/LU" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/fullpivqr_int.cpp b/failtest/fullpivqr_int.cpp index 34ddb2cf6..129a1198d 100644 --- a/failtest/fullpivqr_int.cpp +++ b/failtest/fullpivqr_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/QR" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/initializer_list_1.cpp b/failtest/initializer_list_1.cpp index c9683fe29..af137a73d 100644 --- a/failtest/initializer_list_1.cpp +++ b/failtest/initializer_list_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/initializer_list_2.cpp b/failtest/initializer_list_2.cpp index 8ea34c9a2..62891f742 100644 --- a/failtest/initializer_list_2.cpp +++ b/failtest/initializer_list_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/jacobisvd_int.cpp b/failtest/jacobisvd_int.cpp index 52430f05b..6750591c0 100644 --- a/failtest/jacobisvd_int.cpp +++ b/failtest/jacobisvd_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/SVD" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/ldlt_int.cpp b/failtest/ldlt_int.cpp index 13531b664..595f87116 100644 --- a/failtest/ldlt_int.cpp +++ b/failtest/ldlt_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Cholesky" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/llt_int.cpp b/failtest/llt_int.cpp index 40b055ca8..6c258fd2f 100644 --- a/failtest/llt_int.cpp +++ b/failtest/llt_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Cholesky" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/map_nonconst_ctor_on_const_ptr_0.cpp b/failtest/map_nonconst_ctor_on_const_ptr_0.cpp index 5a76cdec9..ba8deca87 100644 --- a/failtest/map_nonconst_ctor_on_const_ptr_0.cpp +++ b/failtest/map_nonconst_ctor_on_const_ptr_0.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/map_nonconst_ctor_on_const_ptr_1.cpp b/failtest/map_nonconst_ctor_on_const_ptr_1.cpp index 4306fba93..3a5a755ba 100644 --- a/failtest/map_nonconst_ctor_on_const_ptr_1.cpp +++ b/failtest/map_nonconst_ctor_on_const_ptr_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/map_nonconst_ctor_on_const_ptr_2.cpp b/failtest/map_nonconst_ctor_on_const_ptr_2.cpp index 411d94200..5c38304fc 100644 --- a/failtest/map_nonconst_ctor_on_const_ptr_2.cpp +++ b/failtest/map_nonconst_ctor_on_const_ptr_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/map_nonconst_ctor_on_const_ptr_3.cpp b/failtest/map_nonconst_ctor_on_const_ptr_3.cpp index 4df7416a0..a90127e1b 100644 --- a/failtest/map_nonconst_ctor_on_const_ptr_3.cpp +++ b/failtest/map_nonconst_ctor_on_const_ptr_3.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/map_nonconst_ctor_on_const_ptr_4.cpp b/failtest/map_nonconst_ctor_on_const_ptr_4.cpp index 97a89021a..0e0d6c1d9 100644 --- a/failtest/map_nonconst_ctor_on_const_ptr_4.cpp +++ b/failtest/map_nonconst_ctor_on_const_ptr_4.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/map_on_const_type_actually_const_0.cpp b/failtest/map_on_const_type_actually_const_0.cpp index 9f485dba0..02aceb9b7 100644 --- a/failtest/map_on_const_type_actually_const_0.cpp +++ b/failtest/map_on_const_type_actually_const_0.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/map_on_const_type_actually_const_1.cpp b/failtest/map_on_const_type_actually_const_1.cpp index c5ff0e6b5..939b58ea8 100644 --- a/failtest/map_on_const_type_actually_const_1.cpp +++ b/failtest/map_on_const_type_actually_const_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/partialpivlu_int.cpp b/failtest/partialpivlu_int.cpp index dd79735a7..31759a548 100644 --- a/failtest/partialpivlu_int.cpp +++ b/failtest/partialpivlu_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/LU" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/qr_int.cpp b/failtest/qr_int.cpp index 541c544de..f5eaa7d0e 100644 --- a/failtest/qr_int.cpp +++ b/failtest/qr_int.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/QR" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/ref_1.cpp b/failtest/ref_1.cpp index 4e50d0509..26cf78034 100644 --- a/failtest/ref_1.cpp +++ b/failtest/ref_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/ref_2.cpp b/failtest/ref_2.cpp index 7db5075d9..ccd33cbf0 100644 --- a/failtest/ref_2.cpp +++ b/failtest/ref_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/ref_3.cpp b/failtest/ref_3.cpp index 6310d5e1e..6a18d707c 100644 --- a/failtest/ref_3.cpp +++ b/failtest/ref_3.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/ref_4.cpp b/failtest/ref_4.cpp index 49f92379d..0f1d2eb25 100644 --- a/failtest/ref_4.cpp +++ b/failtest/ref_4.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/ref_5.cpp b/failtest/ref_5.cpp index 173f4fa32..d62dac825 100644 --- a/failtest/ref_5.cpp +++ b/failtest/ref_5.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/ref_6.cpp b/failtest/ref_6.cpp index b246f97ee..21833f9ed 100644 --- a/failtest/ref_6.cpp +++ b/failtest/ref_6.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/ref_7.cpp b/failtest/ref_7.cpp index 7d6a3cb5c..0978d6615 100644 --- a/failtest/ref_7.cpp +++ b/failtest/ref_7.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/selfadjointview_nonconst_ctor_on_const_xpr.cpp b/failtest/selfadjointview_nonconst_ctor_on_const_xpr.cpp index cf0495712..bf32e4b0b 100644 --- a/failtest/selfadjointview_nonconst_ctor_on_const_xpr.cpp +++ b/failtest/selfadjointview_nonconst_ctor_on_const_xpr.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/selfadjointview_on_const_type_actually_const.cpp b/failtest/selfadjointview_on_const_type_actually_const.cpp index 7205b53a1..cbc5043df 100644 --- a/failtest/selfadjointview_on_const_type_actually_const.cpp +++ b/failtest/selfadjointview_on_const_type_actually_const.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/sparse_ref_1.cpp b/failtest/sparse_ref_1.cpp index 30777e72d..8664734d7 100644 --- a/failtest/sparse_ref_1.cpp +++ b/failtest/sparse_ref_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Sparse" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/sparse_ref_2.cpp b/failtest/sparse_ref_2.cpp index c36f629d0..af683fe01 100644 --- a/failtest/sparse_ref_2.cpp +++ b/failtest/sparse_ref_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Sparse" using namespace Eigen; diff --git a/failtest/sparse_ref_3.cpp b/failtest/sparse_ref_3.cpp index e62c557c8..4b19afe38 100644 --- a/failtest/sparse_ref_3.cpp +++ b/failtest/sparse_ref_3.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Sparse" using namespace Eigen; diff --git a/failtest/sparse_ref_4.cpp b/failtest/sparse_ref_4.cpp index 2e67240a6..25a3cb3ea 100644 --- a/failtest/sparse_ref_4.cpp +++ b/failtest/sparse_ref_4.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Sparse" using namespace Eigen; diff --git a/failtest/sparse_ref_5.cpp b/failtest/sparse_ref_5.cpp index f842b571f..1bfe87bd9 100644 --- a/failtest/sparse_ref_5.cpp +++ b/failtest/sparse_ref_5.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Sparse" using namespace Eigen; diff --git a/failtest/sparse_storage_mismatch.cpp b/failtest/sparse_storage_mismatch.cpp index de051acd2..384d76835 100644 --- a/failtest/sparse_storage_mismatch.cpp +++ b/failtest/sparse_storage_mismatch.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Sparse" using namespace Eigen; diff --git a/failtest/swap_1.cpp b/failtest/swap_1.cpp index 8f9648ad6..4fa834797 100644 --- a/failtest/swap_1.cpp +++ b/failtest/swap_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/swap_2.cpp b/failtest/swap_2.cpp index 5ad90e33a..0f3eda011 100644 --- a/failtest/swap_2.cpp +++ b/failtest/swap_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/ternary_1.cpp b/failtest/ternary_1.cpp index 4f957f49b..d562c2fb6 100644 --- a/failtest/ternary_1.cpp +++ b/failtest/ternary_1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/ternary_2.cpp b/failtest/ternary_2.cpp index 801d39f6e..22fe88e10 100644 --- a/failtest/ternary_2.cpp +++ b/failtest/ternary_2.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" using namespace Eigen; diff --git a/failtest/transpose_nonconst_ctor_on_const_xpr.cpp b/failtest/transpose_nonconst_ctor_on_const_xpr.cpp index 79d39aac6..09dce42bb 100644 --- a/failtest/transpose_nonconst_ctor_on_const_xpr.cpp +++ b/failtest/transpose_nonconst_ctor_on_const_xpr.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/transpose_on_const_type_actually_const.cpp b/failtest/transpose_on_const_type_actually_const.cpp index 29500da2e..f13e6fe73 100644 --- a/failtest/transpose_on_const_type_actually_const.cpp +++ b/failtest/transpose_on_const_type_actually_const.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp b/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp index 811ec3a67..a8d6505f1 100644 --- a/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp +++ b/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/failtest/triangularview_on_const_type_actually_const.cpp b/failtest/triangularview_on_const_type_actually_const.cpp index b95b37d57..78daddb32 100644 --- a/failtest/triangularview_on_const_type_actually_const.cpp +++ b/failtest/triangularview_on_const_type_actually_const.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../Eigen/Core" #ifdef EIGEN_SHOULD_FAIL_TO_BUILD diff --git a/lapack/CMakeLists.txt b/lapack/CMakeLists.txt index e61c99b2c..d35ee5e33 100644 --- a/lapack/CMakeLists.txt +++ b/lapack/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + project(EigenLapack CXX) if(EIGEN_BUILD_LAPACK AND EIGEN_BUILD_BLAS) diff --git a/lapack/cholesky.inc b/lapack/cholesky.inc index a93a51152..2faa56688 100644 --- a/lapack/cholesky.inc +++ b/lapack/cholesky.inc @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "lapack_common.h" #include diff --git a/lapack/complex_double.cpp b/lapack/complex_double.cpp index 1056767ec..3556f6537 100644 --- a/lapack/complex_double.cpp +++ b/lapack/complex_double.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR std::complex #define SCALAR_SUFFIX z diff --git a/lapack/complex_single.cpp b/lapack/complex_single.cpp index 40ab91367..ec1534190 100644 --- a/lapack/complex_single.cpp +++ b/lapack/complex_single.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR std::complex #define SCALAR_SUFFIX c diff --git a/lapack/double.cpp b/lapack/double.cpp index 9e57e90c8..036473d92 100644 --- a/lapack/double.cpp +++ b/lapack/double.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR double #define SCALAR_SUFFIX d diff --git a/lapack/dsecnd_INT_CPU_TIME.cpp b/lapack/dsecnd_INT_CPU_TIME.cpp index 684fa1d78..21197aced 100644 --- a/lapack/dsecnd_INT_CPU_TIME.cpp +++ b/lapack/dsecnd_INT_CPU_TIME.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifdef _WIN32 #include diff --git a/lapack/eigenvalues.inc b/lapack/eigenvalues.inc index 211a7ff4e..c149a4079 100644 --- a/lapack/eigenvalues.inc +++ b/lapack/eigenvalues.inc @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "lapack_common.h" #include diff --git a/lapack/lapack.h b/lapack/lapack.h index 88fdb9895..b44f4417a 100644 --- a/lapack/lapack.h +++ b/lapack/lapack.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef LAPACK_H #define LAPACK_H diff --git a/lapack/lapack_common.h b/lapack/lapack_common.h index 726fabf55..46368f97e 100644 --- a/lapack/lapack_common.h +++ b/lapack/lapack_common.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LAPACK_COMMON_H #define EIGEN_LAPACK_COMMON_H diff --git a/lapack/lu.inc b/lapack/lu.inc index 2ddaf957a..50d78ba55 100644 --- a/lapack/lu.inc +++ b/lapack/lu.inc @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "common.h" #include diff --git a/lapack/second_INT_CPU_TIME.cpp b/lapack/second_INT_CPU_TIME.cpp index d6eb4029b..465a9c3a7 100644 --- a/lapack/second_INT_CPU_TIME.cpp +++ b/lapack/second_INT_CPU_TIME.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifdef _WIN32 #include diff --git a/lapack/single.cpp b/lapack/single.cpp index 10c0a2b19..d83be24cd 100644 --- a/lapack/single.cpp +++ b/lapack/single.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define SCALAR float #define SCALAR_SUFFIX s diff --git a/lapack/svd.inc b/lapack/svd.inc index 262c5c696..9765aa8c2 100644 --- a/lapack/svd.inc +++ b/lapack/svd.inc @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "lapack_common.h" #include diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 0d9a631a9..a468478c0 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 get_property(EIGEN_TESTS_LIST GLOBAL PROPERTY EIGEN_TESTS_LIST) configure_file(buildtests.in ${CMAKE_BINARY_DIR}/buildtests.sh @ONLY) diff --git a/scripts/buildtests.in b/scripts/buildtests.in index ab9c18fb1..1bff829ed 100755 --- a/scripts/buildtests.in +++ b/scripts/buildtests.in @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 if [[ $# != 1 || $1 == *help ]] then diff --git a/scripts/cdashtesting.cmake.in b/scripts/cdashtesting.cmake.in index 0bf0fac2a..dd51ae1c3 100644 --- a/scripts/cdashtesting.cmake.in +++ b/scripts/cdashtesting.cmake.in @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 set(CTEST_SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@") set(CTEST_BINARY_DIRECTORY "@CMAKE_BINARY_DIR@") diff --git a/scripts/check.in b/scripts/check.in index 7717e2d93..ffedfa0f1 100755 --- a/scripts/check.in +++ b/scripts/check.in @@ -1,5 +1,6 @@ #!/bin/bash # check : shorthand for make and ctest -R +# SPDX-License-Identifier: MPL-2.0 if [[ $# != 1 || $1 == *help ]] then diff --git a/scripts/ci_cmake_msvc.ps1 b/scripts/ci_cmake_msvc.ps1 index c08b9ae58..df5c46181 100644 --- a/scripts/ci_cmake_msvc.ps1 +++ b/scripts/ci_cmake_msvc.ps1 @@ -1,4 +1,5 @@ # Powershell script to set up MSVC cmake builds that mirror the CI. Useful for reproducing issues. +# SPDX-License-Identifier: MPL-2.0 param ($EIGEN_CI_ROOTDIR, $EIGEN_CI_BUILDDIR, diff --git a/scripts/ci_cmake_msvc_cuda.ps1 b/scripts/ci_cmake_msvc_cuda.ps1 index dd615ec3e..c0c4f5030 100644 --- a/scripts/ci_cmake_msvc_cuda.ps1 +++ b/scripts/ci_cmake_msvc_cuda.ps1 @@ -1,4 +1,5 @@ # Powershell script to set up MSVC CUDA cmake builds that mirror the CI. Useful for reproducing issues. +# SPDX-License-Identifier: MPL-2.0 param ($EIGEN_CI_ROOTDIR, $EIGEN_CI_BUILDDIR, diff --git a/scripts/debug.in b/scripts/debug.in index d339d3d1f..3f827b6b8 100755 --- a/scripts/debug.in +++ b/scripts/debug.in @@ -1,3 +1,4 @@ #!/bin/sh +# SPDX-License-Identifier: MPL-2.0 cmake -DCMAKE_BUILD_TYPE=Debug . diff --git a/scripts/eigen_gen_credits.cpp b/scripts/eigen_gen_credits.cpp index bf8e4df02..962008011 100644 --- a/scripts/eigen_gen_credits.cpp +++ b/scripts/eigen_gen_credits.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/scripts/eigen_gen_docs b/scripts/eigen_gen_docs index 787dcb325..e84c6f541 100644 --- a/scripts/eigen_gen_docs +++ b/scripts/eigen_gen_docs @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: MPL-2.0 # configuration # You should call this script with USER set as you want, else some default diff --git a/scripts/eigen_gen_split_test_help.cmake b/scripts/eigen_gen_split_test_help.cmake index e43f5aabe..b6072d6f8 100644 --- a/scripts/eigen_gen_split_test_help.cmake +++ b/scripts/eigen_gen_split_test_help.cmake @@ -1,4 +1,5 @@ #!cmake -P +# SPDX-License-Identifier: MPL-2.0 file(WRITE split_test_helper.h "") foreach(i RANGE 1 999) file(APPEND split_test_helper.h diff --git a/scripts/eigen_monitor_perf.sh b/scripts/eigen_monitor_perf.sh index 8f3425daf..d778a6528 100755 --- a/scripts/eigen_monitor_perf.sh +++ b/scripts/eigen_monitor_perf.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 # This is a script example to automatically update and upload performance unit tests. # The following five variables must be adjusted to match your settings. diff --git a/scripts/format.sh b/scripts/format.sh index f1c38b2b1..0bc2ffdcf 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: MPL-2.0 # Format files with extensions, excluding plugins because they're partial files that don't contain valid syntax find . -type f \( -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name '*.cu' -o -name '*.cxx' -o -name '*.h' -o -name '*.inc' -not -path '*/plugins/*' \) | xargs -n 1 -P 0 clang-format-17 -i diff --git a/scripts/release.in b/scripts/release.in index db2d9d940..fe118fe87 100755 --- a/scripts/release.in +++ b/scripts/release.in @@ -1,3 +1,4 @@ #!/bin/sh +# SPDX-License-Identifier: MPL-2.0 cmake -DCMAKE_BUILD_TYPE=Release . diff --git a/test/AnnoyingScalar.h b/test/AnnoyingScalar.h index 00a20c7c7..ab9adfeb6 100644 --- a/test/AnnoyingScalar.h +++ b/test/AnnoyingScalar.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TEST_ANNOYING_SCALAR_H #define EIGEN_TEST_ANNOYING_SCALAR_H diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 469258435..669b9afe3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # The file split_test_helper.h was generated at first run, # it is now included in test/ if(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/split_test_helper.h) diff --git a/test/MovableScalar.h b/test/MovableScalar.h index 6a046dea6..f3efc7a73 100644 --- a/test/MovableScalar.h +++ b/test/MovableScalar.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MISC_MOVABLE_SCALAR_H #define EIGEN_MISC_MOVABLE_SCALAR_H diff --git a/test/OffByOneScalar.h b/test/OffByOneScalar.h index 81845713f..8ac21bdd8 100644 --- a/test/OffByOneScalar.h +++ b/test/OffByOneScalar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // A Scalar with internal representation T+1 so that zero is internally // represented by T(1). This is used to test memory fill. diff --git a/test/SafeScalar.h b/test/SafeScalar.h index 33a54c5af..f52f72f3f 100644 --- a/test/SafeScalar.h +++ b/test/SafeScalar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // A Scalar that asserts for uninitialized access. template diff --git a/test/accelerate_support.cpp b/test/accelerate_support.cpp index 4620d41f3..64a487a4c 100644 --- a/test/accelerate_support.cpp +++ b/test/accelerate_support.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #include "sparse_solver.h" diff --git a/test/adjoint.cpp b/test/adjoint.cpp index 636647694..bc2fb1b9c 100644 --- a/test/adjoint.cpp +++ b/test/adjoint.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/array_cwise.cpp b/test/array_cwise.cpp index cf0e6e4b7..cee7343f2 100644 --- a/test/array_cwise.cpp +++ b/test/array_cwise.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include "main.h" diff --git a/test/array_for_matrix.cpp b/test/array_for_matrix.cpp index e94398a65..f448a9c02 100644 --- a/test/array_for_matrix.cpp +++ b/test/array_for_matrix.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/array_of_string.cpp b/test/array_of_string.cpp index f92603f4f..bbc556182 100644 --- a/test/array_of_string.cpp +++ b/test/array_of_string.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/array_replicate.cpp b/test/array_replicate.cpp index f5c924644..d29223a41 100644 --- a/test/array_replicate.cpp +++ b/test/array_replicate.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/array_reverse.cpp b/test/array_reverse.cpp index 3120c3cae..f28a54380 100644 --- a/test/array_reverse.cpp +++ b/test/array_reverse.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/assignment_threaded.cpp b/test/assignment_threaded.cpp index 7505a109a..16d5797d6 100644 --- a/test/assignment_threaded.cpp +++ b/test/assignment_threaded.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS 1 diff --git a/test/bandmatrix.cpp b/test/bandmatrix.cpp index 027eb06a6..79d87bf5e 100644 --- a/test/bandmatrix.cpp +++ b/test/bandmatrix.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/basicstuff.cpp b/test/basicstuff.cpp index 455cbfddb..43e73fba3 100644 --- a/test/basicstuff.cpp +++ b/test/basicstuff.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include "random_without_cast_overflow.h" diff --git a/test/bdcsvd.cpp b/test/bdcsvd.cpp index 3ba4cb7be..44a0488a6 100644 --- a/test/bdcsvd.cpp +++ b/test/bdcsvd.cpp @@ -9,6 +9,7 @@ // 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/ +// SPDX-License-Identifier: MPL-2.0 // discard stack allocation as that too bypasses malloc #define EIGEN_STACK_ALLOCATION_LIMIT 0 diff --git a/test/bfloat16_float.cpp b/test/bfloat16_float.cpp index 12d6d86e3..a9b2c6b21 100644 --- a/test/bfloat16_float.cpp +++ b/test/bfloat16_float.cpp @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/test/bicgstab.cpp b/test/bicgstab.cpp index 3f53e3ee9..98b78d20e 100644 --- a/test/bicgstab.cpp +++ b/test/bicgstab.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse_solver.h" #include diff --git a/test/blasutil.cpp b/test/blasutil.cpp index 199b57103..e56416e08 100644 --- a/test/blasutil.cpp +++ b/test/blasutil.cpp @@ -6,6 +6,7 @@ // 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/ +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/block.cpp b/test/block.cpp index 8f7c8de68..d197cb225 100644 --- a/test/block.cpp +++ b/test/block.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/boostmultiprec.cpp b/test/boostmultiprec.cpp index 76e80fe36..7ede02ace 100644 --- a/test/boostmultiprec.cpp +++ b/test/boostmultiprec.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/test/bug1213.cpp b/test/bug1213.cpp index 8dbe1a8d5..dd7b43d1d 100644 --- a/test/bug1213.cpp +++ b/test/bug1213.cpp @@ -1,4 +1,4 @@ - +// SPDX-License-Identifier: MPL-2.0 // This anonymous enum is essential to trigger the linking issue enum { Foo }; diff --git a/test/bug1213.h b/test/bug1213.h index 49687f2d3..27111c9b8 100644 --- a/test/bug1213.h +++ b/test/bug1213.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/test/bug1213_main.cpp b/test/bug1213_main.cpp index 16150cf1e..4fcc6af7a 100644 --- a/test/bug1213_main.cpp +++ b/test/bug1213_main.cpp @@ -1,4 +1,4 @@ - +// SPDX-License-Identifier: MPL-2.0 // This is a regression unit regarding a weird linking issue with gcc. #include "bug1213.h" diff --git a/test/cholesky.cpp b/test/cholesky.cpp index 1c1e18ec9..78cc1d80f 100644 --- a/test/cholesky.cpp +++ b/test/cholesky.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING diff --git a/test/cholmod_support.cpp b/test/cholmod_support.cpp index 066674950..059708082 100644 --- a/test/cholmod_support.cpp +++ b/test/cholmod_support.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #include "sparse_solver.h" diff --git a/test/clz.cpp b/test/clz.cpp index b56d32852..2c3d3c6a8 100644 --- a/test/clz.cpp +++ b/test/clz.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/commainitializer.cpp b/test/commainitializer.cpp index 771ab6fde..eb51b5791 100644 --- a/test/commainitializer.cpp +++ b/test/commainitializer.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/conjugate_gradient.cpp b/test/conjugate_gradient.cpp index 87e1f8ce9..1ecc17eb3 100644 --- a/test/conjugate_gradient.cpp +++ b/test/conjugate_gradient.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse_solver.h" #include diff --git a/test/conservative_resize.cpp b/test/conservative_resize.cpp index 73e34a6c8..d4a26519c 100644 --- a/test/conservative_resize.cpp +++ b/test/conservative_resize.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/constexpr.cpp b/test/constexpr.cpp index 34c728f66..251a44e2c 100644 --- a/test/constexpr.cpp +++ b/test/constexpr.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TESTING_CONSTEXPR #include "main.h" diff --git a/test/constructor.cpp b/test/constructor.cpp index fb125c486..cf09345b5 100644 --- a/test/constructor.cpp +++ b/test/constructor.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING diff --git a/test/corners.cpp b/test/corners.cpp index 8bbb3f854..c045d1908 100644 --- a/test/corners.cpp +++ b/test/corners.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/ctorleak.cpp b/test/ctorleak.cpp index eb25897fb..80d2c209e 100644 --- a/test/ctorleak.cpp +++ b/test/ctorleak.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "main.h" #include // std::exception diff --git a/test/denseLM.cpp b/test/denseLM.cpp index 471e9465d..cb8d65893 100644 --- a/test/denseLM.cpp +++ b/test/denseLM.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/test/dense_storage.cpp b/test/dense_storage.cpp index d394a94f9..65e47f493 100644 --- a/test/dense_storage.cpp +++ b/test/dense_storage.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TESTING_PLAINOBJECT_CTOR diff --git a/test/determinant.cpp b/test/determinant.cpp index 0f2d4f85e..ec3b5eed8 100644 --- a/test/determinant.cpp +++ b/test/determinant.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/diagonal.cpp b/test/diagonal.cpp index a56118c38..abb19b5f0 100644 --- a/test/diagonal.cpp +++ b/test/diagonal.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/diagonal_matrix_variadic_ctor.cpp b/test/diagonal_matrix_variadic_ctor.cpp index e3e51aa0f..c2aa8875d 100644 --- a/test/diagonal_matrix_variadic_ctor.cpp +++ b/test/diagonal_matrix_variadic_ctor.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/diagonalmatrices.cpp b/test/diagonalmatrices.cpp index 62450ab4b..f444644c6 100644 --- a/test/diagonalmatrices.cpp +++ b/test/diagonalmatrices.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // discard stack allocation as that too bypasses malloc #define EIGEN_STACK_ALLOCATION_LIMIT 0 diff --git a/test/dontalign.cpp b/test/dontalign.cpp index 2210bad0c..810b8dacd 100644 --- a/test/dontalign.cpp +++ b/test/dontalign.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined EIGEN_TEST_PART_1 || defined EIGEN_TEST_PART_2 || defined EIGEN_TEST_PART_3 || defined EIGEN_TEST_PART_4 #define EIGEN_DONT_ALIGN diff --git a/test/dynalloc.cpp b/test/dynalloc.cpp index 8732f6898..86df9d1e9 100644 --- a/test/dynalloc.cpp +++ b/test/dynalloc.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/eigen2support.cpp b/test/eigen2support.cpp index 878352b70..4721c41b5 100644 --- a/test/eigen2support.cpp +++ b/test/eigen2support.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN2_SUPPORT diff --git a/test/eigensolver_complex.cpp b/test/eigensolver_complex.cpp index afb24b9af..ede3f6feb 100644 --- a/test/eigensolver_complex.cpp +++ b/test/eigensolver_complex.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/eigensolver_generalized_real.cpp b/test/eigensolver_generalized_real.cpp index eb3f8845b..c2e12a1ad 100644 --- a/test/eigensolver_generalized_real.cpp +++ b/test/eigensolver_generalized_real.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_RUNTIME_NO_MALLOC #include "main.h" diff --git a/test/eigensolver_generic.cpp b/test/eigensolver_generic.cpp index c665df8d8..8fb559688 100644 --- a/test/eigensolver_generic.cpp +++ b/test/eigensolver_generic.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/eigensolver_selfadjoint.cpp b/test/eigensolver_selfadjoint.cpp index 04e727d83..5aed77a9e 100644 --- a/test/eigensolver_selfadjoint.cpp +++ b/test/eigensolver_selfadjoint.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include "svd_fill.h" diff --git a/test/evaluator_common.h b/test/evaluator_common.h index e69de29bb..f521cb850 100644 --- a/test/evaluator_common.h +++ b/test/evaluator_common.h @@ -0,0 +1 @@ +// SPDX-License-Identifier: MPL-2.0 diff --git a/test/evaluators.cpp b/test/evaluators.cpp index d96a0a19c..da4f5143c 100644 --- a/test/evaluators.cpp +++ b/test/evaluators.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/exceptions.cpp b/test/exceptions.cpp index e3a5893d5..f70ff80bc 100644 --- a/test/exceptions.cpp +++ b/test/exceptions.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // Various sanity tests with exceptions and non trivially copyable scalar type. // - no memory leak when a custom scalar type trow an exceptions diff --git a/test/fastmath.cpp b/test/fastmath.cpp index 6d91fe95f..334f84a55 100644 --- a/test/fastmath.cpp +++ b/test/fastmath.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/first_aligned.cpp b/test/first_aligned.cpp index 66957853d..b3b545ef3 100644 --- a/test/first_aligned.cpp +++ b/test/first_aligned.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/float_conversion.cpp b/test/float_conversion.cpp index 6ea8a375e..8449a7e95 100644 --- a/test/float_conversion.cpp +++ b/test/float_conversion.cpp @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp index da49c081f..c3d577525 100644 --- a/test/geo_alignedbox.cpp +++ b/test/geo_alignedbox.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/geo_eulerangles.cpp b/test/geo_eulerangles.cpp index 11c044934..4ff0b2dcf 100644 --- a/test/geo_eulerangles.cpp +++ b/test/geo_eulerangles.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // Silence warnings about using the deprecated non-canonical .eulerAngles(), which are still being tested. #define EIGEN_NO_DEPRECATED_WARNING diff --git a/test/geo_homogeneous.cpp b/test/geo_homogeneous.cpp index cb14413f7..b8102a66a 100644 --- a/test/geo_homogeneous.cpp +++ b/test/geo_homogeneous.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp index 2e6b5006c..89c9e3af3 100644 --- a/test/geo_hyperplane.cpp +++ b/test/geo_hyperplane.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/geo_orthomethods.cpp b/test/geo_orthomethods.cpp index 5ee0f4737..aa87bd4cc 100644 --- a/test/geo_orthomethods.cpp +++ b/test/geo_orthomethods.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/geo_parametrizedline.cpp b/test/geo_parametrizedline.cpp index 856261e47..fbd8a0be1 100644 --- a/test/geo_parametrizedline.cpp +++ b/test/geo_parametrizedline.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index b7e4dc5ab..73f3f4182 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index a9eb87e25..eca0d0f83 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/gpu_basic.cu b/test/gpu_basic.cu index 35839e466..a1ce57c5e 100644 --- a/test/gpu_basic.cu +++ b/test/gpu_basic.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // workaround issue between gcc >= 4.7 and cuda 5.5 #if (defined __GNUC__) && (__GNUC__ > 4 || __GNUC_MINOR__ >= 7) diff --git a/test/gpu_common.h b/test/gpu_common.h index f34f1b078..7f16c4465 100644 --- a/test/gpu_common.h +++ b/test/gpu_common.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_TEST_GPU_COMMON_H #define EIGEN_TEST_GPU_COMMON_H diff --git a/test/gpu_example.cu b/test/gpu_example.cu index cb5ea3011..6b1b2dc60 100644 --- a/test/gpu_example.cu +++ b/test/gpu_example.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // The following is an example GPU test. diff --git a/test/gpu_test_helper.h b/test/gpu_test_helper.h index bbf766dde..3d270e248 100644 --- a/test/gpu_test_helper.h +++ b/test/gpu_test_helper.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef GPU_TEST_HELPER_H #define GPU_TEST_HELPER_H diff --git a/test/half_float.cpp b/test/half_float.cpp index 90ac825d6..416ad2382 100644 --- a/test/half_float.cpp +++ b/test/half_float.cpp @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/test/hessenberg.cpp b/test/hessenberg.cpp index 90364f1c4..594ae1876 100644 --- a/test/hessenberg.cpp +++ b/test/hessenberg.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/householder.cpp b/test/householder.cpp index 0107759a0..5f0dc79fa 100644 --- a/test/householder.cpp +++ b/test/householder.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/incomplete_cholesky.cpp b/test/incomplete_cholesky.cpp index fccc20778..9cf2a271c 100644 --- a/test/incomplete_cholesky.cpp +++ b/test/incomplete_cholesky.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // #define EIGEN_DONT_VECTORIZE // #define EIGEN_MAX_ALIGN_BYTES 0 #include "sparse_solver.h" diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp index 064cc4ac7..2415d7c55 100644 --- a/test/indexed_view.cpp +++ b/test/indexed_view.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/test/initializer_list_construction.cpp b/test/initializer_list_construction.cpp index 2c3f1859c..cbc84518c 100644 --- a/test/initializer_list_construction.cpp +++ b/test/initializer_list_construction.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(__GNUC__) && __GNUC__ >= 10 // GCC 10+ has a bug for unsigned char that thinks we're writing past the diff --git a/test/inplace_decomposition.cpp b/test/inplace_decomposition.cpp index a57596c0d..be1c239a5 100644 --- a/test/inplace_decomposition.cpp +++ b/test/inplace_decomposition.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/integer_types.cpp b/test/integer_types.cpp index a3be74998..e648f8c1a 100644 --- a/test/integer_types.cpp +++ b/test/integer_types.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/inverse.cpp b/test/inverse.cpp index d564db404..b4654f660 100644 --- a/test/inverse.cpp +++ b/test/inverse.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/io.cpp b/test/io.cpp index 219e1cbfb..a80c93667 100644 --- a/test/io.cpp +++ b/test/io.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/test/is_same_dense.cpp b/test/is_same_dense.cpp index 18c07e609..3641e6e84 100644 --- a/test/is_same_dense.cpp +++ b/test/is_same_dense.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/jacobi.cpp b/test/jacobi.cpp index 76346049c..36e17cc43 100644 --- a/test/jacobi.cpp +++ b/test/jacobi.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index cf5cc5fdb..34af9b9bb 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // discard stack allocation as that too bypasses malloc #define EIGEN_STACK_ALLOCATION_LIMIT 0 diff --git a/test/klu_support.cpp b/test/klu_support.cpp index b4f1f437d..76c68caec 100644 --- a/test/klu_support.cpp +++ b/test/klu_support.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #include "sparse_solver.h" diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp index e5684a52f..60defb365 100644 --- a/test/linearstructure.cpp +++ b/test/linearstructure.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 static bool g_called; #define EIGEN_SCALAR_BINARY_OP_PLUGIN \ diff --git a/test/lscg.cpp b/test/lscg.cpp index 1c94e0a9e..1c00a251a 100644 --- a/test/lscg.cpp +++ b/test/lscg.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse_solver.h" #include diff --git a/test/lu.cpp b/test/lu.cpp index 1792c2bcb..abf271068 100644 --- a/test/lu.cpp +++ b/test/lu.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/main.h b/test/main.h index a8e951f8b..c7d1dec98 100644 --- a/test/main.h +++ b/test/main.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/test/mapped_matrix.cpp b/test/mapped_matrix.cpp index 78ae09cb0..20af29204 100644 --- a/test/mapped_matrix.cpp +++ b/test/mapped_matrix.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/mapstaticmethods.cpp b/test/mapstaticmethods.cpp index b18b24a76..72904de11 100644 --- a/test/mapstaticmethods.cpp +++ b/test/mapstaticmethods.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/mapstride.cpp b/test/mapstride.cpp index 1a9f50c59..0155c5838 100644 --- a/test/mapstride.cpp +++ b/test/mapstride.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/matrix_cwise.cpp b/test/matrix_cwise.cpp index 56cd2d6f0..dee44d8c7 100644 --- a/test/matrix_cwise.cpp +++ b/test/matrix_cwise.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include "main.h" diff --git a/test/maxsizevector.cpp b/test/maxsizevector.cpp index 7fe691a74..307f1bbbd 100644 --- a/test/maxsizevector.cpp +++ b/test/maxsizevector.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "main.h" #include // std::exception diff --git a/test/meta.cpp b/test/meta.cpp index 46269b5d4..664622084 100644 --- a/test/meta.cpp +++ b/test/meta.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/metis_support.cpp b/test/metis_support.cpp index cfbea3abf..063131bf4 100644 --- a/test/metis_support.cpp +++ b/test/metis_support.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse_solver.h" #include diff --git a/test/miscmatrices.cpp b/test/miscmatrices.cpp index e3506af88..823cc68fc 100644 --- a/test/miscmatrices.cpp +++ b/test/miscmatrices.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/mixingtypes.cpp b/test/mixingtypes.cpp index 8f0fff3b7..792afa046 100644 --- a/test/mixingtypes.cpp +++ b/test/mixingtypes.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(EIGEN_TEST_PART_7) diff --git a/test/nestbyvalue.cpp b/test/nestbyvalue.cpp index f65621ab3..52cba6d1d 100644 --- a/test/nestbyvalue.cpp +++ b/test/nestbyvalue.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING diff --git a/test/nesting_ops.cpp b/test/nesting_ops.cpp index ec47e21f7..afd6fa6a4 100644 --- a/test/nesting_ops.cpp +++ b/test/nesting_ops.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp index c9956d3ec..a6d917e66 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // discard stack allocation as that too bypasses malloc #define EIGEN_STACK_ALLOCATION_LIMIT 0 diff --git a/test/nullary.cpp b/test/nullary.cpp index 9f9cfea14..077683320 100644 --- a/test/nullary.cpp +++ b/test/nullary.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/num_dimensions.cpp b/test/num_dimensions.cpp index dacd8ac7f..19a24782e 100644 --- a/test/num_dimensions.cpp +++ b/test/num_dimensions.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/numext.cpp b/test/numext.cpp index ebe9fb069..6a0b66c58 100644 --- a/test/numext.cpp +++ b/test/numext.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/packet_ostream.h b/test/packet_ostream.h index 49e1bb076..23619d164 100644 --- a/test/packet_ostream.h +++ b/test/packet_ostream.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef TEST_PACKET_OSTREAM #define TEST_PACKET_OSTREAM diff --git a/test/packetmath.cpp b/test/packetmath.cpp index cdbaad672..695d7103d 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "packetmath_test_shared.h" #include "random_without_cast_overflow.h" diff --git a/test/packetmath_test_shared.h b/test/packetmath_test_shared.h index 93d41496b..8f67404a2 100644 --- a/test/packetmath_test_shared.h +++ b/test/packetmath_test_shared.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/pastix_support.cpp b/test/pastix_support.cpp index e487dd1ab..1cb58f79d 100644 --- a/test/pastix_support.cpp +++ b/test/pastix_support.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #include "sparse_solver.h" diff --git a/test/permutationmatrices.cpp b/test/permutationmatrices.cpp index 2c8378301..d01a50b92 100644 --- a/test/permutationmatrices.cpp +++ b/test/permutationmatrices.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING diff --git a/test/prec_inverse_4x4.cpp b/test/prec_inverse_4x4.cpp index dc9967f63..a9d99f441 100644 --- a/test/prec_inverse_4x4.cpp +++ b/test/prec_inverse_4x4.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/product.h b/test/product.h index f8eb5df85..a57409deb 100644 --- a/test/product.h +++ b/test/product.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/product_extra.cpp b/test/product_extra.cpp index ddd77b509..595c39960 100644 --- a/test/product_extra.cpp +++ b/test/product_extra.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/product_large.cpp b/test/product_large.cpp index b3213ecd8..3937facca 100644 --- a/test/product_large.cpp +++ b/test/product_large.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "product.h" #include diff --git a/test/product_mmtr.cpp b/test/product_mmtr.cpp index f177b69b7..f1e36fc88 100644 --- a/test/product_mmtr.cpp +++ b/test/product_mmtr.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index 84ce3c637..bb4f6d951 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING #define TEST_IGNORE_STACK_ALLOCATED_TEMPORARY diff --git a/test/product_selfadjoint.cpp b/test/product_selfadjoint.cpp index 8d1bda582..503fc492b 100644 --- a/test/product_selfadjoint.cpp +++ b/test/product_selfadjoint.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/product_small.cpp b/test/product_small.cpp index 1b1eef1e6..53ae74214 100644 --- a/test/product_small.cpp +++ b/test/product_small.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "product.h" #include diff --git a/test/product_symm.cpp b/test/product_symm.cpp index 7c6db2e7e..4813d9f1b 100644 --- a/test/product_symm.cpp +++ b/test/product_symm.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/product_syrk.cpp b/test/product_syrk.cpp index d50f4c4f9..46518cb8c 100644 --- a/test/product_syrk.cpp +++ b/test/product_syrk.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/product_threaded.cpp b/test/product_threaded.cpp index 1782c281e..c0767dcd1 100644 --- a/test/product_threaded.cpp +++ b/test/product_threaded.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_GEMM_THREADPOOL #include "main.h" diff --git a/test/product_trmm.cpp b/test/product_trmm.cpp index a8a42201f..faf46fa8b 100644 --- a/test/product_trmm.cpp +++ b/test/product_trmm.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/product_trmv.cpp b/test/product_trmv.cpp index 447243f31..b1f37b6d6 100644 --- a/test/product_trmv.cpp +++ b/test/product_trmv.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/product_trsolve.cpp b/test/product_trsolve.cpp index 033aa86ed..7bf4fd060 100644 --- a/test/product_trsolve.cpp +++ b/test/product_trsolve.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/qr.cpp b/test/qr.cpp index f7f6990d9..c490facdf 100644 --- a/test/qr.cpp +++ b/test/qr.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/qr_colpivoting.cpp b/test/qr_colpivoting.cpp index c821304dd..fb33bd515 100644 --- a/test/qr_colpivoting.cpp +++ b/test/qr_colpivoting.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/qr_fullpivoting.cpp b/test/qr_fullpivoting.cpp index 2b6ecc5b8..4989471d0 100644 --- a/test/qr_fullpivoting.cpp +++ b/test/qr_fullpivoting.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/qtvector.cpp b/test/qtvector.cpp index 0f2d907e5..6c332d23c 100644 --- a/test/qtvector.cpp +++ b/test/qtvector.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_WORK_AROUND_QT_BUG_CALLING_WRONG_OPERATOR_NEW_FIXED_IN_QT_4_5 diff --git a/test/rand.cpp b/test/rand.cpp index 4131f3837..0713150e1 100644 --- a/test/rand.cpp +++ b/test/rand.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include "main.h" diff --git a/test/random_matrix.cpp b/test/random_matrix.cpp index e95ca4786..978d370b5 100644 --- a/test/random_matrix.cpp +++ b/test/random_matrix.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/random_matrix_helper.h b/test/random_matrix_helper.h index 818d68603..ad779ba0c 100644 --- a/test/random_matrix_helper.h +++ b/test/random_matrix_helper.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RANDOM_MATRIX_HELPER #define EIGEN_RANDOM_MATRIX_HELPER diff --git a/test/random_without_cast_overflow.h b/test/random_without_cast_overflow.h index 418f21cdc..29f015284 100644 --- a/test/random_without_cast_overflow.h +++ b/test/random_without_cast_overflow.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // Utilities for generating random numbers without overflows, which might // otherwise result in undefined behavior. diff --git a/test/real_qz.cpp b/test/real_qz.cpp index 50c1e6067..3389732af 100644 --- a/test/real_qz.cpp +++ b/test/real_qz.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_RUNTIME_NO_MALLOC #include "main.h" diff --git a/test/redux.cpp b/test/redux.cpp index 42c269ae7..391ba19d4 100644 --- a/test/redux.cpp +++ b/test/redux.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING #define EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD 8 diff --git a/test/ref.cpp b/test/ref.cpp index deb238f61..5edd95b83 100644 --- a/test/ref.cpp +++ b/test/ref.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This unit test cannot be easily written to work with EIGEN_DEFAULT_TO_ROW_MAJOR #ifdef EIGEN_DEFAULT_TO_ROW_MAJOR diff --git a/test/reshape.cpp b/test/reshape.cpp index 417d18abe..9aeffeb28 100644 --- a/test/reshape.cpp +++ b/test/reshape.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/resize.cpp b/test/resize.cpp index 69db9b42e..a91e09226 100644 --- a/test/resize.cpp +++ b/test/resize.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/rvalue_types.cpp b/test/rvalue_types.cpp index 5db28b832..4ad58c8ca 100644 --- a/test/rvalue_types.cpp +++ b/test/rvalue_types.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_RUNTIME_NO_MALLOC diff --git a/test/schur_complex.cpp b/test/schur_complex.cpp index 04498968d..94faaba8a 100644 --- a/test/schur_complex.cpp +++ b/test/schur_complex.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/schur_real.cpp b/test/schur_real.cpp index 4a9dd891f..9e42f7bfa 100644 --- a/test/schur_real.cpp +++ b/test/schur_real.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/selfadjoint.cpp b/test/selfadjoint.cpp index 38075ee2c..a2a1dcd0d 100644 --- a/test/selfadjoint.cpp +++ b/test/selfadjoint.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_CHECK_STATIC_ASSERTIONS #include "main.h" diff --git a/test/serializer.cpp b/test/serializer.cpp index 0c8416f37..93342e16f 100644 --- a/test/serializer.cpp +++ b/test/serializer.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/simplicial_cholesky.cpp b/test/simplicial_cholesky.cpp index ed9321871..a98631f44 100644 --- a/test/simplicial_cholesky.cpp +++ b/test/simplicial_cholesky.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse_solver.h" diff --git a/test/sizeof.cpp b/test/sizeof.cpp index b75645fd2..ef74ad69f 100644 --- a/test/sizeof.cpp +++ b/test/sizeof.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/sizeoverflow.cpp b/test/sizeoverflow.cpp index 66f820f61..adced7e23 100644 --- a/test/sizeoverflow.cpp +++ b/test/sizeoverflow.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/skew_symmetric_matrix3.cpp b/test/skew_symmetric_matrix3.cpp index 48d490d30..d8dc56c32 100644 --- a/test/skew_symmetric_matrix3.cpp +++ b/test/skew_symmetric_matrix3.cpp @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/smallvectors.cpp b/test/smallvectors.cpp index 682b1186f..52b2bad7b 100644 --- a/test/smallvectors.cpp +++ b/test/smallvectors.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/solverbase.h b/test/solverbase.h index f3539435c..c937bea7e 100644 --- a/test/solverbase.h +++ b/test/solverbase.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef TEST_SOLVERBASE_H #define TEST_SOLVERBASE_H diff --git a/test/sparse.h b/test/sparse.h index 1f4a166a4..65581ffe5 100644 --- a/test/sparse.h +++ b/test/sparse.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_TESTSPARSE_H #define EIGEN_TESTSPARSE_H diff --git a/test/sparseLM.cpp b/test/sparseLM.cpp index 0cb4d3a50..d08cf63a7 100644 --- a/test/sparseLM.cpp +++ b/test/sparseLM.cpp @@ -7,6 +7,8 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp index a9c6f4c07..96b49ff1a 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_TEST_INCLUDED_FROM_SPARSE_EXTRA static long g_realloc_count = 0; diff --git a/test/sparse_block.cpp b/test/sparse_block.cpp index d4d036ae3..5fe921362 100644 --- a/test/sparse_block.cpp +++ b/test/sparse_block.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse.h" #include "AnnoyingScalar.h" diff --git a/test/sparse_permutations.cpp b/test/sparse_permutations.cpp index 1657236df..84b7d1ccd 100644 --- a/test/sparse_permutations.cpp +++ b/test/sparse_permutations.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 static long int nb_transposed_copies; #define EIGEN_SPARSE_TRANSPOSED_COPY_PLUGIN \ diff --git a/test/sparse_product.cpp b/test/sparse_product.cpp index 1083f3f1a..bb9a63d2d 100644 --- a/test/sparse_product.cpp +++ b/test/sparse_product.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(_MSC_VER) && (_MSC_VER == 1800) // This unit test takes forever to compile in Release mode with MSVC 2013, diff --git a/test/sparse_ref.cpp b/test/sparse_ref.cpp index bfedcd999..89dc09c39 100644 --- a/test/sparse_ref.cpp +++ b/test/sparse_ref.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // This unit test cannot be easily written to work with EIGEN_DEFAULT_TO_ROW_MAJOR #ifdef EIGEN_DEFAULT_TO_ROW_MAJOR diff --git a/test/sparse_solver.h b/test/sparse_solver.h index 50cb463de..48c63c18b 100644 --- a/test/sparse_solver.h +++ b/test/sparse_solver.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse.h" #include diff --git a/test/sparse_solvers.cpp b/test/sparse_solvers.cpp index 199dfff25..1105798a7 100644 --- a/test/sparse_solvers.cpp +++ b/test/sparse_solvers.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse.h" diff --git a/test/sparse_vector.cpp b/test/sparse_vector.cpp index e4b196320..f33992e0b 100644 --- a/test/sparse_vector.cpp +++ b/test/sparse_vector.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "sparse.h" diff --git a/test/sparselu.cpp b/test/sparselu.cpp index d9331362c..20708a888 100644 --- a/test/sparselu.cpp +++ b/test/sparselu.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // SparseLU solve does not accept column major matrices for the destination. // However, as expected, the generic check_sparse_square_solving routines produces row-major diff --git a/test/sparseqr.cpp b/test/sparseqr.cpp index 51ed39872..784c29582 100644 --- a/test/sparseqr.cpp +++ b/test/sparseqr.cpp @@ -6,6 +6,8 @@ // // 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 +// SPDX-License-Identifier: MPL-2.0 + #include "sparse.h" #include diff --git a/test/special_numbers.cpp b/test/special_numbers.cpp index 943f65091..c583d2b0d 100644 --- a/test/special_numbers.cpp +++ b/test/special_numbers.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/split_test_helper.h b/test/split_test_helper.h index 63c809c79..18352bd65 100644 --- a/test/split_test_helper.h +++ b/test/split_test_helper.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #if defined(EIGEN_TEST_PART_1) || defined(EIGEN_TEST_PART_ALL) #define CALL_SUBTEST_1(FUNC) CALL_SUBTEST(FUNC) #else diff --git a/test/spqr_support.cpp b/test/spqr_support.cpp index cd758252f..d8b9a701e 100644 --- a/test/spqr_support.cpp +++ b/test/spqr_support.cpp @@ -5,6 +5,7 @@ // // 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 +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #include "sparse.h" diff --git a/test/stable_norm.cpp b/test/stable_norm.cpp index e9ed3d5f7..a28258ad9 100644 --- a/test/stable_norm.cpp +++ b/test/stable_norm.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/stddeque.cpp b/test/stddeque.cpp index 45608d7b9..822d30940 100644 --- a/test/stddeque.cpp +++ b/test/stddeque.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/stddeque_overload.cpp b/test/stddeque_overload.cpp index d0fb261ec..282f1bd5a 100644 --- a/test/stddeque_overload.cpp +++ b/test/stddeque_overload.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/stdlist.cpp b/test/stdlist.cpp index fe32067f1..cb65effef 100644 --- a/test/stdlist.cpp +++ b/test/stdlist.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/stdlist_overload.cpp b/test/stdlist_overload.cpp index 77781dbe5..26558d88e 100644 --- a/test/stdlist_overload.cpp +++ b/test/stdlist_overload.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/stdvector.cpp b/test/stdvector.cpp index 93acfa511..0dd8f8851 100644 --- a/test/stdvector.cpp +++ b/test/stdvector.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/stdvector_overload.cpp b/test/stdvector_overload.cpp index 57d06ca24..c084a5229 100644 --- a/test/stdvector_overload.cpp +++ b/test/stdvector_overload.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/stl_iterators.cpp b/test/stl_iterators.cpp index fee8ef51a..a36f1ebf1 100644 --- a/test/stl_iterators.cpp +++ b/test/stl_iterators.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/superlu_support.cpp b/test/superlu_support.cpp index 51cc3dfe3..287a9a3f7 100644 --- a/test/superlu_support.cpp +++ b/test/superlu_support.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #include "sparse_solver.h" diff --git a/test/svd_common.h b/test/svd_common.h index dd520f541..a265fd0fc 100644 --- a/test/svd_common.h +++ b/test/svd_common.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef SVD_DEFAULT #error a macro SVD_DEFAULT(MatrixType) must be defined prior to including svd_common.h diff --git a/test/svd_fill.h b/test/svd_fill.h index d092e836b..2fa77e035 100644 --- a/test/svd_fill.h +++ b/test/svd_fill.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 template Array four_denorms(); diff --git a/test/swap.cpp b/test/swap.cpp index 7bfabc380..7474050d5 100644 --- a/test/swap.cpp +++ b/test/swap.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/sycl_basic.cpp b/test/sycl_basic.cpp index 06f03c4ea..b8844a27a 100644 --- a/test/sycl_basic.cpp +++ b/test/sycl_basic.cpp @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int diff --git a/test/symbolic_index.cpp b/test/symbolic_index.cpp index 1bd5bd8de..7dbcafe4e 100644 --- a/test/symbolic_index.cpp +++ b/test/symbolic_index.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/threads_eventcount.cpp b/test/threads_eventcount.cpp index bd6e9a8f8..9093dacac 100644 --- a/test/threads_eventcount.cpp +++ b/test/threads_eventcount.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS #include "main.h" diff --git a/test/threads_non_blocking_thread_pool.cpp b/test/threads_non_blocking_thread_pool.cpp index e805cf2c4..2543d4ca4 100644 --- a/test/threads_non_blocking_thread_pool.cpp +++ b/test/threads_non_blocking_thread_pool.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS #include "main.h" diff --git a/test/threads_runqueue.cpp b/test/threads_runqueue.cpp index 4847eaeba..0a4d79435 100644 --- a/test/threads_runqueue.cpp +++ b/test/threads_runqueue.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS #include diff --git a/test/triangular.cpp b/test/triangular.cpp index 62bb7742c..c23c68271 100644 --- a/test/triangular.cpp +++ b/test/triangular.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(EIGEN_TEST_PART_100) || defined(EIGEN_TEST_PART_ALL) #define EIGEN_NO_DEPRECATED_WARNING diff --git a/test/tuple_test.cpp b/test/tuple_test.cpp index 33bebd293..29c4105ab 100644 --- a/test/tuple_test.cpp +++ b/test/tuple_test.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/type_alias.cpp b/test/type_alias.cpp index 1619d839a..c3ec56c15 100644 --- a/test/type_alias.cpp +++ b/test/type_alias.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/umeyama.cpp b/test/umeyama.cpp index 2f6fe34ec..bd76bf94d 100644 --- a/test/umeyama.cpp +++ b/test/umeyama.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/umfpack_support.cpp b/test/umfpack_support.cpp index 94aa5cc97..48570bbad 100644 --- a/test/umfpack_support.cpp +++ b/test/umfpack_support.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_NO_DEBUG_SMALL_PRODUCT_BLOCKS #include "sparse_solver.h" diff --git a/test/unalignedcount.cpp b/test/unalignedcount.cpp index f508b1aaa..fc0ba4598 100644 --- a/test/unalignedcount.cpp +++ b/test/unalignedcount.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 static int nb_load; static int nb_loadu; diff --git a/test/unaryview.cpp b/test/unaryview.cpp index 58e95d69d..a2d1ca1da 100644 --- a/test/unaryview.cpp +++ b/test/unaryview.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/upperbidiagonalization.cpp b/test/upperbidiagonalization.cpp index ce4647f79..e2cd7117a 100644 --- a/test/upperbidiagonalization.cpp +++ b/test/upperbidiagonalization.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/test/vectorization_logic.cpp b/test/vectorization_logic.cpp index dc1a5c758..1bdeb9f4a 100644 --- a/test/vectorization_logic.cpp +++ b/test/vectorization_logic.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifdef EIGEN_TEST_PART_1 #define EIGEN_UNALIGNED_VECTORIZE 1 diff --git a/test/vectorwiseop.cpp b/test/vectorwiseop.cpp index 0d1896bfb..ec2c2764a 100644 --- a/test/vectorwiseop.cpp +++ b/test/vectorwiseop.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define TEST_ENABLE_TEMPORARY_TRACKING diff --git a/test/visitor.cpp b/test/visitor.cpp index a37b35808..d0df0887a 100644 --- a/test/visitor.cpp +++ b/test/visitor.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/test/zerosized.cpp b/test/zerosized.cpp index 700132796..3337cc5e8 100644 --- a/test/zerosized.cpp +++ b/test/zerosized.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/CMakeLists.txt b/unsupported/CMakeLists.txt index 390460181..cb14e1e6d 100644 --- a/unsupported/CMakeLists.txt +++ b/unsupported/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + add_subdirectory(Eigen) if(EIGEN_BUILD_DOC) add_subdirectory(doc EXCLUDE_FROM_ALL) diff --git a/unsupported/Eigen/AdolcForward b/unsupported/Eigen/AdolcForward index 7da999727..d19d80f94 100644 --- a/unsupported/Eigen/AdolcForward +++ b/unsupported/Eigen/AdolcForward @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ADLOC_FORWARD_MODULE_H #define EIGEN_ADLOC_FORWARD_MODULE_H diff --git a/unsupported/Eigen/AlignedVector3 b/unsupported/Eigen/AlignedVector3 index 8301ef072..a659a32bc 100644 --- a/unsupported/Eigen/AlignedVector3 +++ b/unsupported/Eigen/AlignedVector3 @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ALIGNED_VECTOR3_MODULE_H #define EIGEN_ALIGNED_VECTOR3_MODULE_H diff --git a/unsupported/Eigen/ArpackSupport b/unsupported/Eigen/ArpackSupport index 3987f7c43..2a6313f6c 100644 --- a/unsupported/Eigen/ArpackSupport +++ b/unsupported/Eigen/ArpackSupport @@ -5,6 +5,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARPACKSUPPORT_MODULE_H #define EIGEN_ARPACKSUPPORT_MODULE_H diff --git a/unsupported/Eigen/AutoDiff b/unsupported/Eigen/AutoDiff index 0480c69ee..0014c2f5e 100644 --- a/unsupported/Eigen/AutoDiff +++ b/unsupported/Eigen/AutoDiff @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_AUTODIFF_MODULE_H #define EIGEN_AUTODIFF_MODULE_H diff --git a/unsupported/Eigen/BVH b/unsupported/Eigen/BVH index 58fb72fb2..d8250021f 100644 --- a/unsupported/Eigen/BVH +++ b/unsupported/Eigen/BVH @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BVH_MODULE_H #define EIGEN_BVH_MODULE_H diff --git a/unsupported/Eigen/CMakeLists.txt b/unsupported/Eigen/CMakeLists.txt index 1517ba956..d31c72b21 100644 --- a/unsupported/Eigen/CMakeLists.txt +++ b/unsupported/Eigen/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + set(Eigen_HEADERS AdolcForward AlignedVector3 diff --git a/unsupported/Eigen/CXX11/CMakeLists.txt b/unsupported/Eigen/CXX11/CMakeLists.txt index 385ed240c..7ab9e36e4 100644 --- a/unsupported/Eigen/CXX11/CMakeLists.txt +++ b/unsupported/Eigen/CXX11/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 set(Eigen_CXX11_HEADERS Tensor TensorSymmetry ThreadPool) install(FILES diff --git a/unsupported/Eigen/CXX11/Tensor b/unsupported/Eigen/CXX11/Tensor index 290a0c029..7cd3e8939 100644 --- a/unsupported/Eigen/CXX11/Tensor +++ b/unsupported/Eigen/CXX11/Tensor @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // #ifndef EIGEN_CXX11_TENSOR_MODULE_H #define EIGEN_CXX11_TENSOR_MODULE_H diff --git a/unsupported/Eigen/CXX11/TensorSymmetry b/unsupported/Eigen/CXX11/TensorSymmetry index 44ee6a81e..456ea8b68 100644 --- a/unsupported/Eigen/CXX11/TensorSymmetry +++ b/unsupported/Eigen/CXX11/TensorSymmetry @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSORSYMMETRY_MODULE_H #define EIGEN_CXX11_TENSORSYMMETRY_MODULE_H diff --git a/unsupported/Eigen/CXX11/ThreadPool b/unsupported/Eigen/CXX11/ThreadPool index d48733376..3d85f7651 100644 --- a/unsupported/Eigen/CXX11/ThreadPool +++ b/unsupported/Eigen/CXX11/ThreadPool @@ -1 +1,3 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "../../../Eigen/ThreadPool" // IWYU pragma: export diff --git a/unsupported/Eigen/CXX11/src/Tensor/InternalHeaderCheck.h b/unsupported/Eigen/CXX11/src/Tensor/InternalHeaderCheck.h index 9e4c1ed9c..f91bedfcd 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/InternalHeaderCheck.h +++ b/unsupported/Eigen/CXX11/src/Tensor/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_CXX11_TENSOR_MODULE_H #error "Please include unsupported/Eigen/CXX11/Tensor instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h index 9dc95916c..f47f7c760 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +++ b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_H #define EIGEN_CXX11_TENSOR_TENSOR_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h b/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h index f272354c4..c70d5d111 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_ARG_MAX_H #define EIGEN_CXX11_TENSOR_TENSOR_ARG_MAX_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h index 8a57576b7..d29063f9f 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_ASSIGN_H #define EIGEN_CXX11_TENSOR_TENSOR_ASSIGN_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h index fc3f3b78a..20e4c4956 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_BASE_H #define EIGEN_CXX11_TENSOR_TENSOR_BASE_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h index 0b068a7c9..4b1e2618d 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_BLOCK_H #define EIGEN_CXX11_TENSOR_TENSOR_BLOCK_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h b/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h index 9ef4bbce0..81aaf8a6b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_BROADCASTING_H #define EIGEN_CXX11_TENSOR_TENSOR_BROADCASTING_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h index 5db563d60..3db852a9b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CHIPPING_H #define EIGEN_CXX11_TENSOR_TENSOR_CHIPPING_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h index e9c130dce..2799eea32 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONCATENATION_H #define EIGEN_CXX11_TENSOR_TENSOR_CONCATENATION_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h index 6f1c9744e..a1bc1deb9 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_H #define EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h index 7fbe30a9f..f37a5dbd3 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_BLOCKING_H #define EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_BLOCKING_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h index dbea8aa92..84fb19781 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #if defined(__clang__) || defined(__GNUC__) #warning \ diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h index 780e8961e..06dec4f7c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_GPU_H #define EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_GPU_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h index 6367db964..f86852d4f 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_MAPPER_H #define EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_MAPPER_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h index c7203a930..eb2d149d4 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h @@ -7,6 +7,7 @@ // // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************** * TensorContractionSycl.h diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h index 288d79f1f..83defc1b9 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_THREAD_POOL_H #define EIGEN_CXX11_TENSOR_TENSOR_CONTRACTION_THREAD_POOL_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h index 5e4a586d8..e461eef58 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONVERSION_H #define EIGEN_CXX11_TENSOR_TENSOR_CONVERSION_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 26984b690..162f2bdd1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CONVOLUTION_H #define EIGEN_CXX11_TENSOR_TENSOR_CONVOLUTION_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h index 88ae9f4bb..879ba4bfe 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h @@ -6,6 +6,7 @@ // Luke Iwanski Codeplay Software Ltd. // Contact: // Copyright (C) 2016 Benoit Steiner +// SPDX-License-Identifier: MPL-2.0 // // This Source Code Form is subject to the terms of the Mozilla diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h b/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h index c0f13337a..05465db5e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_COST_MODEL_H #define EIGEN_CXX11_TENSOR_TENSOR_COST_MODEL_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h b/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h index c8e1df733..bf1a1b472 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_CUSTOM_OP_H #define EIGEN_CXX11_TENSOR_TENSOR_CUSTOM_OP_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h index 9898fdcfb..e57f12ff8 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H #define EIGEN_CXX11_TENSOR_TENSOR_DEVICE_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h index c2c8ed002..a1b94367c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #if defined(__clang__) || defined(__GNUC__) #warning \ diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h index eaaf33215..1c1ad45f3 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_DEVICE_DEFAULT_H #define EIGEN_CXX11_TENSOR_TENSOR_DEVICE_DEFAULT_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h index 4c24bc1f0..6291176d8 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(EIGEN_USE_GPU) && !defined(EIGEN_CXX11_TENSOR_TENSOR_DEVICE_GPU_H) #define EIGEN_CXX11_TENSOR_TENSOR_DEVICE_GPU_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h index b291fed66..c078736fa 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h @@ -6,6 +6,7 @@ // Luke Iwanski Codeplay Software Ltd. // Contact: // Copyright (C) 2016 Benoit Steiner +// SPDX-License-Identifier: MPL-2.0 // // This Source Code Form is subject to the terms of the Mozilla diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h index c95c8f223..a94afc646 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(EIGEN_USE_THREADS) && !defined(EIGEN_CXX11_TENSOR_TENSOR_DEVICE_THREAD_POOL_H) #define EIGEN_CXX11_TENSOR_TENSOR_DEVICE_THREAD_POOL_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h index 315b556ae..03d2ea0d5 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_DIMENSION_LIST_H #define EIGEN_CXX11_TENSOR_TENSOR_DIMENSION_LIST_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h index 06d4dfd30..58acb697d 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_DIMENSIONS_H #define EIGEN_CXX11_TENSOR_TENSOR_DIMENSIONS_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h b/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h index 8f1e4c4ba..01f93f30c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_EVAL_TO_H #define EIGEN_CXX11_TENSOR_TENSOR_EVAL_TO_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h index d864fb464..3a411a1b7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_EVALUATOR_H #define EIGEN_CXX11_TENSOR_TENSOR_EVALUATOR_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h index fe4b38c48..3039e2db7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_EXECUTOR_H #define EIGEN_CXX11_TENSOR_TENSOR_EXECUTOR_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h b/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h index 5f4c72367..bb205b45c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_EXPR_H #define EIGEN_CXX11_TENSOR_TENSOR_EXPR_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h index f5d1b2da3..e4d66a1b3 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_FFT_H #define EIGEN_CXX11_TENSOR_TENSOR_FFT_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h index 7f229cb06..0a0d51597 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_FIXED_SIZE_H #define EIGEN_CXX11_TENSOR_TENSOR_FIXED_SIZE_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h b/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h index d0fbfb38a..36eba88be 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_FORCED_EVAL_H #define EIGEN_CXX11_TENSOR_TENSOR_FORCED_EVAL_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h b/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h index 49c20a4e2..f1c652513 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_FORWARD_DECLARATIONS_H #define EIGEN_CXX11_TENSOR_TENSOR_FORWARD_DECLARATIONS_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h index 7a87594c5..50a65ed05 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_FUNCTORS_H #define EIGEN_CXX11_TENSOR_TENSOR_FUNCTORS_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h b/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h index b038eaf78..8fdac2213 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_GENERATOR_H #define EIGEN_CXX11_TENSOR_TENSOR_GENERATOR_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h index 6a1240cfa..5ffd664c8 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H #define EIGEN_CXX11_TENSOR_TENSOR_GLOBAL_FUNCTIONS_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h b/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h index 3073272a2..adb637afe 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(EIGEN_USE_GPU) && !defined(EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H) #define EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h b/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h index 509bcee0b..346e6febe 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #if defined(EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h index 0bdb1ab79..7e3ae6516 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_IO_H #define EIGEN_CXX11_TENSOR_TENSOR_IO_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h index 291301a81..298e0695e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_IMAGE_PATCH_H #define EIGEN_CXX11_TENSOR_TENSOR_IMAGE_PATCH_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 69ab6840c..30f750870 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_INDEX_LIST_H #define EIGEN_CXX11_TENSOR_TENSOR_INDEX_LIST_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h b/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h index 5b0fca8b6..83e1d05bf 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_INFLATION_H #define EIGEN_CXX11_TENSOR_TENSOR_INFLATION_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h b/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h index 85cf492a0..5c0f1135f 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_INITIALIZER_H #define EIGEN_CXX11_TENSOR_TENSOR_INITIALIZER_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h index fddc64822..f6b6b26e3 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_INTDIV_H #define EIGEN_CXX11_TENSOR_TENSOR_INTDIV_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h b/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h index 43f4bcb46..57d40042b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_LAYOUT_SWAP_H #define EIGEN_CXX11_TENSOR_TENSOR_LAYOUT_SWAP_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h index f8bbcfee7..32f6d0883 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_META_MACROS_H #define EIGEN_CXX11_TENSOR_TENSOR_META_MACROS_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h index 191413b7d..34d3b4e1a 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_MAP_H #define EIGEN_CXX11_TENSOR_TENSOR_MAP_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h index 8c2bb2ef9..496b4d5cc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_META_H #define EIGEN_CXX11_TENSOR_TENSOR_META_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h index d790f35bb..03461b674 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_MORPHING_H #define EIGEN_CXX11_TENSOR_TENSOR_MORPHING_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h b/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h index 0e8f54a80..1cd34dfb1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_PADDING_H #define EIGEN_CXX11_TENSOR_TENSOR_PADDING_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h b/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h index 7b33f1fe1..3ce4abf5c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_PATCH_H #define EIGEN_CXX11_TENSOR_TENSOR_PATCH_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h b/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h index c9c613a14..543b8ecf1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_RANDOM_H #define EIGEN_CXX11_TENSOR_TENSOR_RANDOM_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h index 2ecbb7c20..c76910ad0 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_REDUCTION_H #define EIGEN_CXX11_TENSOR_TENSOR_REDUCTION_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h index c5273e9b8..46be075f3 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_REDUCTION_GPU_H #define EIGEN_CXX11_TENSOR_TENSOR_REDUCTION_GPU_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h index 6944c0337..75c5d19c7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************** * TensorReductionSycl.h diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h b/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h index 7061f5120..6120106b4 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_REF_H #define EIGEN_CXX11_TENSOR_TENSOR_REF_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h b/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h index a81a2babf..488a969ae 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_REVERSE_H #define EIGEN_CXX11_TENSOR_TENSOR_REVERSE_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorRoll.h b/unsupported/Eigen/CXX11/src/Tensor/TensorRoll.h index d5b203ab6..0f96858bd 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorRoll.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorRoll.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_ROLL_H #define EIGEN_CXX11_TENSOR_TENSOR_ROLL_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h b/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h index d16d1490c..0c10c7321 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_SCAN_H #define EIGEN_CXX11_TENSOR_TENSOR_SCAN_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h index 30fde9197..ad60f41a6 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /***************************************************************** * TensorScanSycl.h diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h b/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h index 11ce0fb4e..86cdfd38e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_SHUFFLING_H #define EIGEN_CXX11_TENSOR_TENSOR_SHUFFLING_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h b/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h index 964797613..6f0eecb8c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSORSTORAGE_H #define EIGEN_CXX11_TENSOR_TENSORSTORAGE_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h b/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h index 2924abba0..04bf52c28 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_STRIDING_H #define EIGEN_CXX11_TENSOR_TENSOR_STRIDING_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h b/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h index 035d94e54..0e92cb88a 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_TRACE_H #define EIGEN_CXX11_TENSOR_TENSOR_TRACE_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h index 017b4ff63..d8ff60faf 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_TRAITS_H #define EIGEN_CXX11_TENSOR_TENSOR_TRAITS_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h index 99e51c577..35114d505 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_UINT128_H #define EIGEN_CXX11_TENSOR_TENSOR_UINT128_H diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h b/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h index 2f0c13541..95a11f7d0 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h @@ -1,5 +1,6 @@ // This file is part of Eigen, a lightweight C++ template library // for linear algebra. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSOR_TENSOR_VOLUME_PATCH_H #define EIGEN_CXX11_TENSOR_TENSOR_VOLUME_PATCH_H diff --git a/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h b/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h index 51c0ad665..ac23babf0 100644 --- a/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +++ b/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSORSYMMETRY_DYNAMICSYMMETRY_H #define EIGEN_CXX11_TENSORSYMMETRY_DYNAMICSYMMETRY_H diff --git a/unsupported/Eigen/CXX11/src/TensorSymmetry/InternalHeaderCheck.h b/unsupported/Eigen/CXX11/src/TensorSymmetry/InternalHeaderCheck.h index b1b2e14c6..18105a3b5 100644 --- a/unsupported/Eigen/CXX11/src/TensorSymmetry/InternalHeaderCheck.h +++ b/unsupported/Eigen/CXX11/src/TensorSymmetry/InternalHeaderCheck.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSORSYMMETRY_MODULE_H #error \ "Please include unsupported/Eigen/CXX11/TensorSymmetry instead of including headers inside the src directory directly." diff --git a/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h b/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h index 3f9bb51e7..4c950509f 100644 --- a/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +++ b/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSORSYMMETRY_STATICSYMMETRY_H #define EIGEN_CXX11_TENSORSYMMETRY_STATICSYMMETRY_H diff --git a/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h b/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h index 2d3ff466f..3d8d3e2c0 100644 --- a/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +++ b/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSORSYMMETRY_SYMMETRY_H #define EIGEN_CXX11_TENSORSYMMETRY_SYMMETRY_H diff --git a/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h b/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h index aa16f3cd4..3d19e9111 100644 --- a/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +++ b/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11_TENSORSYMMETRY_TEMPLATEGROUPTHEORY_H #define EIGEN_CXX11_TENSORSYMMETRY_TEMPLATEGROUPTHEORY_H diff --git a/unsupported/Eigen/CXX11/src/util/CXX11Meta.h b/unsupported/Eigen/CXX11/src/util/CXX11Meta.h index 74b47ce1a..9e16c4f70 100644 --- a/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +++ b/unsupported/Eigen/CXX11/src/util/CXX11Meta.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11META_H #define EIGEN_CXX11META_H diff --git a/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h b/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h index e3be69d85..637df3c42 100644 --- a/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +++ b/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_CXX11WORKAROUNDS_H #define EIGEN_CXX11WORKAROUNDS_H diff --git a/unsupported/Eigen/EulerAngles b/unsupported/Eigen/EulerAngles index e95dd81a6..3c794a615 100644 --- a/unsupported/Eigen/EulerAngles +++ b/unsupported/Eigen/EulerAngles @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EULERANGLES_MODULE_H #define EIGEN_EULERANGLES_MODULE_H diff --git a/unsupported/Eigen/FFT b/unsupported/Eigen/FFT index f32ad36aa..0b6da7894 100644 --- a/unsupported/Eigen/FFT +++ b/unsupported/Eigen/FFT @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_FFT_MODULE_H #define EIGEN_FFT_MODULE_H diff --git a/unsupported/Eigen/IterativeSolvers b/unsupported/Eigen/IterativeSolvers index 7efb29966..e506a725d 100644 --- a/unsupported/Eigen/IterativeSolvers +++ b/unsupported/Eigen/IterativeSolvers @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ITERATIVE_SOLVERS_MODULE_H #define EIGEN_ITERATIVE_SOLVERS_MODULE_H diff --git a/unsupported/Eigen/KroneckerProduct b/unsupported/Eigen/KroneckerProduct index 80432ea67..0bb79b2f5 100644 --- a/unsupported/Eigen/KroneckerProduct +++ b/unsupported/Eigen/KroneckerProduct @@ -5,6 +5,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_KRONECKER_PRODUCT_MODULE_H #define EIGEN_KRONECKER_PRODUCT_MODULE_H diff --git a/unsupported/Eigen/LevenbergMarquardt b/unsupported/Eigen/LevenbergMarquardt index 72c6da2e6..efba5f066 100644 --- a/unsupported/Eigen/LevenbergMarquardt +++ b/unsupported/Eigen/LevenbergMarquardt @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LEVENBERGMARQUARDT_MODULE_H #define EIGEN_LEVENBERGMARQUARDT_MODULE_H diff --git a/unsupported/Eigen/MPRealSupport b/unsupported/Eigen/MPRealSupport index 322ff45fb..4ea676452 100644 --- a/unsupported/Eigen/MPRealSupport +++ b/unsupported/Eigen/MPRealSupport @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MPREALSUPPORT_MODULE_H #define EIGEN_MPREALSUPPORT_MODULE_H diff --git a/unsupported/Eigen/MatrixFunctions b/unsupported/Eigen/MatrixFunctions index 845ee0bb3..aa2137e3e 100644 --- a/unsupported/Eigen/MatrixFunctions +++ b/unsupported/Eigen/MatrixFunctions @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_FUNCTIONS_MODULE_H #define EIGEN_MATRIX_FUNCTIONS_MODULE_H diff --git a/unsupported/Eigen/NNLS b/unsupported/Eigen/NNLS index 2923f5962..4a71794c5 100644 --- a/unsupported/Eigen/NNLS +++ b/unsupported/Eigen/NNLS @@ -6,6 +6,8 @@ * 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/. + * SPDX-License-Identifier: MPL-2.0 + */ /** \defgroup nnls Non-Negative Least Squares (NNLS) Module diff --git a/unsupported/Eigen/NonLinearOptimization b/unsupported/Eigen/NonLinearOptimization index 486dd4a59..12fd8959e 100644 --- a/unsupported/Eigen/NonLinearOptimization +++ b/unsupported/Eigen/NonLinearOptimization @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NONLINEAROPTIMIZATION_MODULE_H #define EIGEN_NONLINEAROPTIMIZATION_MODULE_H diff --git a/unsupported/Eigen/NumericalDiff b/unsupported/Eigen/NumericalDiff index ed236c860..36caa6ec0 100644 --- a/unsupported/Eigen/NumericalDiff +++ b/unsupported/Eigen/NumericalDiff @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NUMERICALDIFF_MODULE_H #define EIGEN_NUMERICALDIFF_MODULE_H diff --git a/unsupported/Eigen/OpenGLSupport b/unsupported/Eigen/OpenGLSupport index f22ae5653..8b4143732 100644 --- a/unsupported/Eigen/OpenGLSupport +++ b/unsupported/Eigen/OpenGLSupport @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_OPENGL_MODULE_H #define EIGEN_OPENGL_MODULE_H diff --git a/unsupported/Eigen/Polynomials b/unsupported/Eigen/Polynomials index aa9aa8eb2..523684ec7 100644 --- a/unsupported/Eigen/Polynomials +++ b/unsupported/Eigen/Polynomials @@ -5,6 +5,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_POLYNOMIALS_MODULE_H #define EIGEN_POLYNOMIALS_MODULE_H diff --git a/unsupported/Eigen/SparseExtra b/unsupported/Eigen/SparseExtra index 00a87c566..0758beb59 100644 --- a/unsupported/Eigen/SparseExtra +++ b/unsupported/Eigen/SparseExtra @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_EXTRA_MODULE_H #define EIGEN_SPARSE_EXTRA_MODULE_H diff --git a/unsupported/Eigen/SpecialFunctions b/unsupported/Eigen/SpecialFunctions index 4f7e59935..66d418038 100644 --- a/unsupported/Eigen/SpecialFunctions +++ b/unsupported/Eigen/SpecialFunctions @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPECIALFUNCTIONS_MODULE_H #define EIGEN_SPECIALFUNCTIONS_MODULE_H diff --git a/unsupported/Eigen/Splines b/unsupported/Eigen/Splines index 632095deb..c7daac406 100644 --- a/unsupported/Eigen/Splines +++ b/unsupported/Eigen/Splines @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPLINES_MODULE_H #define EIGEN_SPLINES_MODULE_H diff --git a/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h b/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h index a83bdc310..ba1a38c40 100644 --- a/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +++ b/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_AUTODIFF_JACOBIAN_H #define EIGEN_AUTODIFF_JACOBIAN_H diff --git a/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h b/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h index 785cd4a56..a2982e9d8 100644 --- a/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +++ b/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_AUTODIFF_SCALAR_H #define EIGEN_AUTODIFF_SCALAR_H diff --git a/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h b/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h index 623145670..39cadfc11 100644 --- a/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +++ b/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_AUTODIFF_VECTOR_H #define EIGEN_AUTODIFF_VECTOR_H diff --git a/unsupported/Eigen/src/AutoDiff/CoherentPadOp.h b/unsupported/Eigen/src/AutoDiff/CoherentPadOp.h index 7d3a3fb36..cffaf2e73 100644 --- a/unsupported/Eigen/src/AutoDiff/CoherentPadOp.h +++ b/unsupported/Eigen/src/AutoDiff/CoherentPadOp.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COHERENT_PAD_OP_H #define EIGEN_COHERENT_PAD_OP_H diff --git a/unsupported/Eigen/src/AutoDiff/InternalHeaderCheck.h b/unsupported/Eigen/src/AutoDiff/InternalHeaderCheck.h index 1584337c6..a7c6b6974 100644 --- a/unsupported/Eigen/src/AutoDiff/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/AutoDiff/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_AUTODIFF_MODULE_H #error "Please include unsupported/Eigen/AutoDiff instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/BVH/BVAlgorithms.h b/unsupported/Eigen/src/BVH/BVAlgorithms.h index d9e41da4f..f9255e47f 100644 --- a/unsupported/Eigen/src/BVH/BVAlgorithms.h +++ b/unsupported/Eigen/src/BVH/BVAlgorithms.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BVALGORITHMS_H #define EIGEN_BVALGORITHMS_H diff --git a/unsupported/Eigen/src/BVH/InternalHeaderCheck.h b/unsupported/Eigen/src/BVH/InternalHeaderCheck.h index 7aade9b02..14f7cbc83 100644 --- a/unsupported/Eigen/src/BVH/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/BVH/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_BVH_MODULE_H #error "Please include unsupported/Eigen/BVH instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/BVH/KdBVH.h b/unsupported/Eigen/src/BVH/KdBVH.h index d556783f7..1b3906016 100644 --- a/unsupported/Eigen/src/BVH/KdBVH.h +++ b/unsupported/Eigen/src/BVH/KdBVH.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef KDBVH_H_INCLUDED #define KDBVH_H_INCLUDED diff --git a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h index 54db9bf29..1382b4451 100644 --- a/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +++ b/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ARPACKGENERALIZEDSELFADJOINTEIGENSOLVER_H #define EIGEN_ARPACKGENERALIZEDSELFADJOINTEIGENSOLVER_H diff --git a/unsupported/Eigen/src/Eigenvalues/InternalHeaderCheck.h b/unsupported/Eigen/src/Eigenvalues/InternalHeaderCheck.h index c00cb576f..9e5551b61 100644 --- a/unsupported/Eigen/src/Eigenvalues/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/Eigenvalues/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_EIGENVALUES_MODULE_H #error "Please include unsupported/Eigen/Eigenvalues instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/EulerAngles/CMakeLists.txt b/unsupported/Eigen/src/EulerAngles/CMakeLists.txt index 22088eb30..f3d84e902 100644 --- a/unsupported/Eigen/src/EulerAngles/CMakeLists.txt +++ b/unsupported/Eigen/src/EulerAngles/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + file(GLOB Eigen_EulerAngles_SRCS "*.h") install(FILES diff --git a/unsupported/Eigen/src/EulerAngles/EulerAngles.h b/unsupported/Eigen/src/EulerAngles/EulerAngles.h index 14ecd0457..d99c4a8e0 100644 --- a/unsupported/Eigen/src/EulerAngles/EulerAngles.h +++ b/unsupported/Eigen/src/EulerAngles/EulerAngles.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EULERANGLESCLASS_H // TODO: Fix previous "EIGEN_EULERANGLES_H" definition? #define EIGEN_EULERANGLESCLASS_H diff --git a/unsupported/Eigen/src/EulerAngles/EulerSystem.h b/unsupported/Eigen/src/EulerAngles/EulerSystem.h index 98f91ea9c..e5a08af51 100644 --- a/unsupported/Eigen/src/EulerAngles/EulerSystem.h +++ b/unsupported/Eigen/src/EulerAngles/EulerSystem.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_EULERSYSTEM_H #define EIGEN_EULERSYSTEM_H diff --git a/unsupported/Eigen/src/EulerAngles/InternalHeaderCheck.h b/unsupported/Eigen/src/EulerAngles/InternalHeaderCheck.h index 0c00a306b..b0dc69425 100644 --- a/unsupported/Eigen/src/EulerAngles/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/EulerAngles/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_EULERANGLES_MODULE_H #error "Please include unsupported/Eigen/EulerAngles instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/FFT/InternalHeaderCheck.h b/unsupported/Eigen/src/FFT/InternalHeaderCheck.h index 801e24548..210f63a27 100644 --- a/unsupported/Eigen/src/FFT/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/FFT/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_FFT_MODULE_H #error "Please include unsupported/Eigen/FFT instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/FFT/ei_fftw_impl.h b/unsupported/Eigen/src/FFT/ei_fftw_impl.h index 0b9ad3dac..f71261699 100644 --- a/unsupported/Eigen/src/FFT/ei_fftw_impl.h +++ b/unsupported/Eigen/src/FFT/ei_fftw_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/FFT/ei_imklfft_impl.h b/unsupported/Eigen/src/FFT/ei_imklfft_impl.h index 0c5bb2698..9700a1c25 100644 --- a/unsupported/Eigen/src/FFT/ei_imklfft_impl.h +++ b/unsupported/Eigen/src/FFT/ei_imklfft_impl.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/unsupported/Eigen/src/FFT/ei_kissfft_impl.h b/unsupported/Eigen/src/FFT/ei_kissfft_impl.h index c201d8047..5f6f45de7 100644 --- a/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +++ b/unsupported/Eigen/src/FFT/ei_kissfft_impl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/FFT/ei_pocketfft_impl.h b/unsupported/Eigen/src/FFT/ei_pocketfft_impl.h index 918ceb05b..45cd37505 100644 --- a/unsupported/Eigen/src/FFT/ei_pocketfft_impl.h +++ b/unsupported/Eigen/src/FFT/ei_pocketfft_impl.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 using namespace pocketfft; using namespace pocketfft::detail; diff --git a/unsupported/Eigen/src/IterativeSolvers/BiCGSTABL.h b/unsupported/Eigen/src/IterativeSolvers/BiCGSTABL.h index 0469a5a90..3114da53c 100644 --- a/unsupported/Eigen/src/IterativeSolvers/BiCGSTABL.h +++ b/unsupported/Eigen/src/IterativeSolvers/BiCGSTABL.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* diff --git a/unsupported/Eigen/src/IterativeSolvers/DGMRES.h b/unsupported/Eigen/src/IterativeSolvers/DGMRES.h index 182bd2e07..5e9d930c0 100644 --- a/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/DGMRES.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_DGMRES_H #define EIGEN_DGMRES_H diff --git a/unsupported/Eigen/src/IterativeSolvers/GMRES.h b/unsupported/Eigen/src/IterativeSolvers/GMRES.h index 238d0ec6e..b600f4b76 100644 --- a/unsupported/Eigen/src/IterativeSolvers/GMRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/GMRES.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GMRES_H #define EIGEN_GMRES_H diff --git a/unsupported/Eigen/src/IterativeSolvers/IDRS.h b/unsupported/Eigen/src/IterativeSolvers/IDRS.h index 09568e115..48f1f4ecb 100644 --- a/unsupported/Eigen/src/IterativeSolvers/IDRS.h +++ b/unsupported/Eigen/src/IterativeSolvers/IDRS.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_IDRS_H #define EIGEN_IDRS_H diff --git a/unsupported/Eigen/src/IterativeSolvers/IDRSTABL.h b/unsupported/Eigen/src/IterativeSolvers/IDRSTABL.h index e55c3b3cc..ae15f8a99 100644 --- a/unsupported/Eigen/src/IterativeSolvers/IDRSTABL.h +++ b/unsupported/Eigen/src/IterativeSolvers/IDRSTABL.h @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 /* The IDR(S)Stab(L) method is a combination of IDR(S) and BiCGStab(L) diff --git a/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h b/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h index 1a2edcab0..0c8b5e471 100644 --- a/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +++ b/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_INCOMPLETE_LU_H #define EIGEN_INCOMPLETE_LU_H diff --git a/unsupported/Eigen/src/IterativeSolvers/InternalHeaderCheck.h b/unsupported/Eigen/src/IterativeSolvers/InternalHeaderCheck.h index 3d6ee41c0..e02a0f1a2 100644 --- a/unsupported/Eigen/src/IterativeSolvers/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/IterativeSolvers/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_ITERATIVE_SOLVERS_MODULE_H #error \ "Please include unsupported/Eigen/IterativeSolvers instead of including headers inside the src directory directly." diff --git a/unsupported/Eigen/src/IterativeSolvers/MINRES.h b/unsupported/Eigen/src/IterativeSolvers/MINRES.h index 9daf5686a..872757d0a 100644 --- a/unsupported/Eigen/src/IterativeSolvers/MINRES.h +++ b/unsupported/Eigen/src/IterativeSolvers/MINRES.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MINRES_H #define EIGEN_MINRES_H diff --git a/unsupported/Eigen/src/IterativeSolvers/Scaling.h b/unsupported/Eigen/src/IterativeSolvers/Scaling.h index ee23e29bf..51d28ba1d 100644 --- a/unsupported/Eigen/src/IterativeSolvers/Scaling.h +++ b/unsupported/Eigen/src/IterativeSolvers/Scaling.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_ITERSCALING_H #define EIGEN_ITERSCALING_H diff --git a/unsupported/Eigen/src/KroneckerProduct/InternalHeaderCheck.h b/unsupported/Eigen/src/KroneckerProduct/InternalHeaderCheck.h index 3cf30d9fc..cf65c6b99 100644 --- a/unsupported/Eigen/src/KroneckerProduct/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/KroneckerProduct/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_KRONECKER_PRODUCT_MODULE_H #error \ "Please include unsupported/Eigen/KroneckerProduct instead of including headers inside the src directory directly." diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 1d29f2fca..f5862e6f0 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef KRONECKER_TENSOR_PRODUCT_H #define KRONECKER_TENSOR_PRODUCT_H diff --git a/unsupported/Eigen/src/MatrixFunctions/InternalHeaderCheck.h b/unsupported/Eigen/src/MatrixFunctions/InternalHeaderCheck.h index 4fc840efa..b16e94f14 100644 --- a/unsupported/Eigen/src/MatrixFunctions/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/MatrixFunctions/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_MATRIX_FUNCTIONS_MODULE_H #error \ "Please include unsupported/Eigen/MatrixFunctions instead of including headers inside the src directory directly." diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h index ff955e1d7..2aa7f4e74 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_EXPONENTIAL #define EIGEN_MATRIX_EXPONENTIAL diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h b/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h index 68336a525..9083dd297 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_FUNCTION_H #define EIGEN_MATRIX_FUNCTION_H diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h b/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h index 4228166d1..202f13aa4 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_LOGARITHM #define EIGEN_MATRIX_LOGARITHM diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h b/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h index bff619a9c..f649e7c85 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_POWER #define EIGEN_MATRIX_POWER diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h b/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h index b11eb7411..ef6a0dcb3 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_MATRIX_SQUARE_ROOT #define EIGEN_MATRIX_SQUARE_ROOT diff --git a/unsupported/Eigen/src/MatrixFunctions/StemFunction.h b/unsupported/Eigen/src/MatrixFunctions/StemFunction.h index 8050c37cb..dad0c387c 100644 --- a/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +++ b/unsupported/Eigen/src/MatrixFunctions/StemFunction.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_STEM_FUNCTION #define EIGEN_STEM_FUNCTION diff --git a/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h b/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h index 079772e6c..5db54f50d 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +++ b/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_HYBRIDNONLINEARSOLVER_H #define EIGEN_HYBRIDNONLINEARSOLVER_H diff --git a/unsupported/Eigen/src/NonLinearOptimization/InternalHeaderCheck.h b/unsupported/Eigen/src/NonLinearOptimization/InternalHeaderCheck.h index d06970f51..f51597efe 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/NonLinearOptimization/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_NONLINEAROPTIMIZATION_MODULE_H #error \ "Please include unsupported/Eigen/NonLinearOptimization instead of including headers inside the src directory directly." diff --git a/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h b/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h index 808fd7d8f..e74b38f4c 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +++ b/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_LEVENBERGMARQUARDT__H #define EIGEN_LEVENBERGMARQUARDT__H diff --git a/unsupported/Eigen/src/NonLinearOptimization/chkder.h b/unsupported/Eigen/src/NonLinearOptimization/chkder.h index a9311ff44..3f8c84911 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/chkder.h +++ b/unsupported/Eigen/src/NonLinearOptimization/chkder.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #define chkder_log10e 0.43429448190325182765 #define chkder_factor 100. diff --git a/unsupported/Eigen/src/NonLinearOptimization/covar.h b/unsupported/Eigen/src/NonLinearOptimization/covar.h index 311d99825..0928d29cd 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/covar.h +++ b/unsupported/Eigen/src/NonLinearOptimization/covar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NonLinearOptimization/dogleg.h b/unsupported/Eigen/src/NonLinearOptimization/dogleg.h index d1abb9e37..34b2b96f4 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +++ b/unsupported/Eigen/src/NonLinearOptimization/dogleg.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h b/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h index 70da3f96d..3fa3fac02 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +++ b/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NonLinearOptimization/lmpar.h b/unsupported/Eigen/src/NonLinearOptimization/lmpar.h index 14202012a..c347841e9 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +++ b/unsupported/Eigen/src/NonLinearOptimization/lmpar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h b/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h index 2e4d03633..119ef1a01 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +++ b/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h b/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h index ea4131599..9a8386e36 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +++ b/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NonLinearOptimization/r1updt.h b/unsupported/Eigen/src/NonLinearOptimization/r1updt.h index 4bf7ee5ee..40ef35e8f 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +++ b/unsupported/Eigen/src/NonLinearOptimization/r1updt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h b/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h index 8ae584870..122305d3b 100644 --- a/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +++ b/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 // IWYU pragma: private #include "./InternalHeaderCheck.h" diff --git a/unsupported/Eigen/src/NumericalDiff/InternalHeaderCheck.h b/unsupported/Eigen/src/NumericalDiff/InternalHeaderCheck.h index 8c513d203..aa6b73204 100644 --- a/unsupported/Eigen/src/NumericalDiff/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/NumericalDiff/InternalHeaderCheck.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NUMERICALDIFF_MODULE_H #error "Please include unsupported/Eigen/NumericalDiff instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h index 1f5526365..b8875bd70 100644 --- a/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +++ b/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_NUMERICAL_DIFF_H #define EIGEN_NUMERICAL_DIFF_H diff --git a/unsupported/Eigen/src/Polynomials/Companion.h b/unsupported/Eigen/src/Polynomials/Companion.h index f08099668..c2585412e 100644 --- a/unsupported/Eigen/src/Polynomials/Companion.h +++ b/unsupported/Eigen/src/Polynomials/Companion.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_COMPANION_H #define EIGEN_COMPANION_H diff --git a/unsupported/Eigen/src/Polynomials/InternalHeaderCheck.h b/unsupported/Eigen/src/Polynomials/InternalHeaderCheck.h index b3aa50ca6..5473e191e 100644 --- a/unsupported/Eigen/src/Polynomials/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/Polynomials/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_POLYNOMIALS_MODULE_H #error "Please include unsupported/Eigen/Polynomials instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/Polynomials/PolynomialSolver.h b/unsupported/Eigen/src/Polynomials/PolynomialSolver.h index 8c0ce3b71..1449ca704 100644 --- a/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +++ b/unsupported/Eigen/src/Polynomials/PolynomialSolver.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_POLYNOMIAL_SOLVER_H #define EIGEN_POLYNOMIAL_SOLVER_H diff --git a/unsupported/Eigen/src/Polynomials/PolynomialUtils.h b/unsupported/Eigen/src/Polynomials/PolynomialUtils.h index 342ca9a0d..5254f744c 100644 --- a/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +++ b/unsupported/Eigen/src/Polynomials/PolynomialUtils.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_POLYNOMIAL_UTILS_H #define EIGEN_POLYNOMIAL_UTILS_H diff --git a/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h b/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h index 6e8be8490..dc42076a3 100644 --- a/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +++ b/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEBLOCKMATRIX_H #define EIGEN_SPARSEBLOCKMATRIX_H diff --git a/unsupported/Eigen/src/SparseExtra/InternalHeaderCheck.h b/unsupported/Eigen/src/SparseExtra/InternalHeaderCheck.h index 0e55251b9..21b36ee17 100644 --- a/unsupported/Eigen/src/SparseExtra/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/SparseExtra/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPARSE_EXTRA_MODULE_H #error "Please include unsupported/Eigen/SparseExtra instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/SparseExtra/MarketIO.h b/unsupported/Eigen/src/SparseExtra/MarketIO.h index f92622dca..d0a33ee9b 100644 --- a/unsupported/Eigen/src/SparseExtra/MarketIO.h +++ b/unsupported/Eigen/src/SparseExtra/MarketIO.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSE_MARKET_IO_H #define EIGEN_SPARSE_MARKET_IO_H diff --git a/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h b/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h index 15d7fb2de..876f504e9 100644 --- a/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +++ b/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BROWSE_MATRICES_H #define EIGEN_BROWSE_MATRICES_H diff --git a/unsupported/Eigen/src/SparseExtra/RandomSetter.h b/unsupported/Eigen/src/SparseExtra/RandomSetter.h index 2889d82ab..734f64094 100644 --- a/unsupported/Eigen/src/SparseExtra/RandomSetter.h +++ b/unsupported/Eigen/src/SparseExtra/RandomSetter.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_RANDOMSETTER_H #define EIGEN_RANDOMSETTER_H diff --git a/unsupported/Eigen/src/SparseExtra/SparseInverse.h b/unsupported/Eigen/src/SparseExtra/SparseInverse.h index 142cc8f12..da64814b0 100644 --- a/unsupported/Eigen/src/SparseExtra/SparseInverse.h +++ b/unsupported/Eigen/src/SparseExtra/SparseInverse.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPARSEINVERSE_H #define EIGEN_SPARSEINVERSE_H diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h index 25b91b507..7335a5a30 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BESSELFUNCTIONS_ARRAYAPI_H #define EIGEN_BESSELFUNCTIONS_ARRAYAPI_H diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h index 45b70b45b..27494c0ab 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BESSELFUNCTIONS_BFLOAT16_H #define EIGEN_BESSELFUNCTIONS_BFLOAT16_H diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h index d8774176c..a12a19a69 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BESSELFUNCTIONS_FUNCTORS_H #define EIGEN_BESSELFUNCTIONS_FUNCTORS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h index ac1ea28f2..d36763c31 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BESSELFUNCTIONS_HALF_H #define EIGEN_BESSELFUNCTIONS_HALF_H diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h index 59bdaf1b7..fb2e700a7 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BESSEL_FUNCTIONS_H #define EIGEN_BESSEL_FUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h index 1c325fc4e..d0490fcb7 100644 --- a/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +++ b/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_BESSELFUNCTIONS_PACKETMATH_H #define EIGEN_BESSELFUNCTIONS_PACKETMATH_H diff --git a/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h b/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h index 9119335ae..858623abc 100644 --- a/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +++ b/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef HIP_VECTOR_COMPATIBILITY_H #define HIP_VECTOR_COMPATIBILITY_H diff --git a/unsupported/Eigen/src/SpecialFunctions/InternalHeaderCheck.h b/unsupported/Eigen/src/SpecialFunctions/InternalHeaderCheck.h index a5ef51a84..c36012856 100644 --- a/unsupported/Eigen/src/SpecialFunctions/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/SpecialFunctions/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPECIALFUNCTIONS_MODULE_H #error \ "Please include unsupported/Eigen/SpecialFunctions instead of including headers inside the src directory directly." diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h index 0920d274f..84425812f 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPECIALFUNCTIONS_ARRAYAPI_H #define EIGEN_SPECIALFUNCTIONS_ARRAYAPI_H diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h index 90babaea3..1c7548de9 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPECIALFUNCTIONS_BFLOAT16_H #define EIGEN_SPECIALFUNCTIONS_BFLOAT16_H diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h index 483c9ae02..683f0ecc2 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPECIALFUNCTIONS_FUNCTORS_H #define EIGEN_SPECIALFUNCTIONS_FUNCTORS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h index baba84814..4ccf16937 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPECIALFUNCTIONS_HALF_H #define EIGEN_SPECIALFUNCTIONS_HALF_H diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h index 5f95fd0ca..6ed9d6e5f 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPECIAL_FUNCTIONS_H #define EIGEN_SPECIAL_FUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h index d1470db28..46c32ac68 100644 --- a/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +++ b/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPECIALFUNCTIONS_PACKETMATH_H #define EIGEN_SPECIALFUNCTIONS_PACKETMATH_H diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h index 2d7669209..2138059cc 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_AVX_BESSELFUNCTIONS_H #define EIGEN_AVX_BESSELFUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h index 35e62a8ac..3da8d2b23 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_AVX_SPECIALFUNCTIONS_H #define EIGEN_AVX_SPECIALFUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h index 7dd3c3e5b..f8e4f9c45 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_AVX512_BESSELFUNCTIONS_H #define EIGEN_AVX512_BESSELFUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h index 79878f2b6..fa816466a 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_AVX512_SPECIALFUNCTIONS_H #define EIGEN_AVX512_SPECIALFUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h index 8f3468b8c..0ce757618 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_GPU_SPECIALFUNCTIONS_H #define EIGEN_GPU_SPECIALFUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h index 70d90566d..d1276e76c 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_NEON_BESSELFUNCTIONS_H #define EIGEN_NEON_BESSELFUNCTIONS_H diff --git a/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h b/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h index 5590d2bf8..4f3a6c8c0 100644 --- a/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +++ b/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_NEON_SPECIALFUNCTIONS_H #define EIGEN_NEON_SPECIALFUNCTIONS_H diff --git a/unsupported/Eigen/src/Splines/InternalHeaderCheck.h b/unsupported/Eigen/src/Splines/InternalHeaderCheck.h index 4a6087e79..6c6a1ad7c 100644 --- a/unsupported/Eigen/src/Splines/InternalHeaderCheck.h +++ b/unsupported/Eigen/src/Splines/InternalHeaderCheck.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #ifndef EIGEN_SPLINES_MODULE_H #error "Please include unsupported/Eigen/Splines instead of including headers inside the src directory directly." #endif diff --git a/unsupported/Eigen/src/Splines/Spline.h b/unsupported/Eigen/src/Splines/Spline.h index 6ff1eea6a..8cadb7a40 100644 --- a/unsupported/Eigen/src/Splines/Spline.h +++ b/unsupported/Eigen/src/Splines/Spline.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPLINE_H #define EIGEN_SPLINE_H diff --git a/unsupported/Eigen/src/Splines/SplineFitting.h b/unsupported/Eigen/src/Splines/SplineFitting.h index f6a1111eb..0de27da6d 100644 --- a/unsupported/Eigen/src/Splines/SplineFitting.h +++ b/unsupported/Eigen/src/Splines/SplineFitting.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPLINE_FITTING_H #define EIGEN_SPLINE_FITTING_H diff --git a/unsupported/Eigen/src/Splines/SplineFwd.h b/unsupported/Eigen/src/Splines/SplineFwd.h index ff648d46a..f2235e26b 100644 --- a/unsupported/Eigen/src/Splines/SplineFwd.h +++ b/unsupported/Eigen/src/Splines/SplineFwd.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_SPLINES_FWD_H #define EIGEN_SPLINES_FWD_H diff --git a/unsupported/bench/bench_svd.cpp b/unsupported/bench/bench_svd.cpp index 40a989bbc..006329fa9 100644 --- a/unsupported/bench/bench_svd.cpp +++ b/unsupported/bench/bench_svd.cpp @@ -9,6 +9,7 @@ // 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/ +// SPDX-License-Identifier: MPL-2.0 // Bench to compare the efficiency of SVD algorithms diff --git a/unsupported/doc/CMakeLists.txt b/unsupported/doc/CMakeLists.txt index 9e9ab9800..23eea7f08 100644 --- a/unsupported/doc/CMakeLists.txt +++ b/unsupported/doc/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE) add_subdirectory(examples) diff --git a/unsupported/doc/eigendoxy_layout.xml.in b/unsupported/doc/eigendoxy_layout.xml.in index c93621ed3..ad35286ee 100644 --- a/unsupported/doc/eigendoxy_layout.xml.in +++ b/unsupported/doc/eigendoxy_layout.xml.in @@ -1,3 +1,4 @@ + diff --git a/unsupported/doc/examples/BVH_Example.cpp b/unsupported/doc/examples/BVH_Example.cpp index 8c37d713e..64e7ddf75 100644 --- a/unsupported/doc/examples/BVH_Example.cpp +++ b/unsupported/doc/examples/BVH_Example.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/unsupported/doc/examples/CMakeLists.txt b/unsupported/doc/examples/CMakeLists.txt index 7bb67736c..f0f61fdce 100644 --- a/unsupported/doc/examples/CMakeLists.txt +++ b/unsupported/doc/examples/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + file(GLOB examples_SRCS "*.cpp") add_custom_target(unsupported_examples) diff --git a/unsupported/doc/examples/EulerAngles.cpp b/unsupported/doc/examples/EulerAngles.cpp index 569477021..4507e651e 100644 --- a/unsupported/doc/examples/EulerAngles.cpp +++ b/unsupported/doc/examples/EulerAngles.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/FFT.cpp b/unsupported/doc/examples/FFT.cpp index bf24de5ab..77974bc72 100644 --- a/unsupported/doc/examples/FFT.cpp +++ b/unsupported/doc/examples/FFT.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + // To use the simple FFT implementation // g++ -o demofft -I.. -Wall -O3 FFT.cpp diff --git a/unsupported/doc/examples/MatrixExponential.cpp b/unsupported/doc/examples/MatrixExponential.cpp index eab7a5e69..83a9bd6e8 100644 --- a/unsupported/doc/examples/MatrixExponential.cpp +++ b/unsupported/doc/examples/MatrixExponential.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/MatrixFunction.cpp b/unsupported/doc/examples/MatrixFunction.cpp index d72f62a56..18cd66c3e 100644 --- a/unsupported/doc/examples/MatrixFunction.cpp +++ b/unsupported/doc/examples/MatrixFunction.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/MatrixLogarithm.cpp b/unsupported/doc/examples/MatrixLogarithm.cpp index 41b7ff64f..1eb102a5a 100644 --- a/unsupported/doc/examples/MatrixLogarithm.cpp +++ b/unsupported/doc/examples/MatrixLogarithm.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/MatrixPower.cpp b/unsupported/doc/examples/MatrixPower.cpp index 35501b6cd..606762374 100644 --- a/unsupported/doc/examples/MatrixPower.cpp +++ b/unsupported/doc/examples/MatrixPower.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/MatrixPower_optimal.cpp b/unsupported/doc/examples/MatrixPower_optimal.cpp index 5f5f3e421..c7a1d7e6f 100644 --- a/unsupported/doc/examples/MatrixPower_optimal.cpp +++ b/unsupported/doc/examples/MatrixPower_optimal.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/MatrixSine.cpp b/unsupported/doc/examples/MatrixSine.cpp index eeafa5042..f7bf356d1 100644 --- a/unsupported/doc/examples/MatrixSine.cpp +++ b/unsupported/doc/examples/MatrixSine.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/MatrixSinh.cpp b/unsupported/doc/examples/MatrixSinh.cpp index 1aabbb39d..5fe4ca8e9 100644 --- a/unsupported/doc/examples/MatrixSinh.cpp +++ b/unsupported/doc/examples/MatrixSinh.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/MatrixSquareRoot.cpp b/unsupported/doc/examples/MatrixSquareRoot.cpp index 0ac4fdcf5..460d182e2 100644 --- a/unsupported/doc/examples/MatrixSquareRoot.cpp +++ b/unsupported/doc/examples/MatrixSquareRoot.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/PolynomialSolver1.cpp b/unsupported/doc/examples/PolynomialSolver1.cpp index c1bf976fd..20964fbd2 100644 --- a/unsupported/doc/examples/PolynomialSolver1.cpp +++ b/unsupported/doc/examples/PolynomialSolver1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include #include diff --git a/unsupported/doc/examples/PolynomialUtils1.cpp b/unsupported/doc/examples/PolynomialUtils1.cpp index a050b0155..cb09dfa82 100644 --- a/unsupported/doc/examples/PolynomialUtils1.cpp +++ b/unsupported/doc/examples/PolynomialUtils1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #include diff --git a/unsupported/doc/examples/SYCL/CMakeLists.txt b/unsupported/doc/examples/SYCL/CMakeLists.txt index 4fe94c6ec..56ffe2a7c 100644 --- a/unsupported/doc/examples/SYCL/CMakeLists.txt +++ b/unsupported/doc/examples/SYCL/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + FILE(GLOB examples_SRCS "*.cpp") set(EIGEN_SYCL ON) diff --git a/unsupported/doc/examples/SYCL/CwiseMul.cpp b/unsupported/doc/examples/SYCL/CwiseMul.cpp index eac5b4670..68620a270 100644 --- a/unsupported/doc/examples/SYCL/CwiseMul.cpp +++ b/unsupported/doc/examples/SYCL/CwiseMul.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include #define EIGEN_USE_SYCL #include diff --git a/unsupported/doc/snippets/CMakeLists.txt b/unsupported/doc/snippets/CMakeLists.txt index adf95a8db..dec438a2e 100644 --- a/unsupported/doc/snippets/CMakeLists.txt +++ b/unsupported/doc/snippets/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MPL-2.0 + file(GLOB snippets_SRCS "*.cpp") add_custom_target(unsupported_snippets) diff --git a/unsupported/test/BVH.cpp b/unsupported/test/BVH.cpp index 54ecc5c35..0286c0104 100644 --- a/unsupported/test/BVH.cpp +++ b/unsupported/test/BVH.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index c270458ff..8ac9f3785 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # The file split_test_helper.h was generated at first run, # it is now included in test/ if(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/split_test_helper.h) diff --git a/unsupported/test/EulerAngles.cpp b/unsupported/test/EulerAngles.cpp index a65e5f501..23a26b6d0 100644 --- a/unsupported/test/EulerAngles.cpp +++ b/unsupported/test/EulerAngles.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/FFT.cpp b/unsupported/test/FFT.cpp index f85461cc5..da1de6a6f 100644 --- a/unsupported/test/FFT.cpp +++ b/unsupported/test/FFT.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + #define EIGEN_FFT_DEFAULT 1 #include "fft_test_shared.h" diff --git a/unsupported/test/FFTW.cpp b/unsupported/test/FFTW.cpp index 730219658..f6c959bdd 100644 --- a/unsupported/test/FFTW.cpp +++ b/unsupported/test/FFTW.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + #define EIGEN_FFTW_DEFAULT 1 #include "fft_test_shared.h" diff --git a/unsupported/test/NNLS.cpp b/unsupported/test/NNLS.cpp index f01b56276..dd3486ef6 100644 --- a/unsupported/test/NNLS.cpp +++ b/unsupported/test/NNLS.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_RUNTIME_NO_MALLOC diff --git a/unsupported/test/NonLinearOptimization.cpp b/unsupported/test/NonLinearOptimization.cpp index fa2ee32a5..c4be3f1eb 100644 --- a/unsupported/test/NonLinearOptimization.cpp +++ b/unsupported/test/NonLinearOptimization.cpp @@ -2,6 +2,7 @@ // for linear algebra. // // Copyright (C) 2009 Thomas Capricelli +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/unsupported/test/NumericalDiff.cpp b/unsupported/test/NumericalDiff.cpp index 543f34fc0..b46dfb293 100644 --- a/unsupported/test/NumericalDiff.cpp +++ b/unsupported/test/NumericalDiff.cpp @@ -2,6 +2,7 @@ // for linear algebra. // // Copyright (C) 2009 Thomas Capricelli +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/unsupported/test/alignedvector3.cpp b/unsupported/test/alignedvector3.cpp index 838eaeae7..ad1d74e4d 100644 --- a/unsupported/test/alignedvector3.cpp +++ b/unsupported/test/alignedvector3.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_NO_STATIC_ASSERT diff --git a/unsupported/test/autodiff.cpp b/unsupported/test/autodiff.cpp index a885a1e37..69de48a23 100644 --- a/unsupported/test/autodiff.cpp +++ b/unsupported/test/autodiff.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/autodiff_scalar.cpp b/unsupported/test/autodiff_scalar.cpp index a0bff91f8..89bd929f1 100644 --- a/unsupported/test/autodiff_scalar.cpp +++ b/unsupported/test/autodiff_scalar.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/bessel_functions.cpp b/unsupported/test/bessel_functions.cpp index 86adfc1eb..f8d4833a9 100644 --- a/unsupported/test/bessel_functions.cpp +++ b/unsupported/test/bessel_functions.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include "../Eigen/SpecialFunctions" diff --git a/unsupported/test/bicgstabl.cpp b/unsupported/test/bicgstabl.cpp index 4761e39dc..418429339 100644 --- a/unsupported/test/bicgstabl.cpp +++ b/unsupported/test/bicgstabl.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "../../test/sparse_solver.h" #include diff --git a/unsupported/test/cxx11_tensor_argmax.cpp b/unsupported/test/cxx11_tensor_argmax.cpp index b86d84cb9..aa3691a81 100644 --- a/unsupported/test/cxx11_tensor_argmax.cpp +++ b/unsupported/test/cxx11_tensor_argmax.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_argmax_gpu.cu b/unsupported/test/cxx11_tensor_argmax_gpu.cu index 629e5c02b..a94c78eda 100644 --- a/unsupported/test/cxx11_tensor_argmax_gpu.cu +++ b/unsupported/test/cxx11_tensor_argmax_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE diff --git a/unsupported/test/cxx11_tensor_argmax_sycl.cpp b/unsupported/test/cxx11_tensor_argmax_sycl.cpp index 8f4e09573..6445c9666 100644 --- a/unsupported/test/cxx11_tensor_argmax_sycl.cpp +++ b/unsupported/test/cxx11_tensor_argmax_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_assign.cpp b/unsupported/test/cxx11_tensor_assign.cpp index 993249d9a..ed554fba4 100644 --- a/unsupported/test/cxx11_tensor_assign.cpp +++ b/unsupported/test/cxx11_tensor_assign.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_block_access.cpp b/unsupported/test/cxx11_tensor_block_access.cpp index 7c5203d36..b84d94ae9 100644 --- a/unsupported/test/cxx11_tensor_block_access.cpp +++ b/unsupported/test/cxx11_tensor_block_access.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_block_eval.cpp b/unsupported/test/cxx11_tensor_block_eval.cpp index 75e2b8cbe..e09b0fc4e 100644 --- a/unsupported/test/cxx11_tensor_block_eval.cpp +++ b/unsupported/test/cxx11_tensor_block_eval.cpp @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // clang-format off #include "main.h" diff --git a/unsupported/test/cxx11_tensor_block_io.cpp b/unsupported/test/cxx11_tensor_block_io.cpp index 509c10e50..699633a93 100644 --- a/unsupported/test/cxx11_tensor_block_io.cpp +++ b/unsupported/test/cxx11_tensor_block_io.cpp @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // clang-format off #include "main.h" diff --git a/unsupported/test/cxx11_tensor_broadcast_sycl.cpp b/unsupported/test/cxx11_tensor_broadcast_sycl.cpp index d25556872..bef026761 100644 --- a/unsupported/test/cxx11_tensor_broadcast_sycl.cpp +++ b/unsupported/test/cxx11_tensor_broadcast_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_broadcasting.cpp b/unsupported/test/cxx11_tensor_broadcasting.cpp index 6f43d6a0c..5007eba53 100644 --- a/unsupported/test/cxx11_tensor_broadcasting.cpp +++ b/unsupported/test/cxx11_tensor_broadcasting.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_builtins_sycl.cpp b/unsupported/test/cxx11_tensor_builtins_sycl.cpp index c8e0a6dfc..23772a8ac 100644 --- a/unsupported/test/cxx11_tensor_builtins_sycl.cpp +++ b/unsupported/test/cxx11_tensor_builtins_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_cast_float16_gpu.cu b/unsupported/test/cxx11_tensor_cast_float16_gpu.cu index ce5c4c3b8..0cd3d9926 100644 --- a/unsupported/test/cxx11_tensor_cast_float16_gpu.cu +++ b/unsupported/test/cxx11_tensor_cast_float16_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_casts.cpp b/unsupported/test/cxx11_tensor_casts.cpp index 9cd377c77..5473db2aa 100644 --- a/unsupported/test/cxx11_tensor_casts.cpp +++ b/unsupported/test/cxx11_tensor_casts.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include "random_without_cast_overflow.h" diff --git a/unsupported/test/cxx11_tensor_chipping.cpp b/unsupported/test/cxx11_tensor_chipping.cpp index dbbd89dd1..ef480977e 100644 --- a/unsupported/test/cxx11_tensor_chipping.cpp +++ b/unsupported/test/cxx11_tensor_chipping.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_chipping_sycl.cpp b/unsupported/test/cxx11_tensor_chipping_sycl.cpp index cab0ae871..ea62f62a6 100644 --- a/unsupported/test/cxx11_tensor_chipping_sycl.cpp +++ b/unsupported/test/cxx11_tensor_chipping_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_comparisons.cpp b/unsupported/test/cxx11_tensor_comparisons.cpp index 17a177607..67bf2d3aa 100644 --- a/unsupported/test/cxx11_tensor_comparisons.cpp +++ b/unsupported/test/cxx11_tensor_comparisons.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu b/unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu index 6daa0a79f..e2e0ffad1 100644 --- a/unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu +++ b/unsupported/test/cxx11_tensor_complex_cwise_ops_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE diff --git a/unsupported/test/cxx11_tensor_complex_gpu.cu b/unsupported/test/cxx11_tensor_complex_gpu.cu index 12f11e099..a7c8c6883 100644 --- a/unsupported/test/cxx11_tensor_complex_gpu.cu +++ b/unsupported/test/cxx11_tensor_complex_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE diff --git a/unsupported/test/cxx11_tensor_concatenation.cpp b/unsupported/test/cxx11_tensor_concatenation.cpp index 562ac779b..0e49a43c3 100644 --- a/unsupported/test/cxx11_tensor_concatenation.cpp +++ b/unsupported/test/cxx11_tensor_concatenation.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_concatenation_sycl.cpp b/unsupported/test/cxx11_tensor_concatenation_sycl.cpp index fccf165b4..c0538a983 100644 --- a/unsupported/test/cxx11_tensor_concatenation_sycl.cpp +++ b/unsupported/test/cxx11_tensor_concatenation_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_const.cpp b/unsupported/test/cxx11_tensor_const.cpp index 78a6506ca..06236f9c4 100644 --- a/unsupported/test/cxx11_tensor_const.cpp +++ b/unsupported/test/cxx11_tensor_const.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_contract_gpu.cu b/unsupported/test/cxx11_tensor_contract_gpu.cu index c9eebfca5..cc1a637b6 100644 --- a/unsupported/test/cxx11_tensor_contract_gpu.cu +++ b/unsupported/test/cxx11_tensor_contract_gpu.cu @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_contract_sycl.cpp b/unsupported/test/cxx11_tensor_contract_sycl.cpp index 120681b6a..baa021c87 100644 --- a/unsupported/test/cxx11_tensor_contract_sycl.cpp +++ b/unsupported/test/cxx11_tensor_contract_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_contraction.cpp b/unsupported/test/cxx11_tensor_contraction.cpp index 2949c14b0..779c2376d 100644 --- a/unsupported/test/cxx11_tensor_contraction.cpp +++ b/unsupported/test/cxx11_tensor_contraction.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_convolution.cpp b/unsupported/test/cxx11_tensor_convolution.cpp index c9218655f..db6c1a6ea 100644 --- a/unsupported/test/cxx11_tensor_convolution.cpp +++ b/unsupported/test/cxx11_tensor_convolution.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_convolution_sycl.cpp b/unsupported/test/cxx11_tensor_convolution_sycl.cpp index 350ac336e..452fa1b22 100644 --- a/unsupported/test/cxx11_tensor_convolution_sycl.cpp +++ b/unsupported/test/cxx11_tensor_convolution_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_custom_index.cpp b/unsupported/test/cxx11_tensor_custom_index.cpp index f15da36b7..8b8693f11 100644 --- a/unsupported/test/cxx11_tensor_custom_index.cpp +++ b/unsupported/test/cxx11_tensor_custom_index.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/cxx11_tensor_custom_op.cpp b/unsupported/test/cxx11_tensor_custom_op.cpp index 493da48b7..7baceb3f2 100644 --- a/unsupported/test/cxx11_tensor_custom_op.cpp +++ b/unsupported/test/cxx11_tensor_custom_op.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_custom_op_sycl.cpp b/unsupported/test/cxx11_tensor_custom_op_sycl.cpp index eb9ef6ecb..691069349 100644 --- a/unsupported/test/cxx11_tensor_custom_op_sycl.cpp +++ b/unsupported/test/cxx11_tensor_custom_op_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_device.cu b/unsupported/test/cxx11_tensor_device.cu index 0a26ab93b..fd2f9bc31 100644 --- a/unsupported/test/cxx11_tensor_device.cu +++ b/unsupported/test/cxx11_tensor_device.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_device_sycl.cpp b/unsupported/test/cxx11_tensor_device_sycl.cpp index d19081540..b47ceb970 100644 --- a/unsupported/test/cxx11_tensor_device_sycl.cpp +++ b/unsupported/test/cxx11_tensor_device_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_dimension.cpp b/unsupported/test/cxx11_tensor_dimension.cpp index 3423a6695..f09cd3550 100644 --- a/unsupported/test/cxx11_tensor_dimension.cpp +++ b/unsupported/test/cxx11_tensor_dimension.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_empty.cpp b/unsupported/test/cxx11_tensor_empty.cpp index c90cf3689..d9b85f166 100644 --- a/unsupported/test/cxx11_tensor_empty.cpp +++ b/unsupported/test/cxx11_tensor_empty.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_executor.cpp b/unsupported/test/cxx11_tensor_executor.cpp index 228fa9e08..925de9170 100644 --- a/unsupported/test/cxx11_tensor_executor.cpp +++ b/unsupported/test/cxx11_tensor_executor.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS diff --git a/unsupported/test/cxx11_tensor_expr.cpp b/unsupported/test/cxx11_tensor_expr.cpp index fc235d5e1..70f0ee92a 100644 --- a/unsupported/test/cxx11_tensor_expr.cpp +++ b/unsupported/test/cxx11_tensor_expr.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include diff --git a/unsupported/test/cxx11_tensor_fft.cpp b/unsupported/test/cxx11_tensor_fft.cpp index 70bba2edc..38c7c4a3a 100644 --- a/unsupported/test/cxx11_tensor_fft.cpp +++ b/unsupported/test/cxx11_tensor_fft.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/cxx11_tensor_fixed_size.cpp b/unsupported/test/cxx11_tensor_fixed_size.cpp index 7cfc18d22..aa30ac5bc 100644 --- a/unsupported/test/cxx11_tensor_fixed_size.cpp +++ b/unsupported/test/cxx11_tensor_fixed_size.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_forced_eval.cpp b/unsupported/test/cxx11_tensor_forced_eval.cpp index 4eb7d912a..44b59d4ef 100644 --- a/unsupported/test/cxx11_tensor_forced_eval.cpp +++ b/unsupported/test/cxx11_tensor_forced_eval.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_forced_eval_sycl.cpp b/unsupported/test/cxx11_tensor_forced_eval_sycl.cpp index 19a3c796c..e36b806a3 100644 --- a/unsupported/test/cxx11_tensor_forced_eval_sycl.cpp +++ b/unsupported/test/cxx11_tensor_forced_eval_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_generator.cpp b/unsupported/test/cxx11_tensor_generator.cpp index e4aec1b1b..7e345ed53 100644 --- a/unsupported/test/cxx11_tensor_generator.cpp +++ b/unsupported/test/cxx11_tensor_generator.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_generator_sycl.cpp b/unsupported/test/cxx11_tensor_generator_sycl.cpp index 335bf2544..8eba4a085 100644 --- a/unsupported/test/cxx11_tensor_generator_sycl.cpp +++ b/unsupported/test/cxx11_tensor_generator_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_gpu.cu b/unsupported/test/cxx11_tensor_gpu.cu index c5046c029..a6da678e2 100644 --- a/unsupported/test/cxx11_tensor_gpu.cu +++ b/unsupported/test/cxx11_tensor_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_ifft.cpp b/unsupported/test/cxx11_tensor_ifft.cpp index 3433aeada..2a2582872 100644 --- a/unsupported/test/cxx11_tensor_ifft.cpp +++ b/unsupported/test/cxx11_tensor_ifft.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/cxx11_tensor_image_op_sycl.cpp b/unsupported/test/cxx11_tensor_image_op_sycl.cpp index 2aedaf6ec..93572d387 100644 --- a/unsupported/test/cxx11_tensor_image_op_sycl.cpp +++ b/unsupported/test/cxx11_tensor_image_op_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_image_patch.cpp b/unsupported/test/cxx11_tensor_image_patch.cpp index 55d3c6ebf..6523a30d7 100644 --- a/unsupported/test/cxx11_tensor_image_patch.cpp +++ b/unsupported/test/cxx11_tensor_image_patch.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_image_patch_sycl.cpp b/unsupported/test/cxx11_tensor_image_patch_sycl.cpp index 9cbf26c66..2149fbeb8 100644 --- a/unsupported/test/cxx11_tensor_image_patch_sycl.cpp +++ b/unsupported/test/cxx11_tensor_image_patch_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_index_list.cpp b/unsupported/test/cxx11_tensor_index_list.cpp index 9e0b7559b..b19df3fde 100644 --- a/unsupported/test/cxx11_tensor_index_list.cpp +++ b/unsupported/test/cxx11_tensor_index_list.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_inflation.cpp b/unsupported/test/cxx11_tensor_inflation.cpp index 32662abc8..cf6351351 100644 --- a/unsupported/test/cxx11_tensor_inflation.cpp +++ b/unsupported/test/cxx11_tensor_inflation.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_inflation_sycl.cpp b/unsupported/test/cxx11_tensor_inflation_sycl.cpp index 2475a3568..01e40801b 100644 --- a/unsupported/test/cxx11_tensor_inflation_sycl.cpp +++ b/unsupported/test/cxx11_tensor_inflation_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_intdiv.cpp b/unsupported/test/cxx11_tensor_intdiv.cpp index 433ca6e05..f0633a754 100644 --- a/unsupported/test/cxx11_tensor_intdiv.cpp +++ b/unsupported/test/cxx11_tensor_intdiv.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_io.cpp b/unsupported/test/cxx11_tensor_io.cpp index 27b32305b..b262ed526 100644 --- a/unsupported/test/cxx11_tensor_io.cpp +++ b/unsupported/test/cxx11_tensor_io.cpp @@ -6,6 +6,8 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 + #include "main.h" #include diff --git a/unsupported/test/cxx11_tensor_layout_swap.cpp b/unsupported/test/cxx11_tensor_layout_swap.cpp index 50fb3ae80..3327fcf06 100644 --- a/unsupported/test/cxx11_tensor_layout_swap.cpp +++ b/unsupported/test/cxx11_tensor_layout_swap.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_layout_swap_sycl.cpp b/unsupported/test/cxx11_tensor_layout_swap_sycl.cpp index 066221e5d..b0d02dd52 100644 --- a/unsupported/test/cxx11_tensor_layout_swap_sycl.cpp +++ b/unsupported/test/cxx11_tensor_layout_swap_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_lvalue.cpp b/unsupported/test/cxx11_tensor_lvalue.cpp index d70c7e066..a8ecbc2c7 100644 --- a/unsupported/test/cxx11_tensor_lvalue.cpp +++ b/unsupported/test/cxx11_tensor_lvalue.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_map.cpp b/unsupported/test/cxx11_tensor_map.cpp index 25176f4a3..a6dc46ae9 100644 --- a/unsupported/test/cxx11_tensor_map.cpp +++ b/unsupported/test/cxx11_tensor_map.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_math.cpp b/unsupported/test/cxx11_tensor_math.cpp index 8184b8828..425bd6ba9 100644 --- a/unsupported/test/cxx11_tensor_math.cpp +++ b/unsupported/test/cxx11_tensor_math.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_math_sycl.cpp b/unsupported/test/cxx11_tensor_math_sycl.cpp index 7152a58c4..2147f731f 100644 --- a/unsupported/test/cxx11_tensor_math_sycl.cpp +++ b/unsupported/test/cxx11_tensor_math_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_mixed_indices.cpp b/unsupported/test/cxx11_tensor_mixed_indices.cpp index be6c48659..b2a103d82 100644 --- a/unsupported/test/cxx11_tensor_mixed_indices.cpp +++ b/unsupported/test/cxx11_tensor_mixed_indices.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_morphing.cpp b/unsupported/test/cxx11_tensor_morphing.cpp index 0672572fe..ed1d666fd 100644 --- a/unsupported/test/cxx11_tensor_morphing.cpp +++ b/unsupported/test/cxx11_tensor_morphing.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_morphing_sycl.cpp b/unsupported/test/cxx11_tensor_morphing_sycl.cpp index 7242b8ec4..20e1846a7 100644 --- a/unsupported/test/cxx11_tensor_morphing_sycl.cpp +++ b/unsupported/test/cxx11_tensor_morphing_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_move.cpp b/unsupported/test/cxx11_tensor_move.cpp index a21ebb1c3..0a83eaecc 100644 --- a/unsupported/test/cxx11_tensor_move.cpp +++ b/unsupported/test/cxx11_tensor_move.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_notification.cpp b/unsupported/test/cxx11_tensor_notification.cpp index 21738668b..7d2ed733d 100644 --- a/unsupported/test/cxx11_tensor_notification.cpp +++ b/unsupported/test/cxx11_tensor_notification.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS diff --git a/unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu b/unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu index 722c92fbd..1deae6a07 100644 --- a/unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu +++ b/unsupported/test/cxx11_tensor_of_bfloat16_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_of_complex.cpp b/unsupported/test/cxx11_tensor_of_complex.cpp index d34edbd2b..b62556466 100644 --- a/unsupported/test/cxx11_tensor_of_complex.cpp +++ b/unsupported/test/cxx11_tensor_of_complex.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_of_const_values.cpp b/unsupported/test/cxx11_tensor_of_const_values.cpp index 6c76cf342..843f5433c 100644 --- a/unsupported/test/cxx11_tensor_of_const_values.cpp +++ b/unsupported/test/cxx11_tensor_of_const_values.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_of_float16_gpu.cu b/unsupported/test/cxx11_tensor_of_float16_gpu.cu index 88482deb3..0ce4515c6 100644 --- a/unsupported/test/cxx11_tensor_of_float16_gpu.cu +++ b/unsupported/test/cxx11_tensor_of_float16_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_of_float16_sycl.cpp b/unsupported/test/cxx11_tensor_of_float16_sycl.cpp index 7de39e7cc..8d0d51c91 100644 --- a/unsupported/test/cxx11_tensor_of_float16_sycl.cpp +++ b/unsupported/test/cxx11_tensor_of_float16_sycl.cpp @@ -9,6 +9,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_of_strings.cpp b/unsupported/test/cxx11_tensor_of_strings.cpp index f7db25cc3..d2d7c4679 100644 --- a/unsupported/test/cxx11_tensor_of_strings.cpp +++ b/unsupported/test/cxx11_tensor_of_strings.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_padding.cpp b/unsupported/test/cxx11_tensor_padding.cpp index 6c5ddf078..284941c9c 100644 --- a/unsupported/test/cxx11_tensor_padding.cpp +++ b/unsupported/test/cxx11_tensor_padding.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_padding_sycl.cpp b/unsupported/test/cxx11_tensor_padding_sycl.cpp index ae4d98a20..a71757cc7 100644 --- a/unsupported/test/cxx11_tensor_padding_sycl.cpp +++ b/unsupported/test/cxx11_tensor_padding_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_patch.cpp b/unsupported/test/cxx11_tensor_patch.cpp index 59b03e7f0..84b559047 100644 --- a/unsupported/test/cxx11_tensor_patch.cpp +++ b/unsupported/test/cxx11_tensor_patch.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_patch_sycl.cpp b/unsupported/test/cxx11_tensor_patch_sycl.cpp index b1be9ff6f..70fa43dc6 100644 --- a/unsupported/test/cxx11_tensor_patch_sycl.cpp +++ b/unsupported/test/cxx11_tensor_patch_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_random.cpp b/unsupported/test/cxx11_tensor_random.cpp index 585a3f897..24ef4a63f 100644 --- a/unsupported/test/cxx11_tensor_random.cpp +++ b/unsupported/test/cxx11_tensor_random.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_random_gpu.cu b/unsupported/test/cxx11_tensor_random_gpu.cu index fa8da7d98..9a64df959 100644 --- a/unsupported/test/cxx11_tensor_random_gpu.cu +++ b/unsupported/test/cxx11_tensor_random_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_random_sycl.cpp b/unsupported/test/cxx11_tensor_random_sycl.cpp index 0d29a5d6f..bcff347b0 100644 --- a/unsupported/test/cxx11_tensor_random_sycl.cpp +++ b/unsupported/test/cxx11_tensor_random_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_reduction.cpp b/unsupported/test/cxx11_tensor_reduction.cpp index ab497c4e1..6c8b5862c 100644 --- a/unsupported/test/cxx11_tensor_reduction.cpp +++ b/unsupported/test/cxx11_tensor_reduction.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/cxx11_tensor_reduction_gpu.cu b/unsupported/test/cxx11_tensor_reduction_gpu.cu index 24cc5be55..b824f77ed 100644 --- a/unsupported/test/cxx11_tensor_reduction_gpu.cu +++ b/unsupported/test/cxx11_tensor_reduction_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_reduction_sycl.cpp b/unsupported/test/cxx11_tensor_reduction_sycl.cpp index 927695325..141e8a603 100644 --- a/unsupported/test/cxx11_tensor_reduction_sycl.cpp +++ b/unsupported/test/cxx11_tensor_reduction_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_ref.cpp b/unsupported/test/cxx11_tensor_ref.cpp index d5ff19617..eb9a262e6 100644 --- a/unsupported/test/cxx11_tensor_ref.cpp +++ b/unsupported/test/cxx11_tensor_ref.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_reverse.cpp b/unsupported/test/cxx11_tensor_reverse.cpp index 150c71b7c..f2d3473f0 100644 --- a/unsupported/test/cxx11_tensor_reverse.cpp +++ b/unsupported/test/cxx11_tensor_reverse.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_reverse_sycl.cpp b/unsupported/test/cxx11_tensor_reverse_sycl.cpp index c9c617231..2272d8116 100644 --- a/unsupported/test/cxx11_tensor_reverse_sycl.cpp +++ b/unsupported/test/cxx11_tensor_reverse_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_roll.cpp b/unsupported/test/cxx11_tensor_roll.cpp index 59f5efe0a..539806f8a 100644 --- a/unsupported/test/cxx11_tensor_roll.cpp +++ b/unsupported/test/cxx11_tensor_roll.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_roundings.cpp b/unsupported/test/cxx11_tensor_roundings.cpp index 2c1181ae4..70eaf4680 100644 --- a/unsupported/test/cxx11_tensor_roundings.cpp +++ b/unsupported/test/cxx11_tensor_roundings.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_scan.cpp b/unsupported/test/cxx11_tensor_scan.cpp index 50ec63d5c..e4ea93218 100644 --- a/unsupported/test/cxx11_tensor_scan.cpp +++ b/unsupported/test/cxx11_tensor_scan.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/cxx11_tensor_scan_gpu.cu b/unsupported/test/cxx11_tensor_scan_gpu.cu index c9997adb4..4429d5d0a 100644 --- a/unsupported/test/cxx11_tensor_scan_gpu.cu +++ b/unsupported/test/cxx11_tensor_scan_gpu.cu @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_scan_sycl.cpp b/unsupported/test/cxx11_tensor_scan_sycl.cpp index 13f7c9e4e..81aaf9321 100644 --- a/unsupported/test/cxx11_tensor_scan_sycl.cpp +++ b/unsupported/test/cxx11_tensor_scan_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_shuffling.cpp b/unsupported/test/cxx11_tensor_shuffling.cpp index 4e6fb73bf..c68750896 100644 --- a/unsupported/test/cxx11_tensor_shuffling.cpp +++ b/unsupported/test/cxx11_tensor_shuffling.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_shuffling_sycl.cpp b/unsupported/test/cxx11_tensor_shuffling_sycl.cpp index 0f88f5227..1ab2a648e 100644 --- a/unsupported/test/cxx11_tensor_shuffling_sycl.cpp +++ b/unsupported/test/cxx11_tensor_shuffling_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_simple.cpp b/unsupported/test/cxx11_tensor_simple.cpp index 1686af345..58b0772e3 100644 --- a/unsupported/test/cxx11_tensor_simple.cpp +++ b/unsupported/test/cxx11_tensor_simple.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_striding.cpp b/unsupported/test/cxx11_tensor_striding.cpp index 4f3cd0d0a..1fb6a7bc7 100644 --- a/unsupported/test/cxx11_tensor_striding.cpp +++ b/unsupported/test/cxx11_tensor_striding.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_striding_sycl.cpp b/unsupported/test/cxx11_tensor_striding_sycl.cpp index e488c0e6b..06c39bab7 100644 --- a/unsupported/test/cxx11_tensor_striding_sycl.cpp +++ b/unsupported/test/cxx11_tensor_striding_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_sycl.cpp b/unsupported/test/cxx11_tensor_sycl.cpp index 842a5102b..f78b13cc9 100644 --- a/unsupported/test/cxx11_tensor_sycl.cpp +++ b/unsupported/test/cxx11_tensor_sycl.cpp @@ -11,6 +11,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/cxx11_tensor_symmetry.cpp b/unsupported/test/cxx11_tensor_symmetry.cpp index 16173b94a..95e44a4f9 100644 --- a/unsupported/test/cxx11_tensor_symmetry.cpp +++ b/unsupported/test/cxx11_tensor_symmetry.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_thread_local.cpp b/unsupported/test/cxx11_tensor_thread_local.cpp index 32ba2cd67..4b10277f9 100644 --- a/unsupported/test/cxx11_tensor_thread_local.cpp +++ b/unsupported/test/cxx11_tensor_thread_local.cpp @@ -4,6 +4,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS diff --git a/unsupported/test/cxx11_tensor_thread_pool.cpp b/unsupported/test/cxx11_tensor_thread_pool.cpp index a566d7e73..8c7bdba37 100644 --- a/unsupported/test/cxx11_tensor_thread_pool.cpp +++ b/unsupported/test/cxx11_tensor_thread_pool.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_USE_THREADS diff --git a/unsupported/test/cxx11_tensor_trace.cpp b/unsupported/test/cxx11_tensor_trace.cpp index 5b9583929..153995939 100644 --- a/unsupported/test/cxx11_tensor_trace.cpp +++ b/unsupported/test/cxx11_tensor_trace.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_uint128.cpp b/unsupported/test/cxx11_tensor_uint128.cpp index 4470f2536..b5a7ef0e9 100644 --- a/unsupported/test/cxx11_tensor_uint128.cpp +++ b/unsupported/test/cxx11_tensor_uint128.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" diff --git a/unsupported/test/cxx11_tensor_volume_patch.cpp b/unsupported/test/cxx11_tensor_volume_patch.cpp index 9a048617e..b7e18d93a 100644 --- a/unsupported/test/cxx11_tensor_volume_patch.cpp +++ b/unsupported/test/cxx11_tensor_volume_patch.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include "main.h" #include diff --git a/unsupported/test/cxx11_tensor_volume_patch_sycl.cpp b/unsupported/test/cxx11_tensor_volume_patch_sycl.cpp index 6a4248ef3..9415e9879 100644 --- a/unsupported/test/cxx11_tensor_volume_patch_sycl.cpp +++ b/unsupported/test/cxx11_tensor_volume_patch_sycl.cpp @@ -10,6 +10,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #define EIGEN_TEST_NO_LONGDOUBLE #define EIGEN_TEST_NO_COMPLEX diff --git a/unsupported/test/dgmres.cpp b/unsupported/test/dgmres.cpp index 940800cc7..caad3f05b 100644 --- a/unsupported/test/dgmres.cpp +++ b/unsupported/test/dgmres.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "../../test/sparse_solver.h" #include diff --git a/unsupported/test/fft_test_shared.h b/unsupported/test/fft_test_shared.h index 3adcd9098..88f41a98a 100644 --- a/unsupported/test/fft_test_shared.h +++ b/unsupported/test/fft_test_shared.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/forward_adolc.cpp b/unsupported/test/forward_adolc.cpp index 5d129a0f7..48df6213b 100644 --- a/unsupported/test/forward_adolc.cpp +++ b/unsupported/test/forward_adolc.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/gmres.cpp b/unsupported/test/gmres.cpp index 225bb9696..4ccf97d07 100644 --- a/unsupported/test/gmres.cpp +++ b/unsupported/test/gmres.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "../../test/sparse_solver.h" #include diff --git a/unsupported/test/idrs.cpp b/unsupported/test/idrs.cpp index 9a2e4a521..c64fcbb71 100644 --- a/unsupported/test/idrs.cpp +++ b/unsupported/test/idrs.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "../../test/sparse_solver.h" #include diff --git a/unsupported/test/idrstabl.cpp b/unsupported/test/idrstabl.cpp index 7e40dd64e..43529919d 100644 --- a/unsupported/test/idrstabl.cpp +++ b/unsupported/test/idrstabl.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "../../test/sparse_solver.h" #include diff --git a/unsupported/test/kronecker_product.cpp b/unsupported/test/kronecker_product.cpp index d7396e04d..e64515afe 100644 --- a/unsupported/test/kronecker_product.cpp +++ b/unsupported/test/kronecker_product.cpp @@ -8,6 +8,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifdef EIGEN_TEST_PART_1 diff --git a/unsupported/test/levenberg_marquardt.cpp b/unsupported/test/levenberg_marquardt.cpp index 8a8c838e1..5bf05b005 100644 --- a/unsupported/test/levenberg_marquardt.cpp +++ b/unsupported/test/levenberg_marquardt.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 // FIXME: These tests all check for hard-coded values. Ideally, parameters and start estimates should be randomized. diff --git a/unsupported/test/matrix_exponential.cpp b/unsupported/test/matrix_exponential.cpp index 0a52169c1..d9614baaa 100644 --- a/unsupported/test/matrix_exponential.cpp +++ b/unsupported/test/matrix_exponential.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "matrix_functions.h" diff --git a/unsupported/test/matrix_function.cpp b/unsupported/test/matrix_function.cpp index 6588527d9..b29da99cb 100644 --- a/unsupported/test/matrix_function.cpp +++ b/unsupported/test/matrix_function.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/matrix_functions.h b/unsupported/test/matrix_functions.h index cd5b908fa..b501989b6 100644 --- a/unsupported/test/matrix_functions.h +++ b/unsupported/test/matrix_functions.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/matrix_power.cpp b/unsupported/test/matrix_power.cpp index e17d35ae6..e8cbef265 100644 --- a/unsupported/test/matrix_power.cpp +++ b/unsupported/test/matrix_power.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "matrix_functions.h" diff --git a/unsupported/test/matrix_square_root.cpp b/unsupported/test/matrix_square_root.cpp index c7f8fbe67..bc320df47 100644 --- a/unsupported/test/matrix_square_root.cpp +++ b/unsupported/test/matrix_square_root.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "matrix_functions.h" diff --git a/unsupported/test/minres.cpp b/unsupported/test/minres.cpp index dfd5b9ace..6c1444734 100644 --- a/unsupported/test/minres.cpp +++ b/unsupported/test/minres.cpp @@ -7,6 +7,8 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 + #include #include "../../test/sparse_solver.h" diff --git a/unsupported/test/mklfft.cpp b/unsupported/test/mklfft.cpp index 631dd2005..6229e1a66 100644 --- a/unsupported/test/mklfft.cpp +++ b/unsupported/test/mklfft.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + #define EIGEN_MKL_DEFAULT 1 #include "fft_test_shared.h" diff --git a/unsupported/test/mpreal_support.cpp b/unsupported/test/mpreal_support.cpp index 1598f7f41..673829416 100644 --- a/unsupported/test/mpreal_support.cpp +++ b/unsupported/test/mpreal_support.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MPL-2.0 + #include // Must be included before main.h. #include "main.h" #include diff --git a/unsupported/test/openglsupport.cpp b/unsupported/test/openglsupport.cpp index c70552a7f..97c1c2f51 100644 --- a/unsupported/test/openglsupport.cpp +++ b/unsupported/test/openglsupport.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/unsupported/test/pocketfft.cpp b/unsupported/test/pocketfft.cpp index 5e8a0b6ae..2bfd2a2dc 100644 --- a/unsupported/test/pocketfft.cpp +++ b/unsupported/test/pocketfft.cpp @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MPL-2.0 + #define EIGEN_POCKETFFT_DEFAULT 1 #include "fft_test_shared.h" diff --git a/unsupported/test/polynomialsolver.cpp b/unsupported/test/polynomialsolver.cpp index 12d137d24..263cc2243 100644 --- a/unsupported/test/polynomialsolver.cpp +++ b/unsupported/test/polynomialsolver.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/polynomialutils.cpp b/unsupported/test/polynomialutils.cpp index f57c874d4..14df714d3 100644 --- a/unsupported/test/polynomialutils.cpp +++ b/unsupported/test/polynomialutils.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" #include diff --git a/unsupported/test/sparse_extra.cpp b/unsupported/test/sparse_extra.cpp index 4bf5452c2..51059e8ed 100644 --- a/unsupported/test/sparse_extra.cpp +++ b/unsupported/test/sparse_extra.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include diff --git a/unsupported/test/special_functions.cpp b/unsupported/test/special_functions.cpp index b16a7bb82..cea5529ef 100644 --- a/unsupported/test/special_functions.cpp +++ b/unsupported/test/special_functions.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include "main.h" diff --git a/unsupported/test/special_packetmath.cpp b/unsupported/test/special_packetmath.cpp index 044ce671e..bb38b08bb 100644 --- a/unsupported/test/special_packetmath.cpp +++ b/unsupported/test/special_packetmath.cpp @@ -7,6 +7,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include #include "packetmath_test_shared.h" diff --git a/unsupported/test/splines.cpp b/unsupported/test/splines.cpp index 8083718e8..3f0542a5a 100644 --- a/unsupported/test/splines.cpp +++ b/unsupported/test/splines.cpp @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #include "main.h" -- GitLab From d7d6f2764a112ac130859120f0b7fcb6be0b1860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Wed, 4 Dec 2024 15:21:23 +0100 Subject: [PATCH 2/7] Add PDX-License-Identifier:MPL-2.0 to Core/Fill.h --- Eigen/src/Core/Fill.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Eigen/src/Core/Fill.h b/Eigen/src/Core/Fill.h index 30b36450e..95a9872d0 100644 --- a/Eigen/src/Core/Fill.h +++ b/Eigen/src/Core/Fill.h @@ -6,6 +6,7 @@ // 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/. +// SPDX-License-Identifier: MPL-2.0 #ifndef EIGEN_FILL_H #define EIGEN_FILL_H -- GitLab From 375afe8fbab2c05cd5700a8ac6c3ca444f14160e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Wed, 4 Dec 2024 15:37:40 +0100 Subject: [PATCH 3/7] Remove SPDX-License-Identifier from .clang-format --- .clang-format | 2 -- 1 file changed, 2 deletions(-) diff --git a/.clang-format b/.clang-format index ad347ecb1..1f33cbed2 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - --- BasedOnStyle: Google ColumnLimit: 120 -- GitLab From 363646944bedc3dc980430f5a1aa87e509349cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Wed, 4 Dec 2024 15:42:13 +0100 Subject: [PATCH 4/7] Revert SPDX license identifiers from files in ci directory These files are not considered IP relevant. --- ci/CTest2JUnit.xsl | 4 ---- ci/README.md | 4 ---- ci/build.linux.gitlab-ci.yml | 2 -- ci/build.windows.gitlab-ci.yml | 2 -- ci/checkformat.gitlab-ci.yml | 2 -- ci/common.gitlab-ci.yml | 2 -- ci/scripts/build.linux.script.sh | 2 -- ci/scripts/build.windows.script.ps1 | 2 -- ci/scripts/common.linux.before_script.sh | 2 -- ci/scripts/common.windows.before_script.ps1 | 2 -- ci/scripts/test.linux.after_script.sh | 2 -- ci/scripts/test.linux.script.sh | 2 -- ci/scripts/test.windows.after_script.ps1 | 2 -- ci/scripts/test.windows.script.ps1 | 2 -- ci/scripts/vars.linux.sh | 2 -- ci/scripts/vars.windows.ps1 | 2 -- ci/test.linux.gitlab-ci.yml | 2 -- ci/test.windows.gitlab-ci.yml | 2 -- 18 files changed, 40 deletions(-) diff --git a/ci/CTest2JUnit.xsl b/ci/CTest2JUnit.xsl index 515d989f3..8ba21f4e6 100644 --- a/ci/CTest2JUnit.xsl +++ b/ci/CTest2JUnit.xsl @@ -1,7 +1,3 @@ - - diff --git a/ci/README.md b/ci/README.md index 2d36b9548..bb16f886a 100644 --- a/ci/README.md +++ b/ci/README.md @@ -1,7 +1,3 @@ - - ## Eigen CI infrastructure Eigen's CI infrastructure uses three stages: diff --git a/ci/build.linux.gitlab-ci.yml b/ci/build.linux.gitlab-ci.yml index 17fa29d7c..e46b38f27 100644 --- a/ci/build.linux.gitlab-ci.yml +++ b/ci/build.linux.gitlab-ci.yml @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - # Base configuration for linux cross-compilation. .build:linux:cross: extends: .common:linux:cross diff --git a/ci/build.windows.gitlab-ci.yml b/ci/build.windows.gitlab-ci.yml index 7b329a5d4..2fc21beab 100644 --- a/ci/build.windows.gitlab-ci.yml +++ b/ci/build.windows.gitlab-ci.yml @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - # Base configuration for windows builds. .build:windows: extends: .common:windows diff --git a/ci/checkformat.gitlab-ci.yml b/ci/checkformat.gitlab-ci.yml index 4c995c24c..abf979d89 100644 --- a/ci/checkformat.gitlab-ci.yml +++ b/ci/checkformat.gitlab-ci.yml @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - checkformat:clangformat: stage: checkformat image: ubuntu:latest diff --git a/ci/common.gitlab-ci.yml b/ci/common.gitlab-ci.yml index afda81cdc..4a0283f61 100644 --- a/ci/common.gitlab-ci.yml +++ b/ci/common.gitlab-ci.yml @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - # Base configuration for linux builds and tests. .common:linux:cross: image: ubuntu:20.04 diff --git a/ci/scripts/build.linux.script.sh b/ci/scripts/build.linux.script.sh index d43d63deb..d00edbfda 100644 --- a/ci/scripts/build.linux.script.sh +++ b/ci/scripts/build.linux.script.sh @@ -1,7 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MPL-2.0 - set -x # Create and enter build directory. diff --git a/ci/scripts/build.windows.script.ps1 b/ci/scripts/build.windows.script.ps1 index 084b2aa47..2249d008d 100644 --- a/ci/scripts/build.windows.script.ps1 +++ b/ci/scripts/build.windows.script.ps1 @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - # Find Visual Studio installation directory. $VS_INSTALL_DIR = &"${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath diff --git a/ci/scripts/common.linux.before_script.sh b/ci/scripts/common.linux.before_script.sh index 9439f57e9..9222a843e 100644 --- a/ci/scripts/common.linux.before_script.sh +++ b/ci/scripts/common.linux.before_script.sh @@ -1,7 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MPL-2.0 - set -x echo "Running ${CI_JOB_NAME}" diff --git a/ci/scripts/common.windows.before_script.ps1 b/ci/scripts/common.windows.before_script.ps1 index 18679d902..3a6f456a7 100644 --- a/ci/scripts/common.windows.before_script.ps1 +++ b/ci/scripts/common.windows.before_script.ps1 @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - echo "Running ${CI_JOB_NAME}" # Print configuration variables. diff --git a/ci/scripts/test.linux.after_script.sh b/ci/scripts/test.linux.after_script.sh index 7b90e6408..3bc0c2f4b 100644 --- a/ci/scripts/test.linux.after_script.sh +++ b/ci/scripts/test.linux.after_script.sh @@ -1,7 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MPL-2.0 - set -x # Enter build directory. diff --git a/ci/scripts/test.linux.script.sh b/ci/scripts/test.linux.script.sh index 19177f0d7..7ce892e3a 100644 --- a/ci/scripts/test.linux.script.sh +++ b/ci/scripts/test.linux.script.sh @@ -1,7 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MPL-2.0 - set -x # Enter build directory. diff --git a/ci/scripts/test.windows.after_script.ps1 b/ci/scripts/test.windows.after_script.ps1 index 042cc1b5b..59cd5a9d6 100644 --- a/ci/scripts/test.windows.after_script.ps1 +++ b/ci/scripts/test.windows.after_script.ps1 @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - # Change to build directory. $rootdir = Get-Location cd ${EIGEN_CI_BUILDDIR} diff --git a/ci/scripts/test.windows.script.ps1 b/ci/scripts/test.windows.script.ps1 index 50d99a459..f1b0c693d 100644 --- a/ci/scripts/test.windows.script.ps1 +++ b/ci/scripts/test.windows.script.ps1 @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - # Change to build directory. $rootdir = Get-Location cd $EIGEN_CI_BUILDDIR diff --git a/ci/scripts/vars.linux.sh b/ci/scripts/vars.linux.sh index 8515d2db1..f77255598 100644 --- a/ci/scripts/vars.linux.sh +++ b/ci/scripts/vars.linux.sh @@ -1,7 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MPL-2.0 - # Initialize default variables used by the CI. export EIGEN_CI_ADDITIONAL_ARGS="" export EIGEN_CI_BEFORE_SCRIPT="" diff --git a/ci/scripts/vars.windows.ps1 b/ci/scripts/vars.windows.ps1 index ce41500cc..0a1c587da 100644 --- a/ci/scripts/vars.windows.ps1 +++ b/ci/scripts/vars.windows.ps1 @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - # Initialize default variables used by the CI. $EIGEN_CI_ADDITIONAL_ARGS = "" $EIGEN_CI_BEFORE_SCRIPT = "" diff --git a/ci/test.linux.gitlab-ci.yml b/ci/test.linux.gitlab-ci.yml index 81bdc109c..82a88af6f 100644 --- a/ci/test.linux.gitlab-ci.yml +++ b/ci/test.linux.gitlab-ci.yml @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - .test:linux: extends: .common:linux:cross stage: test diff --git a/ci/test.windows.gitlab-ci.yml b/ci/test.windows.gitlab-ci.yml index 35611c5e4..4db6b492a 100644 --- a/ci/test.windows.gitlab-ci.yml +++ b/ci/test.windows.gitlab-ci.yml @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - .test:windows: extends: .common:windows stage: test -- GitLab From 2015fa7a66f6144e368e66e8d2b57a6206dcb2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Wed, 4 Dec 2024 15:44:39 +0100 Subject: [PATCH 5/7] Revert/remove Eigen_Silly_Professor_64x64.png.license This image is not MPL 2 --- doc/Eigen_Silly_Professor_64x64.png.license | 1 - 1 file changed, 1 deletion(-) delete mode 100644 doc/Eigen_Silly_Professor_64x64.png.license diff --git a/doc/Eigen_Silly_Professor_64x64.png.license b/doc/Eigen_Silly_Professor_64x64.png.license deleted file mode 100644 index 819ce0e0f..000000000 --- a/doc/Eigen_Silly_Professor_64x64.png.license +++ /dev/null @@ -1 +0,0 @@ -SPDX-License-Identifier: MPL-2.0 -- GitLab From e1991acaed0faf4d34f6aea6fa57c9a2222a737f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Wed, 4 Dec 2024 15:46:01 +0100 Subject: [PATCH 6/7] Change SPDX identifier for eigen_navtree_hacks.js from MPL-2.0 to MIT This file contains MIT-licensed code --- doc/eigen_navtree_hacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/eigen_navtree_hacks.js b/doc/eigen_navtree_hacks.js index a01468baf..cef9482c4 100644 --- a/doc/eigen_navtree_hacks.js +++ b/doc/eigen_navtree_hacks.js @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: MIT // generate a table of contents in the side-nav based on the h1/h2 tags of the current page. function generate_autotoc() { -- GitLab From ff132ce6ee538a7ee928f8f11a06c4b698457532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8ger=20Hanseg=C3=A5rd?= Date: Wed, 4 Dec 2024 16:09:54 +0100 Subject: [PATCH 7/7] Revert/remove SPDX license identifier from git related files These files are not considered IP relevant. --- .git-blame-ignore-revs | 1 - .gitignore | 2 -- .gitlab-ci.yml | 1 - 3 files changed, 4 deletions(-) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 8993c9600..e89d7d7b0 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,4 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 # First major clang-format MR (https://gitlab.com/libeigen/eigen/-/merge_requests/1429). f38e16c193d489c278c189bc06b448a94adb45fb # Formatting of tests, examples, benchmarks, et cetera (https://gitlab.com/libeigen/eigen/-/merge_requests/1432). diff --git a/.gitignore b/.gitignore index 17be83215..369ae25b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -# SPDX-License-Identifier: MPL-2.0 - qrc_*cxx *.orig *.pyc diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7ab2f2b6..80aa8dd98 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,6 @@ # 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/. -# SPDX-License-Identifier: MPL-2.0 stages: - checkformat -- GitLab