diff --git a/CMakeLists.txt b/CMakeLists.txt index 116849c8f0b2f09ba6c68d20cffd80960df57f59..daadc53f18261a7b1b852fb1f12def002c8dd7ab 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 533be688ed264cccc1041da0077ecd3768863169..a1e857e98259af132bfb754a5a7a73b37b0d798f 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 b05ed8278c67883007d2957d08ea5222ffd55170..e33c3e53274fb02847a9be98a4d72c7c37fe1365 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 adc5f8d63e755b4f21531fecc6d471f8596fffb5..f0e2db40898bd529fa073e2e7bbbfcf48c708ba2 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 f87f3d2f63026789a72da9b49133901857171959..38246ae4c6eb0520c5445d4527069015038e1a49 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 5768910bd88c43f0761f2f345c6f0e3b46a4d8ec..bd2c8b421e72914e099fb637e6d21f91fa40a2cc 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 654c8dc6380f7bb21d3ba1a9ce916006043552aa..6221ad5ea58bc6091075ef2b231360a4df870c67 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 3b0bdee171517756b97eb773f89b13656c49e5f8..df851d755a1e7dec3229a94fa72fef222f0255d0 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 019c98b6ef0b1d265c42ef7a1d884f078ffc3c95..56e59ef8095fd3bae7f034735f8f3e0cc212de2f 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 5070e070e677727c50acb2b3843051820105e8cb..f722022712274ef691643e0c9bf9739a7cc5ae85 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 fe5159e9f881eccf30f5d1092897912879dd209a..055cd06ed82585b3ffffdc27335bf20791ff4a35 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 31eb36a79f696008287593df4e4ab8876d9536da..f058de68898fffa1f36e50b814a3ba7b9dde5d5d 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 13959a3c863692af4d129d353d10fd35a39a1e1c..b62aa7145553cd21fb22950d4c1799370dc9529c 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 d80448039ef3cf393fa02b6b008b54eb787af968..f908cb401e1b6ae78041ea4a364d0df1c320273e 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 3636d3a06b94518d2a18ea8866274c163896bcdd..abd5e0f4fb23c46aa00ea8b2b08fd519a49e5d14 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 016741945f0e90065795029b761b2a25b0997be5..bfaee8ad7e79d507bb2c7889b02c7c7cf414ec66 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 dd1cfcb12de9c62126202f3d3d7c3faf0858c69b..b1db2730879e8fda097ad33b61e10c4d3a5077c8 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 4aef5fb346c3d371b4d67e35f3c928ef9c97ceea..122ab0ef9b58ac1b2af97565b22566b23267c3b8 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 c38b453b076b3e2538f847fa9258c0d30a26363a..10a3546ee3b7d3e432b7a43a2ff0e8f1891aae0f 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 585f8e81ceb88161ebbd73b1989a6516b4f585af..f08210d54ea0ae5c03e8db143ee97f83c711fb05 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 c01dbe0093fa816bf30fa156f46a90b2e590449f..80171149966b41c29e2aed8fc2bf229b608b5adc 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 2a013f825d77e1bbd51349861b8d0e0d9385dbdc..8c9b7e79f0003ea08497b0110183f124f8c16132 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 4d0ee8bc4486fc805354570af7417928d85c6973..1e996225f2922b731a72f278eee7749f6bd42388 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 6abdcd6601cc85d15fd20419bd28af2391907d0b..0e158d86e5886eebdec5095a324ac2043ea0765a 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 56a9401af34a61f2bdfb2d646ddc71d9f2aa1b7d..8ef99db9d276bc6f1ec9e29c24e82bbc45a20447 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 6faf13069439eb4b744354b497f77b029bdcc971..05fb83f2b41f5755bf47db677fef69ef7127f966 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 b4f1cad6bbb1826977e4c0debc669e650bb435ce..75a7be4eebed84bbb32a42a7668f997bdcedbea7 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 01e1d76f043b4cbb1e4776f8b5c11ea68894e7c0..3281d87988284b9a067a32326b8196a883deafe6 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 1453c9f569163bdbdf062d72f42c55a8cc50387a..7094efa93e2e686fa6893a8a688849e5a7b131ba 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 711a654eaba339044faa0a1b279c003402e8906c..425d295a60e08256646bccf112a5d8d84dbda7d5 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 79e2222f40dfb4c2099b70fd64866eebd4f6f3a7..a1a51d489387dd0083409314994a42edb7375acd 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 c6e2cee5b6252ff0abad3623ec7efca341649e0b..385f106ce5b6221acb7d7da7e5437c3842842d73 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 126344cba3fa3c473afc079dee3003cbb930dd33..6041cfc7fb171152f5c4682bb9c5b02134ccdf5a 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 09967fffd8142ad0422a99377a8258aab0bf0fe4..2f0a5c883e7eb902169e1827b88546fbd1f66b45 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 69bcff50a65b7d856a69b859ba9c23a36771be27..8f90f6c2a6467e5f25eb7ce9fefd6c8c64c45d07 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 5de2b219b3f66eaa59773f6d05212c930143856a..0a63fbf10901386ba5fff5d8c0f2cf18df306bec 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 5d52ab20f6430e99caed15cc487bd4ef7f7ebd86..c25568f129f74cf7362938428cd8c9b1d5d6bfed 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 01b44769a2623c126096e40e25f8006ec451628c..6021cf73d6c1f9b7a9dc382aaf80d6cdf51675cd 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 7e3c881aec9891435d82b082bce449a96bbb9944..f40efc30cb188513b78746ebeef68454395c67a2 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 0fb3abc704095b8874a447c99451f7f12f1fd66b..db88063d4f4e76aa88bdfddc4c75cd6884f855fe 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 ae6373dda2d2b75c3b8be9ef5e0fff5edeb21ccd..2fca01f79c148b04b59a31ab46a0dba6c1162fa4 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 2098749c0fd75826f850819ced8573a6c04abee3..1b20e748704390d2b59da6b6c19555ccd4728600 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 6237df454be146a550d134e462d43bca53c30298..03607cfd52cfd8bc18efd0e4e54d2e4e9283f4b0 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 b636d88ad18d22444af110ec8e50951c2734cc39..e512dd9baf03f771e944970b9247e3e0e2f87610 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 4b30f7bb6264b282b09fa4010f9cb7d24810c1f6..a4772328e5e871bdc26919a37a0e508a11cb0bf2 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 e70d5551a9c63575022bf7253005772de1127417..a466ab803fd12a2cfa0d06e9d8bde0ac956707d6 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 ca991cad26ad2e7d1e3b5d8da54c27a1c7e899cd..1f52fa86bf30b3c4f4dcd47281c8e9c22186d428 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 709264c69990545d58ea6bb7912bc8426eeb57c3..39435c4ffda28a26f981683a9b93b64b2647ad77 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 c6291234b1bd48ae75d8164c5e696560e2b0d384..1dc1cc7e71d5eeea0d1fc90ca38e803b7e7a8d74 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 dd1770b1abcab1e0b2f59f692da2da97f6e71089..e6766989df0b72e5a907e4c6993d8f8bb1ae79fa 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 156ca2b6073576f23d7d87e527ea5fa367fb85e0..12ec015f68c390c83c58e126339b76ff91006249 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 f62cf238e75da7894ef263b7d58962073aca1dd4..ed0f16e145e110c2b25c6d4ac43dd6d8f3ff620b 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 aa79b60813d0e00672979f6e824bf261eb1f835d..0c40da57abba3c8fa7ea8e25bb97674b3c021d4c 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 86ddd5e4d9a3c7891a4ee4ac368408e03c6c2056..b9a9679f0eb9b9fd66eb694c8829ff3f1519e645 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 9bb0d4075c8374704b36ea5b18f81b0ebfd9e9dc..cb9070a79c1b48aa7db0c5a968e5ce9b300ddb08 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 42ed459a0f015dadc2fe2f0ce118916e5f4a4000..f26bbbaefbb66f62fff4405253f54f9d5fe34bac 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 49b14101115e83df86b35e7ba15321d5bcd9cad7..9a936d11876fa7f672c70946abbd1316d55cd5b1 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 e1fbb0b82ad134ad98bff6ee0baff0d81363ca1d..501df7b3b3b094cad8702ccf707f1a4960d1cfb8 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 97f9b50f3456350e06736d6d101771086af12be4..b7980d60bf4e2212f5dcff61efec0122d12f69c7 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 d62586c99b5af40c61f2578903fb51edf393275b..729af9eec4591816a633ba057ca5d5028dc5d113 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 3ae8256f573d9cc2c4e1a33442e15b4f5c1bf7f4..b04e98aaef08d58e3e499751830e84c1326acb33 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 8d27857e0504e04a311120312aa92dbfe0237b4f..6b3eadd4a06896bf000b546ed6d7e941eddd861f 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 fd61bb7931c045ff8af41df493247f3694ee4f3c..2699e97d02a3a6a79647e242d6cea9246891c8a1 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 bd0feeac7f09f9cb2bc6dc861c700a61948c6edb..292820c57dcea81f52d0fc8315ed7749f878a6d3 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 059527c85f8c7c63a0bb6d6c5b4098303929b184..46229f5f719a8a2014926a544e20d7e9afd40768 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 6d167006a094181fa3693b19f6b9daeb6f2afb79..a435583fbeae257e81dfd5df05ce9246344696f3 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/Fill.h b/Eigen/src/Core/Fill.h index 30b36450e79b5ebf382eefe38b4452d08a6def2d..95a9872d0d4e4f43bda8c9fdcd020e0383338eaf 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 diff --git a/Eigen/src/Core/ForceAlignedAccess.h b/Eigen/src/Core/ForceAlignedAccess.h index a91b0da6a35769c0de787cc16983ee12cbfe8bba..15dcb53d76382625a27efe5c9e78df0c750c9f0b 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 ed6b4ffead7488a977452bb719284f3a9948dd40..ea709369ddc3adecc3821d6e7d6a9d5aff3bceee 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 e4c51d2a6f6c1870c1a78f7894051b400372062f..a60df5f94b7d08d824ed8ca0c65e3e0c7b36673a 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 26a4634d39ab00209cdbced299331e5412a365ec..b96acb6f01747332bb7da726249f39e3eeecd3bd 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 df1098e27e6555a921b562ccfd31c721e140152c..9b156f08d947fdcf84e5b2d4cc6841476be52b3d 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 0a1b583d6ccda31bb6318883a0188030b24927fe..9c475f8418d052d8d1a2c8a6beca91ac613a801d 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 454e560e4b974418c60f2d7d5b5800985a49a89d..fa9d46d1dcd43a91bcfef6cd8d1fd8143e5c556c 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 1e16942c238f914409f84aa6e7de7f124f136115..2972b16b3b3878c8c814542785ce00dc345042ac 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 1cea572dcf9875c3abf175513397c2a0be053c90..7696f15f5dad18d959a59308a9dd5239a5dd8ee3 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 013ad0a942664cdf4e61c969d28454f2e320b1a7..a439496d2ff2cd3368746d74ae978f5a79fb607f 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 df7b7ca77819879324b2688cfb18d8321b5679a0..64ad10b97d2e425297d130e6bd74849874316ec7 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 1e83fdf70fe3c0e67a392550760425a78c5fdec5..d7ff814e3415312af593d23316120a069dd33187 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 57fb3bde3041fcbe5bfd6cac2ad0a27743e18822..27eb88d8ab8207d54c34f41077ef081f1476f150 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 10ddabd7952162c17ab4920277157bb66c486f52..ffd862af33f15df48f3dfdcfb75d6c7b4328931d 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 8b7f70c162bac5883d9cbc55e4ff5f9d045ab0b2..a6aede6e1634c437caba81394f3eed14425396d4 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 81d5a97ea2f17490b3aa875038b05dacc1444f00..26dedb7bbeffc28ab968c6ee8906ef79d04768ac 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 ec360ebdea969ae427de3598dde06b06c3c8efaf..ad6c6d2051280ca4a8d594f22a7e6faa4d760b2b 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 b6c7209104ea8455c18e053990406242a3860753..50dec1fc82cdf654c8cb2503b9670e1c543c9323 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 67a6c08ae4473d0d608a6f97826ccdfada8b01fc..7b3f41f95c5720c695d98710ee060f74f7353750 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 7b2c8dca38f1ac941819e1d5f1b50ba91f63c4bf..e23033c1bd59ffccd227f9eb100b25f526227796 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 4748b118a688162e5b9c6ff02d537672c05e806d..e210cf62b18716623306e3f0603f6128895dd04b 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 8720c4473e35a7ac24248b73ed6a1b52a7783141..54049bcf9a1bd8554a675a37769b456ee0c66c40 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 37683e3c27269eb8c1ce179711da852ede7e8747..01652e62cd2c0a6dc52d679a7a91a187fedc3d72 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 77a658a8ef953cd4c01fce86b771ba0b0fca87d6..37c4ab810478225f171333708e9d5a44dc048feb 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 f8a543562500df7137bcc6fc3d82ebe4eebf9873..26499db10d8b43bed29c81be0f1cc7e5df8b21da 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 76e43f5dc5f655d04df0257e88470ab5ce985f09..933e0ce4ea8b1b1402d7327a746c6a5a824c4472 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 0c5f2d9f6b6859bb8cfa4c23e8ee96f3fb957df9..57d5dabd54e1fabc7f1c1767b19c93276fe02253 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 129bc85f46fd59cfe2398c48b933dc46914e80e0..1273bc4350546e7dd493c9b4ad6d993d39567d5a 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 11d7ad19e989fd97b3a1e3dbdd83fda00dbb7d0f..7e04390b9077395accde7ed1afcb1b2814e57273 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 4b34e16f6a496cda349245b4d8c6b9ed34a325f9..10ee3eb1cced5e13f64384c77749274402f23c56 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 3b5e470ce4275277c848fcd5824a1dead4c18587..d555a2d4e802665d5147535915affe374d637a1a 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 eb06fff57f7fae37d912436132fd861fe65996fc..a564dea1b6ba518c69180158aa10acdb0fbac3bd 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 9f4612047ab29d1f385d01bf74eb4f44d39a653c..6524034bb52a38d45fcbba30dab3c4b607bdcb34 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 4e9a923a42131993e5e6f0dcbda2e681545c0be1..ea9644700e7a77c1f6f6cc80ab7a74787e44ac73 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 4dc92f174e03cfa05ca717f62f9fe58a8fc1da2f..1feefeaeada2aa5384cc1e59a575464d7326338e 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 b3fcc3a005cf902d31a20a6a9f7623e2a5f961b6..8a338cc4ea617a23e2c4f7b5734e98f31e55e575 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 dfea9c6fb815425e9873f9662cbb6f89e74d0348..2bab8e9e51cd55e14484be482bd6f174f9d3e477 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 26d62ffa45b26f4f227b976cf325931f468feb35..4f45dea89e0c9114912c2b019dcf36aedb350258 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 df2ac83710010032d07c7755e0960a705ffc6781..bfb8c6f3f5dd3a69dd600c5b7ba4e5a855da6cc6 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 711ee3fb474cfb8e5519f07d609a87e422f26386..0d497f4390a1396f960f697ba47e5d4a3f0a878c 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 25d45753062ffbe0e3797854798db880411a6833..605743cfa71c86395fe8b40831a7002636ca456b 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 14b025c4673487af7328196fe51e14658e987513..00153492595eb7815f2e9a2221c8a3715f2281e5 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 d417c1ad1ee7c5128f6ac03d286c3e17dbf2b7ad..3e9db85324285f546d074d492ae605ba2014e406 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 89e3d95fd72231df734c47fb054cecf380bafc6d..f8205b85e9d4f15458b10d8b9da23428e573ea09 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 6fbbbd81b1ee2a8e9c7af6ea2115b0e05b23e245..d834357c0f3e179302bbae6f6b203b0a8584c29f 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 2b1683be95071fe1216324f761f0700b874aa56f..93532b556cabe1c7e79f2e7045773e3fc839f565 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 5ac13eb8e410583c412f02deff11c3baaef8b06a..cfa76b40217a3b48f1aa6a03c9b8d5d82dc8fd6a 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 9887db67a49efb15da841bfc87845f443a637d98..a8f9bcffa2d152844f8f76acd67dde356cca9fe7 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 198ec952ad55ff632f0559019c1121ac9b5916e2..249de135282cced49f3fb4568ac62289106aaa74 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 d5506dae4d36203ef0e409cf317cfc8144bd6138..da158917631ceb9a65bdd9e11a3f5ec5c1778f74 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 a5c38e7878c26c6cd2b10e616c4fef6a096e1af8..dc86c3d3f8d1fc4d4e57c775f3c9bf1ccad6c6e0 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 c29523a7ce40a939ec4f7d064665cf59fe7ae81d..afbacb52bb63661541b40bea65e2b3cceb026a54 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 9dcd6ef844fe24927ce27f9fbe75ea58519145e0..3cae04e67599187c48836a3e38437749b002d34b 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 b70c7fefedbe03ac8843808ef6cb6f7800b35d20..6afb50b2353c5115e6774ec8aae8c8f6e882b242 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 e06b83c91c4134ff8de104b8b2bbe285ab526b9f..5745d989ebd9664c1a778d5ba3b39cf5f56d294b 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 6039254297b851f8245f7efdbcf28d38a9696e09..c4a8dd2a4833c97f4134e3132b015921b569ba3b 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 5d869e42b1f8989a511b301a4b64332611332b08..10331abd184c1ab0d2018709e4ad0e9476751460 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 df5a0ef7a001772adade58b146566cbe66d8ee1c..a7c54f0e25dbf3c38b9c5a3e4d59c1e74626e918 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 c763b5fe3244d7e8b74556ba4558aa98cbd33173..1c53eeb21730490bd1dc7380c4639b86f65e02fb 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 1983c08a19ec3fb3963f85f34b20bca206f7b9ef..641fd8e269b5916e0752425095895934ec97e110 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 9508ac66b85b0b41201cf5c259b04fc03cd05e00..9819f1aae174be53e981bfd93ae90f9c176a2f39 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 0252efa6d48d36dd8a4fc9a1b4be3d5a60fb1729..3f4deaff75438149f0dafe9b050d285282e80b17 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 c95ee3885ff607ffc033a6c9bd564e9ea19b8a68..b7cf140e3df804229d37e90a20f5ac1f876ab23d 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 be79ebae230b0744a5d5d524fa771e9694b9a321..4e841d79e7f597ed77a96d0d74bc6ce91ce377a5 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 e78ca5af670f117cc3d3ed50bd6807ad7d911c67..96301bb515b17a916bdf83d334eb84ac6b08e9f7 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 94c5dd2737d5d8880a7d10773aadc78cc1f34c5c..ba597787cc309a7ceecfdf6def222d82ddd21310 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 6ecec0e616edb67b5b9bde14cfbfef54675c43f2..3b67447c5c0bb5c547fd24b5c655b070048cd15b 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 90c0d39202f7d75f3439af0abce93656679448ec..fb6c4e4b27b5b7bdf19d5b93ce57619817bd14b2 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 49220cafcd8b2c07db0cb0cbded2b4227e3c901e..d84ce7c02379b9d095095acda8e740a175023306 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 fdabeb95f3996e9634efc40f778161bbcb2aaff5..badfeec06a91b85757fcd5331a22e44446171fdd 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 fd7923e16a21ea1f1a22ad9b024f7e7ddf766d77..f0fc1e2d1a2f8ae01d1f0f41153e1520d192aeaa 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 174eb575d139dd6119e2396cacb52b798af0996d..0e84af38ec99fafe5e84a5359ace51c545446915 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 ac0e2cfd31d42386dc8c1751ee1b538ea0c38ce9..fdf3080a9481c6b72e2883743106e0fa5d72661c 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 a8cb228c18674f5021aee2550de817e2d59157e5..9c33c896ec44a63561bd837e78d42d9ef0550cf3 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 7e3a970ac58983fec6bc8b01536983d994a8a7d3..61af103de464f1ced34ee5edac5268e9ffa45eef 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 fa46aec7e072a8ed9961febe17e2e232c42baabf..891f3f9da812d056308e8464688c747e3b1880d8 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 81bc8bb5313c8060221cafe90a56171ac5250f4a..76f5a1d34135341c5d6f2627c4c218f81ae13ca0 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 6d4230aa7a3ec5f9b637dc449ecb0475663a185e..3d24733355d9fd9474fc5fc601e2d5fe883933f6 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 6bea9ac243da7be8c4378372da5e9aa75bf84d1c..1562063f64c4f14539695238ac01254ee51015dc 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 ae43f8eaf26c6110c52f52ee276a7d96693d8da5..9f06663b992b2d7fec4aa366cfce2581063dd0ad 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 99dd3ae0885b03c2a8a822c293816aeeb6210b7f..9ec157209ecfc1747a8397f6a181ef0a60e3d061 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 ccba96efd7726efeedeb466231a3dc08be132970..61391920133b6a3a127b36f2964edc4951d8e924 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 2d2fbbca469f680e3d6267b86de0872c25c96f2b..deb178d6c34cdb2c86144a718480170e3b9f8130 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 f68d254f7c633fc438d028858c403212dba65c8f..947453f152cb21c813d58031a8341b7827695f00 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 81da24f8dd5265016300c19496cc80ef6b095acc..086bd33c5ec84db5df515fdb7e6c766295853c1a 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 4190d1bd1ac7a60fa1be2e604c27f953f226b209..7e61df57274df6d85a05e84f2660273f5040b4f5 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 4ecf7d15c4c099288be841e57d3b96fc1858edb7..b2d7aa4f15cd452501a290094be3c07ac9ba6772 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 0046e01efb81c1da4ab09aab0d2a31e4774f6547..454b1fea9a92ca1e1acb3aa8ed6940026822432b 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 3f2d9d51a01855745c6b9698c12772df8985a62c..fbc332c4f00e67201bd091835af2281103203d39 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 58d7b8cc98073b4353b75e94cae9c552fe1846a2..496f03d41236b15b7c5e724dcb4b7399dd4b26e2 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 8be5bb09c0ba91e3719c79016b49f76c215436c1..af9e648947090eab8687fd05d4dbca03ee48346b 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 c69e3d4791f2efdbb446e8c3aa1e6771087584df..104e78978998655a753362423896a7064bfb7dbd 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 30c1f07ad20315ba8f19ad8ef98ccd56b8707d4e..c730f5ba88284ba13243f92014bbda263900d2f3 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 77f0cfa729996b560041001a4c83c82dc4d800cb..ba1d3810973ad9780ab7184aba91c5ca923b8119 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 9a7732a60d40586493d6ee5f8b932612e61fd317..da78556361b63c44c010bb00c81fa7640403feed 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 8c8ed84cf7ba81b9fe9d940bebcb052d2b334465..5e41dab9c9d88514a3cd1beaebc1bc146fa2a10b 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 952d7561b680bd455bd06a9cd70b6f9157c5c230..3b8badc930e3267e70a79cf859d4ce95d1eacc70 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 c7027b3014697a4fb739274e5afcb6833fdab461..ec266e741a46950e97de8a278c54b13f154760f6 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 578e0f3a7243352f1bc8eb2a8d528f1046cf543d..8db27fc5a4ed6432a506ee64f75351452295aff4 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 b20c32b32087b0552fdf9d89bbefa5d312b989c3..b99a04eb6e44b72e0d87b5594680a0a0c2966d49 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 6b6bfe43b8f219753ad3e4d374d91c9604d0f39d..7ccc1559e139a1e96271a9fc4765d827faaf6db0 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 6e3fa4fc5be0c6eb911a16bf3c59180f919f9f37..1112797f7dfb9759b5817b29d9cbb0815d93721c 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 9b8974742b3834436b0ba998ad759b7083198b2d..6475b6d1ef5db4b28797992673859378e27b9d97 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 32e042554fe8f1081e5cf051898a08094079563f..0ec6eb9d85a96ad07a182af547f341bf4f95fb2f 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 b45681320cbad958330ba0187874ac7db723dbcc..6a16d4bb18572fd44d91b3ab5510f10495706ef2 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 09d1da8ca2bcb41384520f46e2b793ba8b28a798..941d1b212c38ccee9020a6f9e06ebe3f01eb9292 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 c91e6bb526448564cb38c85fc2f1a340778124d9..41b891daebd8be0415265b97355b67a54db0b3b6 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 a478b80dfa12746e835fde6fd9add881083d746b..5e4e425e85309eb1f54965a9da50350cd9fe6419 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 0599ce3f2a6dd29e25fa2cb3ebe420afd881b84a..2976b419ee4ff13a1ed9d6a74b60cb7de3909cc8 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 745779a137d6c72b6d35eb4cd41b30ec51bc8744..e22bd3818542b7cdf06b776c9e95b44ea553a9a1 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 03542e3318dfdbff4fdcc62866b3f433e589ab88..85ace1439f7d2e936dc49d5b9bb74e4e27db9ad1 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 b65c246e7d083ba0b6e3b4b0ac7adb9765f296bc..75378961d076e69a927ec55f57bd8c9863637173 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 ebfac0146be7a9502d1ca043c18234848be65614..3df72da159400768af3e97905136e8dd89b2568f 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 f47615f72756367eceb584af4f9dc395e3670f93..c047ef49a9da145b1671462a2be3af9b66cf8eeb 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 ba72a8a4fbe2fdd87c01ba89b676790379b3cdf4..7f0e7aeba533fb9805a29c773ecec98396a98da1 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 018efa64b2f68d71c5c6268886869c378a6757a6..d4a780c15a599f39b001bcc291ba231ed7ad8ef2 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 899283dcc23a054b6028cb9a2cf6ebe54e942608..b5bf6cff6b7701f49b58b0557fd754dca1ea7bdf 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 10f60266df123470f8fc4ccc787288c049097472..c6cb67544b970b6f93f67a49a85f7585a7bb89b0 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 f1034655eb7cda8797ecc6e603c5a725218569d7..7b7e1a7a1c3812aa838b059a12fdd4c1c082598d 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 9c234ec2a967322220599a4a04f8535ef04f97d3..a5ff189ca2c1f28f8d65677a7aa22f4f88662b21 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 a0d05ef8fdbc27586b62f6f91674ba2adc18ec1d..8c9434df12dace2270e900c27c782495ccc7e9b8 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 bef4cbaf88a2d7e325d4148f37123aa32cda17e4..bdfa42d348868e53016639dcfa4db7402ee5f405 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 8244758bd30962f00de7c73179451645d9bf5270..4c59edc6ea5d5ad1a5eef020b61a81feb4b2ab05 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 ff7c43f735f011694b1c995d7d99004ea9e7e4d6..cfcbd08a0458786cb48e0fbbc2d66ea48a06861a 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 09a411a0d2b9643d3e1c61d119113373be254c17..07c4f43a1edfbd803c22bcbd7406c3d75a469021 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 19d9917d788add4ac7fb8dc7fb104202214ae48a..6af4237718a8a0038147940189a8d49be6f25eff 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 47ddd4f8ae33405f2a6600dc33bd3d07a668e63f..1738e7db7e9d5687ade8ec9bc761460015bcee05 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 4f0b273ce086a8d8b4c81cd737f85c2fc9b4bda2..7bfd66835c3c8a1331b5924868d13c80a4302c19 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 ab0c542d0e24c6ecb77abfc535c8232774cba6d5..71ffc401186eb6184a6570e06e61085c11a5ae93 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 f2fd10bb165db0584bb1dac150086171a8fd6ef5..7be001ca5dadb75e59ba14bc1af7f54d02c8f16d 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 cf25359287d06b9d9868b40e1d71c3803ef4832c..1056e6d5b01580252f887451150eeb488818b005 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 abf4b19502c694602d33ab72cc2d11d795041305..47912d9647da12bd9511833b2aa0366d0db598e8 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 53fabd595111b5583292deaafa4b24e715d013ed..3d16a098be9fc8ac4d19f178ef356c1b8ef05db3 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 fb560516419e555e772e190cd741de0cdd69323e..6ff2eebb9fc5cb11f840acb58fe249e422ce8183 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 54b556dd01a7d5ed6ad588df26992d5189d65214..e1680cf8758d188cff07cc34efb5e80b85f13318 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 a278c9129be0f3906fd8f84bd9f323305000d7a1..bc7ae5e90d122b52f167968b2510461c61b72299 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 80c893dc45e9d4a1d3356cac23d7d618cec04fdd..c25514e0afd62811217d4e9f7382423cf6995601 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 2d4aeee23c89377a27efefd9075e4f9c5ec02a19..1977b235d68000493743bf4b01964ea9a1ef0ad6 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 0af5a430fc4beb8b091c656e5d276fa997baedff..c17a11cf29d696743fc66252aa620793a29fcb28 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 e56940880f5d6c23b50d07ca295fba5f3345304c..40649cd97840f08d159e4a5dd90f972dc8dce369 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 1e12820008ab7fdcd3dbaa9e75cd16024afaa571..9dc532ebcbf8394aa248069e4f61956a4192b892 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 f06235404f048a9a2f6159b8f8240467e987ec15..eeec6c3ef9398c26587c746fc52c34a7d0e16194 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 dc204af4ba2e74d0cde8eccb9f152805e59caec6..eef57c7a0156e799404166312fff031dbbce0141 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 cecbee865201710ad7de6ddd455c39c8ddd8ee0c..4634cc01ffdb53ecf5253ebb254e902492a24334 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 60a24a899e1b086664467e050891af7ab6af883c..1cf6c6bf1c086b008da2fa0f18d374951abc05e1 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 a33e46ee794361dd35494946e7ca94de6de9d8a4..f8e373e3c85d1008d01a2f3db8e9bde38e86d9c0 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 f73d58f870916f14498fd63183f881037b1cb8bb..bba27e6c9115b691cd33ccbcfc0e8f5e19016302 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 b114cfab5519218cd76614483eac276940cfe1e7..f9ee2404167609d265ab4ca324ad4cd4d2ec76d0 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 adff3a3b58f2bc36b8ea89ee2c4bef7bbfcf9636..4206beedd3f4004448ddd669e38a89d7b49e05d1 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 f79ee331ac5bb0e03265b2f3ddd253e71462c041..ba11cb62a7f70f533746ce120cc57ed96a48b969 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 374cbd45571c50f267fa965c32a79c0c659323e2..4df3d0013257e7dd2b0238f7b8df8d71eeed6e09 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 62227bdc166f3eab1ae5b7b543571000946d5f1d..b048d33e0c31b9dfda3adfc8a23b97192b997d13 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 3466f51c1010b3cd0004c3761e2ce0a63a393487..a8c965f83df96bc8c7b842a86937edab454dc83d 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 5cef6587b3edd570e0726aa0ae1acebb3f466e1f..78b63a0eb989d097de0669f232f35589d1fb1329 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 f84da91399638462cf7de51794b7eed0302ccfef..f24b2081136ddf197d9c0048eec55202ee8da841 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 e49e9db5af81d780fffa30f41356c8d6e5b01eaa..b7caeb849f6b6adfd5836c88192dbc2662cce0c6 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 a00ed178ddd45cd15948804089181419d83aa676..28f240676998f33660c144bfd22ea38edb9b736e 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 ad6b821bea14a0e618f6ef8a739e8364c81e3fbc..6cf8e9f45db8751f5d1a77948ff88d9e6ea55c71 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 64c1b651a68248d9d0e742a23add83f3b8cd383b..22b2a57de6f450da15f0585f73c38b597e9e9a02 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 0fa0319a03deffb6a1837cf5337279b90ab01fe2..695e7f96583898ebba98cc4d8f0ba32ab1f615c6 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 a1159a3c69cfec90be8ebe9a63c1d8fd7dd2f666..56475c9d10b75f69366658f6ad504b54f6c2cfdb 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 a8e050236e13f7cce4c27af9df62ef2e14c5b0d7..8eb2b68d76e650a170305e2abb89876502321f88 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 5bbd87432a98524ef4f77b6f9bb6066cb5853e87..6e3df6bddf4adf460fcfb8da2525966dbde3373f 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 1d8ded9bd63343bfef4026d6cb75f8c46065e639..47dac274dc3ffbb023d3c81bcb2009b229fd8078 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 59180253a51dc91e99c4eee4b42f3cee8593b6d3..5940748b9d5023c602bee0a85b3fbbb3a85c7213 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 3a3a3e31c689dc3c18bddd2dcc25f0011c6f36fb..af90322ad73f36f0cc13f4abbd23d5e582779818 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 a0604cee16af284800e592b0496fdb37d4d46f2d..96fdd061ebc01e293f3dc9d3a781c702bbea6e6e 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 b1a9f21fac590af1559b794594ae3cd25f7b153c..2a41ad15d310523aecc77d995b127a5b72c861a3 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 682c4c70da9430b9ccffa674c822ce14968a599d..231523102efa0cd11879997c530f653ed0429a9d 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 f8138b9aeb5ede43bb3de35ef38cc77f54a0387c..981a0d42d819da384539842788b8f03626bf63ff 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 5601a473e4f86b931e7b6bd30869049e44d6f347..25a2bdef4c39b009e7aee1077e9a9c532a554128 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 8b92304912fb4888d0500564fa3ec06de0a04291..8b443c471f42532d1479ee15f64818bd71863660 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 96b1daf5fa939cb84794e656e971e235a87b0ce6..1c170c3f00bbc7d723b3ead9e2732adda925e0db 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 024c4a4becca15ed0ff86095ebaf1f3b080e02c0..276b1ded15c4c03b598faa58bcac1cb3e35fe56b 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 70de89bf2dd1bd4aca112137c582e1ecca09fa3d..780fd8a74eea602b138422201a13c48533000cdb 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 0beef60c3506f99de2327248245d412ba3952d05..ec1974149bb19bbfb1786c4a3a46e2eb14351e7a 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 e3154b497a5f0af29569ea219804bbb637c14480..ea38146ec8019e350662d7eddae34d7948608a04 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 5bb0efe8a55c71c16d1ff614ab25a88c54540ef8..c2759ae34d164d04c8bc8e7884b71fa0523f891d 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 a97b9054cefbc4460dfa0ce84d4fb6e476c35086..69028f33ef07eb4b00700a6be8d392234ad3338a 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 575a7b223491938db76815df86cb382ca7d88675..7b8022b69e681382b18f53a8e23fdaa7fbeb67fd 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 b657e84de267e64729e011b341493719cf973200..0928993051c8696ece939ec1e29353ff61e86132 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 cf85f2e3af0770402671a84ac8c1fb7ce7c8c0f0..b64865bdb1f022ab819f22bb3195d09a988c90b0 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 182f3190a3bf2fc0f9fa7ff92a279120a2e4f6f6..9471325922049145afa8e99f557b2f606508b07b 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 2b146b373b23c87f691f12f8c1f4363ad09ad622..65bb6f167077d4f19b0628bd4b05fc9921ec3176 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 b17b1f27bb438bb9bf588e7d2d395f25a86a814c..65ba9a7335528320f6e1afbc1e350620fa2139f2 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 2686a5237af521aa03bc21c613c2f988df974f23..a45be5f658d75d0d6072b5399485167fd0b38e0d 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 eb1d67159f28b62387fe7eebbd81c79abc223a1d..75e04573914d54f335366df7b4f1b40916762ea5 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 574021dc592db42f8c88fbfcf931e80b2c5bb0ae..badf48b831b5608ea3ca006ee57fbfdb988abf20 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 ae4fee38b4814eb784e77f897308d0a100f9fbe3..6a399e8f00c4921ef2b9ca23a9b0cd52b3f2c8c1 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 466834ada69686bd4168d20983f1d4352bc950c8..fb5f3c90016ccf28a8fc4a55686e30fd41b0eb01 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 f346b17957ca853aa92bcd767394bcfd88144d15..deecaf50711d4794b3968c7f8b64f51cf1d25ed2 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 57fd67735fb82976ee798443833b507a816096e0..e798126985f96eaf26bc7e0c4277762a977cac77 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 1edd6b8d0559b77047b249f87fc3f29e7f36d164..8dd705add3a60331878f900c2af7f4091d90947b 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 29c9b03674bea836a27729f145a6d92a07cbc9de..58756dffb1a96d74a2ff022fe44147418b91e541 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 9d34825f2fa584083a0923b8f6af948e365ba280..8ebd71c70cb359dfead1d994b4cf3295d131b504 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 6c7bf946503ff1e95396764e7d8eae7688ac0438..88f68870fe711e7e6af7720bb0c0f047e84e5608 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 0b0bf02ece64a21863d670f04696106ed62bcbca..4e7d695e9f8b01a5b0c7931647c9f323bda71831 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 f6c5be0718ee79d5b24ab56304aaa0f82270ae26..cf58d4da7bbd94251cfb297fe8918094d3cbf34d 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 713c447947b3b4e164d110a572a731835f9d4bc9..d2483dd4e5b1368f2b2cdb1681d6e8456655d7e9 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 9a1c5357c3f67b4d0949ddfb37cb2e1369f813aa..a4d5b66a7cdb18e73be4ccfec7c388899392aca0 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 f588e50230ccce26729b4c26cd5015bd6f03c613..1c6df1eea0bf5b1ab1a0aba9caf7a27b8c545974 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 fb7513313eefbef37dcd9bec1fc22f44ffc94416..be4ec84d7cf1e8042434364fe8edf9f17c95f802 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 8ef33f051ca6980a63ef882a12c7bf85fb99978b..c059222d95166347646720d285adc6a74e0e647d 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 092c29d61865ab73af136d23c49f113e476ba74e..102d08037a34e10452d26c07c82dc0e1e2e66a06 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 960ccb1e9ff7fb68bb85729a3b04f60b621cda31..a2b312fca2fc9408e40c1b6e7abe8fee17e27fbd 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 cae9ae4da07b475282e839c63677a36d92ef74d9..dd14a5c6b73c06a90bf203beedf1ce9917ecd5bc 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 e297372589589c2987db7a3d8f54be8eb067815e..d21bf4ba49b21993bfe5d75e5b9a654185ecd561 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 bf8df01c39873a4255255301dfc3c2702354d000..0bd2fed292bcc68da119bd3080e5ba5461551618 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 8d94ba4b609ee15bb114d205fc4b8425cbba8b43..956202b48f923b2c49f74561ce59d27b3115b67e 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 313279488228e05261edf727ba9598abf82e96f4..cc69f7a6788218ec5ffb1132b65c86736f636920 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 6b85d1d5a76c2c18f80fd5f6feea4fd53bfddc5e..fe8a4376c9f5439a82eb4b86ea298c11be40f1af 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 fa67b96acd4772639b6f900d08e018ca72055b9a..1f5e8908db0ba1e6444b4082dc479d2023cb518b 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 e81db2dc2d6bf81f6e11bcc72fd046e3e918b451..e9a9292221e71215b258d26efe5cdd3826031c98 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 d1ad63de2698079bfac5675c62ff50e1fc70505a..4779a5a0a306ac7acf78bbf2e70e41d2e6773417 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 d78b30bc89f7ec1a0ed6e65840d4fe6331d7326f..7bedcc66821e160913ed4efddb5c1dfab49ebfae 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 f8d876286fe88052629eeb38aef7cf5463c9e2f0..4cfe45498693eac5a9bff8add180fd1ad8bb0db1 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 f3ce975cfeb42653f3b7fe682ae811e83916f203..0612248277f98ecb3e08031bd7f6f71bf1f543a1 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 0b13c56b5d98f88cfa8ac9b5a6cdc57e5f8934b4..867c916cb7cd94e4349a0a4e4b93690c0b519e4d 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 9f265f05604a3c3666fdb8505feb3552c6fe0036..4ccab4081b85f0863f6084880ac34e4aa4a0f6ed 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 8f8a6963a983e49dbc2e913c0b271924b13db6b1..73f4775d62034018e48a1a2d42fe473a22964ce5 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 3c6e797bd5f7b36ad7bae4eebb94d679d2ab480f..431abad9b372d8ab93f2daa255d260ec38d4d970 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 9de593657041cc26b99d987bae2d0e985d3d7538..4bb880fcf86c4f398b698b9646e63f46d5f01b3e 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 f2da5193475e121e2dc5dca23ee91fdd35d3da0d..ba403ac68df66d47793fbf7d43b825dd568ba31a 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 1342f4e7bd7a6c483b9b308543d17ce5a3f49896..6288c74f0b155f61a895a943f92bcb3c18d17fc5 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 76575c99c888e69c5364058808acb3bb7af5a71d..011b3f065f900ef3e6af390db91d10e00f5c46c1 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 c1682833d0e88f564853277bbc18c7f25b869700..97c6096b7017dfa39407ef1bfc98ea089641eac4 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 7fcf2c219dc18470ac16f69708e55fb05db99ea3..c25f4bf3fba379b7256d3e4bb2fd271afb8afa67 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 9fc1e66b8f1feb77f80cb423c7faf91ba427d95c..984c7a5f4b2f754848d15caa2e1d564a56d4695a 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 17ce596a5af9fc96769a870f6c40ae8482131f8a..7db95d30f8e697774a652766c9c0d3cb058394fd 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 1f72a6b3ce343dfabcc1ee62a8f9268cb345c68f..bfa8f713b2a61418dacae714fb687226af8d9ddc 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 f040915b27777c111a7795a45820ee0fe654e694..8af8efab1505eecafb806eee7841547f9dcef91a 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 2285845fb6095be1675e6707c849eebde21ec622..5701778c701065a702ded55532304e7064d37c44 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 73e29c7b175d5fa321859446bfed6b477286dca8..c3bc75f87553f9c734e1d6c75f6cb0c5c7cc7171 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 caa8ffada318bef2abe70b9d851c3aa1efd55949..d8bb82d8c190b8f1df86743b42247fae0e8dd82e 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 b58bb3842bd278edad8c7074813d0de7d065deda..a84d51dd692ef20aa8738f6f1a97dce052bac895 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 56f572d35608541dc6401efbbbd0b9a7e90c0e39..23ee8c015bc2c53b9962a51c00295870cfe890d2 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 249dabc14588fe33190b039ec034e32461302f2f..5c5a3fc59fa3a287cdf15ec1ae4e00bd74c19b09 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 732e4f77a7c213e1504d28c24431441e3c97c96b..c9fcaeb5efc76afffc1dee7d9b9d3a527c4ead6e 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 c205e6ddde37711045dd77b718f13009fbde0c4d..5a5d9dca53dd6ed9e10882e6f238fe29e7d96bac 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 05b3de56e463e6d689f1ddf31990f35d7f4b56d4..c3f848772ba1d69a7b744bfaeb4467397a8284cb 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 d67a6773be9bee5f42fa7b5122695b57edc0d255..6dea5536b154a978469b106fcefb4f34e72ba2b3 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 6e1c9cf50746ba5693fd5aef13b342588c974306..96a5c4edae1fc0a8a8c0d05004606357cb5acf39 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 158f7788b107a0aab2af1841521667d1d62f1f8d..78cf9ca692b5a308572301206a6c8a139c2353ad 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 a6c3eaad9b6dee7cbbedb9fd739a68f5aa4b8aec..5e137b1f58eb33659b886eb9e65b6ccc9af8324b 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 33cedaf3eb3b2089694194834d64cfdec0135f7a..a66b5b025ea80e467783125ddfab88a8320365f4 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 3f72a34dabd9510a72b45e63a618ae22c769bf10..9ac0e160dff80c9346845879f59ce94c44b3da91 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 7220beea4f02e277e786f9087af496827ff29c2b..85a82144bea32ebd080c806e90e1071ee03235ca 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 7753a246aef6c9c30d5b1f509191119d196fab2c..7973a290d10c846794a92fa316b88835a91046be 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 78ebfcc045c4ba33fac6a28d147d4d2fb15dc774..2f716b31188fad98720af627cb9383efed1a1652 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 cc69a42de0ad6716e00f426fa4c34a7632e04eb7..c6d779a65406ca5eb3616d330c610c4338779ae2 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 96b9c651ecaf526a9f1f953ba04b2557e6f1db3e..11817c1a189da6c5906a31b73a7f6d21c4e776ab 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 22affd2213c2409d5375eb881f5dacb29e52cc9d..f38bcbef6fa179b25365b7dd3dc35bf1e1f8809e 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 85ba88416e5a4ed4ea969c9ff87dfa0b7dfe4678..6a1cdf05e7e714ee6fcae51eb7494eb3bf335af2 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 eb1590916cd6e84760b21f0b7f81aa86833dc80f..58806652da3f31b6b4ebf0b28423a6367ca22df1 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 ef087cde58df0a68f79f9d24af2950b3633f4362..d4585a3bdf8763cfc797e462514a11a0310361b0 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 8435b56228d28bc483557a4c0525b7979d18c3b1..58bae8ccff660375e66c1e93834c1bfe52d94d16 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 e5fb771579fcc71bcfcd8611b9aa960483034669..81ad7552bb6004779f848782c88ddc902031449e 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 12e7650c47b6f11bc07c83bfc5c3ef11d7bacf42..e2fc0e66a067e99866c9cecbc6b5ed392432204e 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 8df830b0844151c6cfe7aa2e6daf7cb37cf48028..da95fd194e506c21d76d34a82c1f0e2628355860 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 54bda0c51e672bcfefdf0507136b2ed559422b07..c1a2d754d9ce832caf3f43aa4cc28d8bbdc9a1f2 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 505d98297559910f0687f454029222b005aec861..9a016c7d9b485a73178648d0a58301f98688ed67 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 df3154845acaa97fedc4f651d7968a438323fecf..90f5d195af3145ffbefc5b49d3fb3528bc5e7c37 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 10a090b53cdf48b69a6434ed6157014eeb0d8ebb..e27dae13059c0475e685df0607b850710a3ff6fa 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 620f2850c2595556bd32dd00482318e6be9aaac9..58d710862876460b9d69bfe3937ca02c582baa65 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 df3869eb0726b1dfd174c20b50beb6433ec65aa6..69dd53aa6aca8539dd99af5d71cec542cf4fec34 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 0564e932aeb837a8c0153a5315be1c84677cf0ff..47f1b600bd5d3c51a62c7da628ee0a5c94739fc8 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 acb0c5ffca6c8b1b8a94d6dfa03488ab403571ce..78068fa1d179327026634ed599ea204b8defbbb4 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 692281beac6ebd001b17c7b31b909e83b955599c..df2b5cd44edbd780e56c94bbc80f8debb0b29513 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 26395df3df2d6194b97b8a1539ae3cf3dd808e26..46f3bb11d2a7113cdd0dcaf2881ab0dd7e447ab2 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 dd538e95418cd941d19a3d6a7e6bcbf2709132f8..1b8b44fb4df82750008ebbeb74ae586fbe91639e 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 9bc9d210749a0e9ffd9ddc3adb9ffc17ca63e4ca..9e47fb6205727b4f20c9284ad695492b8a41bed9 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 94a62b55066b83097dd046a10fbd3943ce630c38..f611337014d9a880f61a63e9983f2e696014bd73 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 0c101494ae528c23b5c1a4d02f0077c71a87b7c9..5790bde6c1c7c4b330fc4653af0ac584af3d27d5 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 8b2f8da71671e2b69ef0858b235ba533cfcf32cf..90da8862781d5b4e13b961673b73da03f1409423 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 acf1d628b6110c1f885aacc759eacc3eae90e4ca..317c11153211260886528910f4d0638bb6ce7d3d 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 6eda6f4b632edd5d6deb4f05b01057d102055f00..8c82843d775d741fefcb6ede115735564e8ea4b0 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 5b27ef436ca7eb227eec7124128fa061a045fc3f..05455f1bedb019b2e76f227328e12681c0a43018 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 b6abc3cba76ca0fe13490ae9f55ffc33df38eb8e..fa9470790448ea8ed3571cf5fcf59a16028112f0 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 9046b18018a0be7bc7189efbc455e39f6412f355..44747750be5ee57f8cf1f8ddd576dab1cf76103d 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 6f4dc67d27186e5924eaf7971c4bb4ce0e6250c4..321ed9e6d722270731aa8df59250f250c96d42dc 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 b4dd05c76def1b87015abe2a53f48a48337d4862..db527cd3476953d5665a0740804e76e0e55f1c21 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 71df401ad8cac1acbb9b8c48c5823089588c56c5..2b9968ae3f13f0e4e756f953c81f0a51c98bcec4 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 d07c03e8afb622c8c9f229f7f12d1a776d61be35..4cf6fac205cd70e98e388d37ae78c79a5d5de250 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 f556ff632d527f7cccfbe237d6547100e9e291c0..e0502a0c605151842c7690708380297bd75e495f 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 64112f1a4ca9a79cd087fa5b39897fce357e27dc..cc24bf050af68b9d647243f34ec56378b3d77e31 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 3fdcc1fd4414d68651c75df9a866d2ac8cf372da..55c8f8d9c5d8ff92fcfd26e025bcd3efa9ea00a3 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 38d516e28cdd7432b6cc25e2369edba0cfb20db6..955c53c1331afbc935a79b1e1cf17a64b25e3457 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 1cea572dcf9875c3abf175513397c2a0be053c90..7696f15f5dad18d959a59308a9dd5239a5dd8ee3 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 3ed458bc5f26d14861607259cbc6b1c7ae898d56..0105c807d877cf65a722f9f54b7dd8b6d8d865a4 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 332a5abbcea28d1474606885fdc0bccda7c12dfa..e52b6bdcda2300be8b2613940a673f7abed1198e 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 f12bc7cd9b29cafa088b05700e28136f98286743..b4920a972bff1dcba8dc5a9fdc65e5239a7ae9aa 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 5a2f38fc2f6a55e17d942fce8d8e80870370ed1d..613e9eebca4eac968f2c5f03cf350c5c0cfda406 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 d852de7a1b58a0f7ef7212622ead70d151365b13..d027ec2900ace78c87d08830aa95249c6a3fb55a 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 10c7a3e214ba466aa77adaa44881573d5ea1a128..44fe6deb5bd845d4c1a1fc861c9da4ee01e62f93 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 93f7eabe5d64d3f212e082b40cb301d0c631c262..a8f6608717090b3194c2fc4c2128c4d831c20b5b 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 46dc9ddd1024aea6c18d05e9e7a2344d9e04ab36..bb9315f2e25feb0877ab0643ab9188b342c7ce63 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 95f338a0679887a5928c68a91c5bd592c4583bee..a7744e9dc7b4d4632f39e2a9c99ebd0b3c2cf264 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 64f3648840fd9e3c117bc07bc468179318ecee79..47acc4a9efd2b04a6cc8a3ea75e774de324bb31e 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 a51e3492f5ee4e331e8c7f38b60bf1df533a73b8..59191220604af248dd14700b742cf293cf998169 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 ac6821d18644993b7157999bd452ddb88d7c7d7f..5b6bcc4b5b8e168f38a3c3e7e044a862cb20cb44 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 fae92d8d9ae73521cd82c39745e36806b5a5c14d..77769b4df0e7cea7cd0ac199d2ed4791f421542a 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 325b0fbe0d3a4fe42cc5ab0488acf9aed4154b23..3b40241ffb30efbc5573a6fb40705986b52672ab 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 c1f90e72977c6e3e1e3a95c80f4da408c6e44aa2..c884cec382f15549fd4ce925912574e2ef3c1fd3 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 0b8c63c1d6a1b435b3a88ef0163614ccfb5700db..9d03a8233435ae39963feaa1bd2fb46d478b82bc 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 c436739af6e3c472dedfa16406625b1373e872db..4173657c03a41a5969f667e8acfa71f301eba411 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 3c33e77ae6d00ac97c0d1e76c0d0572009a84c8b..ea6236cc2476758bd8aeb6a804f8915c8c3871dc 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 8b7341ab85e0a794778e6a7762ab47d09b3a4eab..5f4c65d66f5e9bf078c7e8e3a4f22fb2b7ebc650 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 8c94a797e1c984744c9b6a6df90c31dd0b6f24e8..4c40a9c9a5c1d0bce9fbbef242349ed0ff61d573 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 5d99b09fd2876b57752eb5bbc149cfe6fdba808a..6c34bc482aa46f82ca6cca4a39d278f7e8c31ddd 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 f2b80dfd7a9035fd2cb56b6b63e2ff360339e7b5..81a1743f8a1e436440366f14c9a8898601e3eb60 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 fae2c551eb777b825862e241a71fc004ad0cd242..e5cfecadd7ab23967d8f565b3fe2ac0dc70d3f26 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 3ff8e941c1e0f3945e3299792e69b723e080d78a..1e60f4b1d9f51fecc44b04d5a6aa2660c753b6e2 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 25df142fe686cfc5a8c31ae2236a3dd2ea3c3e5f..61f2ec130e0d9a1d52973b56a2e7f636582aaf05 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 811a056e3c59d3787c88d8e7256c6c951199e6c7..8604941294c3ff6595b4a0247ad3770d4d35d314 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 3f51402b125f7f8303aa6968610aa50e4abe3b4f..64ffb7c27b36291f3e790fdd72c9f37f8180bffd 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 300695b105d56914cc4894ed7331944e5507f064..e248101ced1c6d0d8ecb8a7d2e47eebee79ed170 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 f9bfdc1d46d6cfa377c16b72974d8c1a13b711e3..00c7c2890e545741a664d1d6bf80a7743d8cd37b 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 e6c3cab1002700a57f00a433dc53663c91bc5b8d..95329590484338198a504ef899e5fca40002ac0d 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 5109960fb9e0acff10ef835d97d59889f86dccb1..de237fe795137e74341200d7061b55a2ab4b7de0 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 4e8e085c0ffa208145d1d4ac0ae4013545c33f67..61ffa9d151b458159e44ff8f52510ae8b37191ca 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 92964fb08e1e5160ed32d48d1c75c3872bdabeab..4f25bd9fa51e58a2172aebfd237a9d23ab328408 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 9cb96eed312ea0f434987cb23a9cbc95fe4abaff..aea2b1d1f49027553caae7b17bb945a93c29ecd4 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 9e46b6e8b5a2bb9ea21eefa45037a7754d605f6b..e06e2845ef381c2919e8f12f35f8c1226356af7c 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 94b9d2085120a23c5314ba057269b8f77a372109..3be14464c60432fff3d7d7b66654ef3e33343f2f 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 842faec4aaf2bea4c9611a56b9b8219a2abfbdb3..edef9956ddfc38f3d398ca7617446e8bfe4b0a58 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 28a25634b9b32990e11e130fce700446305e2622..eb99aae25fe3ad8f7f79b16680e9b667a4be06e2 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 3181a503830d0271b76487cd48c96d8e91f34b94..f98e74b2945647a63068f65265d23124ef87528b 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 a65af92d5e2c2603d0538204093c9a1e9df38ca7..0caa1745c4df2d75bd32a4b2ac1572c702bb5061 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 202f4324d0acb044d5c2e9274639d059f9cc1f5b..c02fbbb8c963b4bcb8e6b8373076ccdfed3f89dc 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 d1ce492ac03c3de387fc40fb7df02d380bb79582..e4619c683ee76ed6ff2d702af09e31586175ecd8 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 ca9f48f3d9479eefae5912e2c589a283c0b3e630..8be820f62e14c6e8e6adb508b9d56e460d0740b8 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 415944cc0799a62d44320c337bb6c0d2dd37a1aa..42ca527d9d3ec3980ce465f3cc370f14813a44dc 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 66a7d468be1c8332f14816895c2e1304a933f0c3..1a1c4c8b638b279ac72888c0dcc6a1e919540dec 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 fefb6954d40cbdb435207f21cc9448937aab4922..6928c0541139ecba2b9548a9f46fe80e882dd9eb 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/cmake/ComputeCppCompilerChecks.cmake b/cmake/ComputeCppCompilerChecks.cmake index 1807485e47d535af2e9bf0e2590554d9662b3707..1f34fb9e0c8df4db96d9f29ed94328189a98c87c 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 942d91d6401975cf80bf2fc87b9799a55d9e77d2..2b6c522c32748f9a9422fd86d1dadfa3d1bc5f78 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 96582f5d99230730b45d9d7eb1c309a1058273af..a82a8f96b390a3a7674e4dbf6120a379ff0d821b 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 2a1e7ab5a755509cf807a6e25998ed63aed1114c..7fb5b4bd4eb6964f8da4b4a97628deee16735ef6 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 db7d3ff5e2f6364d56646a395754ff64f85ede44..9b0f06d65b8465aa9a905bdb8f1b7a9802f69e7e 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 a1488fc4762201d291fca37fd9e42c0f8f17189f..dfda51d9cb7da7d7adb88b4d989768b20ee94558 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 5e63c98d9974cdf7a5679690be9dbf7d78a02b30..7c5c4f32e5a6e4cbf0b6b412b0718bed8b4e98bd 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 787c31c6efb339960efc48139beb1c5ce6e85f0f..5bba9afa14ae67af2654f8c852c084334317c3c1 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 13c59fcf72b239670020a9f9a129fcd4637d91af..07a69b599da883450fb98d1563036595faf9927c 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 e470cb2e0e502b432625d7813e07c1c42da2f3b1..b1c0d3c5c92eb3c78df21451d838a5f8ddb8eb01 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 e00f19fe6384d02c7462e6e6609b2b8e225e9a5b..e59edccbcc3865bf269f29309dc3e77ea1a681d9 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 73aa30f653d42deff3ee0256cd1b675e2605a927..f2387f68d70379adc96ba50e781d05d3a52927ff 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 ed55c5fad6baa31628a2327541a03c1701055566..ea6556711b8c9d866a9aab5950e633a67592128e 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 c41eedcf0a5ed3d818fb099d03b22e8e1fc231c8..423b1a50c2587eff87f98b96ee2e49188e481b44 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 481eb4dad5fa234672600d5de7f62320ad5984ab..8aeb76bb35ba9d3dfcdf4d6fff669b2f0f475c3a 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 6217d14908fe3720af561c2101e91666bda2ee07..d55220483ab751a3340e69a20d25cf0f341c8bde 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 d6fb2e13d98065505bd959298ebeb9d488cb5507..e410d07ddcecc07314ac579b36aedfcc535644a7 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 f0a15248bb8f5ad912ad492d642bd0b3e3c6d2e0..0f37bec63124e90eb4653ddcd3308d51fe2c04a6 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 d4aa423699073e3f3004fddc8b685a472b8dc101..084ee495146c3a23c79a72599d40e3e2e86f89fa 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 bb7b160deb3702579ff14f2f54ba52fed671a4cc..94f26bd2e386e6c041de21c866446cc40e6ba7d3 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 2c3fccfa3bc92f58e6d6f0f5cb73570f47636d9e..ca9e0133ee21f8b543abfab87d03fdafbc7dd909 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 d9b5d06e73c998c91f7372ec9562e50117737d44..530a9c3e35019910876906c71b046988b5ec29f9 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 da8985717974359810e7df52d257cfa8692fa844..11a660e5660c180d5186cf6864556772cd1b3be6 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 35ef5807ccd3824c6976dfbcea8ef4f19721b412..e82926be7e5755363cfe73025d8234cdcacbe8d5 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 a5b1dc8fd066221d97bc69a5bda6981fa01c5c25..9c192fee8f6d0654713aab82ce6ce6a2c2e568d1 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 8b8e5b941f15405124497d82b419b6b13fd7c54d..0b7d9a6c1ac432670b295b0adb0ff90661ffa2cd 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 2ac7821066b569593429b882fd6c9beb940232b9..4da74b6245a3065ec43cb9ca08ed81220c7caff9 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 9f1638233027cac1afac1275d00f129f50413d12..8cb1a8f92de9493095bea78ff82068a5eb8ecc86 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 790c45bff2a816c394ce0ea648cdaee08d014421..a8e2e60442e76a0967b5dfcb41ffb702b9e07d74 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 ea01d9036bf4b0f0102c9850e0fe269476b8d66d..b947fc79167839336740c5fdb656cb754a5f9869 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 676ad23f6fb9cee97d14451ab83d8e4bb750fc81..a8f99ca0133b4b8ac231be93be8ba47ed158fdc8 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 fdf559bcb29702d79540b4701c379ede7a247a1f..c5f596741346ae9e156f099d2e06b611d2900b3a 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 b28c625a4ce764706ba268e7d20928a70de79b50..e31ffb6793e792594f504a8660178dc386262d5e 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 db28c47effa3febfbc98560e614f8804ab7a1428..e5abdead9935978980efa469b611c5ed18bcbdc0 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 11418c153d7367c4b1e3b00c289ed5fdf8733f18..909710f2665dacc732b9f204d3ae2fa6ae416ad1 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 5f8673c740e17aacfecc6e550bf746ecb3b5e829..cf7cb9e7934fc77019e7faf3593587cf4c884097 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 5eb4fced03841f8a34bbf0bc828bf5ea4ceac92d..4c8f3516eac9f71bf1fdf52831d3c8ccf2d7453a 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 b12d09b7d9ec95674f9f98a37b0460b8668795ac..b7709044e47df29bd9b5e4927dc0a5ef235f286a 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 dda235f3d9b2d5a5fe0087e0c608a525fbebb3ab..a0026baedec6317c8ceb8f3d5f889f63e29d33be 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 e7eaa4ba92725077fec094105ec26f9c66ff67f7..6a8b29c1dacc64d0151498cfce6290d206ee761a 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_navtree_hacks.js b/doc/eigen_navtree_hacks.js index 38a498a9991121d15e147eaa1ef296ca3603b16c..cef9482c4549f7913ae704cabfa99f3878c49e42 100644 --- a/doc/eigen_navtree_hacks.js +++ b/doc/eigen_navtree_hacks.js @@ -1,3 +1,4 @@ +// 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() { diff --git a/doc/eigendoxy.css b/doc/eigendoxy.css index c746194e6c627c118991880f2fe423d1b1049b46..90c55515c1f4e71f75ff722a207592a4201b4718 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 21920562a831f80ad5df7d913b1d3d64db994510..b8e8692c0333f1a581d66a0c8b54b1a978b89606 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 dd49e3cec233d1470d8ddb409a49bc9e495c5687..8132fc9106c915dcf1d74a0e54c5da3b95c4f2e7 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 26e1e3c4236563b39d8462fbb89052873f389082..6d155166947be40c8a0c51fe26e05d72e154b428 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 598c18cac783019f2f877a906ae7722c39f80664..88c0805260e592d5f3e98e70cd5552155d5428b9 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 98b0b75bf54f01503fe501312d80a1ac23e015b5..3a693a99f49ab500e77aabf1515833c37e0f7700 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 10866d880a629efbb5eb40b3fbd8ab9e259a5848..7d9bd1b1b544b21195a42d15c73ce63fdba36a0a 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 cb7dace26c2ffd5c0474c0ae70308db788c65391..10aee81626a073bcb676ad76e7461ff7631d89e2 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 6a25500883e6fc1305da391d82386944ce12e717..968dd047311e76923484a59ace031bab66042f39 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 52c032cfd679904dcdbf65307a4f47414e91fff2..fc606f1db67263ca751bd0ccc46f31278146ba61 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 4db5e706b067ac94324a14b82980d962746e8aa6..563c19e51fd3ff0dbd98e73c6999ed7c494eb7a6 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 103ddd5aa58288ff4e4dfc4a3d7bdaf916097c43..17c4607bf1d666ed77183052a1bb44fc9ae8f8a6 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 c7e7c32b98083cd5c28b4e2db8ed65a1d085dde8..9b47c427943d611bb8029a769bf13b25b96dda66 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 e643a478e3efa6dc05122f99ef4da31fe1ede01f..c70efa9c967f160c0a4fd9067aabf6f2b70b99b6 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 09919a361c5c23bb79b6e47c69ddd4daa450b898..08a65938a2e933c8aaeafbe4b9c94ef3e0442323 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 4902988cdeb5ec43dc7a21e82d650cc90e4bc4df..e1c3eeecae89a843c7abcaa017820b4ce8b9097d 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 06f7e53dda310c6a65b549348e67bc40dfa01147..f2a3fbde781c22f47464b69ace33019d3074db49 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 41ff22e08a9d344524d9735e9284ce8bdf4f2e3e..3a02f7b2311acaedbdb732e06c976b883bc77884 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 268aa35375e7af9de3248ba57f751b5d88c5a45d..143f6c86c2c5630ad80d2b1f2ae5a3d9757652f2 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 7caed4ad9a3322a99420e8d6bc8718418cf31632..4ff75498c0f30b9c80864d095845b942d212625c 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 c11557da8e621a1791a77154877c278f8a624826..669bdd65634e6e37039a4257ef7e010366e4c964 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 c03fe5c9c945c04bbc73a48de646673ca1502d44..fa29df9d6dfce0a50aaf2dfbaa95b24c15f5d5b8 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 1f89146966f43ae8f277d08cb42e056c87139d12..49b5ed3b7e1b85aecf0c66559b82896d8d3ce7b4 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 3cee2b460bd9bb9a392a792a4743e881bd53feea..017a20544ff5be0aa61e315d295ad93f5182db08 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 6faccb6cac11229fa24b077e6f68f3ab7e45c11e..170d66564c3650192979be234edb9da32811f560 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 97251f8e37599bedffae5c0df618a52100047e2c..6d59657393f60d8119b00069ca858e9246d7f24d 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 5e91debfdbf9af9bb943f8a7b6b66125e9f87727..eee370f478ddb937629cc79e56b74e9f83bf9965 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 e9a8f3e17711fa219cb6694059f8d9a285a6c3a9..2d8eb0f364890d81ba350cd7d716036970f88942 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 cbd32388966dce429bc0cb5a2d59a4c1e87c8467..0f40c2b40bb742dd668ea46e575ed277b08f9594 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 9b02f2af7a1bc751f58c7e8e76062980f3dc2fdf..1b663774daa603b24aa9996b9d8a3d93484f9211 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 b5bc6ae3c964bbcebfc4a5808d3afa11a963dd38..a91fac8bdb67d7262f9ccde569d1b37a3f06a007 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 39c230094dd58f9f468b9c0778751588466ff8ac..89e4953a4ad63a7a4d2903f7579ca4227478420e 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 27b88b3c6efb78ded8764d70f83ffc11842999ce..326d7d4523247826875116245922c5707694a166 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 b2363340828c4366a129f401f7c47636ed634e0c..3ab6d9a0f0c1e50ae775f6033365dc7eeb0cb672 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 cd093fcc67802c29a57ebbfe53719081672fdb88..17d46c302c9d39a3624cfd355d6f30fbb17416c2 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 7c65ddb6a6e733154846eb34dbfa120d76c4e3fc..aa8ae9aa6e4417b3eed22054519398ccc13963a7 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 0ce2b0b03f23cbb38357c7f8fc0478a665b8d358..daa25ac9628b7b83302195ea553f1d6974068944 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 bfc097365bfec94084956701220bd01ef9f3f83e..5efb8cbe71722e2c1d2961c046d049a86c4f4912 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 61ab75f0ac98843d53d86d7defbdd6bb185d5098..1c946412dbba35787e7dc10511ce9a835aa63518 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 63ee72495d3c4f1426c35ce687027adaed34b5e3..c373d3161a17f27737da673607aa0923018b8ccc 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 1f937ad3d3a6a1fdbc9e80a7279a06128e08368f..d26a44bd71fc95526f06c8a955212d4109cd22c3 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 f40184bf6b17dc0737465edca725dfa614c8c60d..07a1c3b9453a1640964f2e1ef36f19405995f800 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 88e319daa6efdff58cd07a6a822626eaabde9f9d..fc6ec56e673b2facec179a80c1ac215f3237382f 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 71f203090591b04016d6d1f12a1413b27ed1fe80..cfcb2c3ffac0d0ac5f68f64892c5dd4aa4d6a338 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 75bfee0c96476d840f0092671863c2b81f3216ed..57915d1f21474a48d4d46cec25e9603a213a6651 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 695f538b24a29982c0886f0c260c3e6391b34526..8b0f6b41c158b7733b437de1d3eb76154187e8f8 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 b525b2a0fef24b475ca88e2d8e22fa6d832cf540..7ca430ab1f5e426a22f22212a212f421b6de56d0 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 ce3ca7ea43e8db9d4c67ad362839dddac9e3dba2..845b20bc9a59b78eed6deb29bd97b34c49f04944 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 102223f3c3b89a8a44ce44a4be5666b29e699027..bc4e4a19d92a7f2bc91a0b75db0c92d7d60ddcca 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 8e202303eb22279018edb28af4a29acce33d5ccf..5656004f184cf11531c808665f57d313928885a7 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 0fb9202fd0fa6276b073ececff217a8d9430b865..bfa6864905cc7e162dfe321f89efb64c00080ad0 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 f8c1f92d6888a9ba41e1e37e9b29a97826192b83..b871d47b106c13195fa7b87d080da4d7c24d207c 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 24177ce515f28a2a5b2caf4ac5c24fe8cb1ec23a..d9e28975ec4580777712bb2ee18520b949687523 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 279355c68b00b962c59b90d5ebd488bf1126e025..c7d1cdc4a0a102d26b570889b6e3d7c81d478f7c 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 875e779e60f33fac89f5f9348aaf6476e53e32cf..a55192ad230d502c045ce936e74e6e131a0d2b65 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 29a04f6a8b072a4fabf1b99f2980f95fd6a5ccc7..e5b927bbd1a6c0b4a21cbcc7d50f6256d4d73a12 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 cee8ac8846fc8faa14c25aca9e1dfb719c40fba9..609e297b8f02c56acac12863192f73f8fce9f73a 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 a91c3fff737c1e3b206dc1a8631493ac0faa8cd7..fceffda2073474d0bba0b51b408b9cc70fd65828 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 d427fa7e008208af90dd909925757d18d7557ed9..7b29c90ba9b0916d73d702aa62192c1b1e43a708 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 524ea18b5687d76ac26ec8cf08a86bfae0fe2871..44a6f2d3092169df359cb20069dd3f530f218b68 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 8fd8c76160995d05af4ae0d3d3af8e9faf06865f..66713c0659466dfa15922358ec953d34929ce37c 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 92e6aaa2b2c8a264b5b7f7666bdb46a9d0ce67bd..56d093523997420360a4b04c1ef386c67fd7a340 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 b3bbcfc50318625f4664cbd17c855a882b3c70cb..6029568201f0bba39fdeca5f13371650f5c33dd0 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 66f2c2762a0b03ff8230c225b7777118a31847f2..9457b379fa80cd9ee7ad8b2b4ec686e29ae7d9b6 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 f98e6909d91498a82a301dda098d94945f694fda..bd5b4beb231325c345a0dab9655878c291c7cf50 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 ceb43cad5498ab336166bb8b3a13d38c6c555609..4afe8b76b51e49bbd52b1ffe0f326d5316aa500c 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 09eea3999476c12dce791da17e961f62c1f6347a..4e1e891e8f21d5d457b72ce78e80f9a3e9ca061c 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 ead480043be5321924e4535cb6398f551ff21385..25b014b9411661f404661361e7745c3352f378cd 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 3140237421693bf369ae1e3b9877e9e610ce49a2..b8b875546cdd11b7a2236dadb051b2f0ff39bfe8 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 05f1ebd992dc4c13d8dda9e0f19523a5eaae2bc0..c91a92c9754a1e2a562f3d2d9c0964764c12dbb3 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 e509a98c90f7d68ae036cc818dc3b9c017254502..9b97b13bf48b503014f6c51267ec8e90cca38478 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 6e00919158a9b061eeb0c89cfd5ca77fedbe3960..aa310896473abee5e8b0571580f11a8db0728a1e 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 44645d8572ef0222a8c8d8f72c8b2ffdf90f81fb..5fb2d5912ab93c50765d64f0033eafd7f8950e2f 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 0000000000000000000000000000000000000000..819ce0e0f3151bae33cd8593d851a547220e8bb7 --- /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 0000000000000000000000000000000000000000..819ce0e0f3151bae33cd8593d851a547220e8bb7 --- /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 eb27cbfdc458348c2526fcf2926106ab95ea2fb6..36fa9fbc61f2aa058a56bf9e1d23b203d85fc528 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 8f491cba8607179b0e0e454891df10992a17aa5b..018925a8b1d3b58d107bdc984922b5bee2e936cb 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 398831f14b9195771e88d0e2da92834d185fc7bc..12a432dfcd5a064065854458c8859e638cd208bd 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 6df78a5074b2cfc487ac342ecd29b6008520ba53..1c13b3bcdce11c2f75f1b33eafedf2331ee0440b 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 68f07c9700983236512ee5b86d3fbfdf4d0fdd22..c620dd7179712bf3faa0ca067521759eec6a35ce 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 7fe53a5581d16b46a981ba6d869a3baf4c8e4528..64dda5a771361dc123b681b81ae11f2d53590997 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 868d669053de84ffb2d6885aa826f1e8d0b5507e..844a42533899eabc444f70e3d58671b01e6d9152 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 eb7d1ffbd7737843b232608600e707f3fc142186..8c7c18832f1f42eb9347527b36b8f9436cb09a86 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 e55409d3279ec187d0d34ad759ade1637680e2bc..625374c4d09fc320031dd98cc55d9067ce37e513 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 d3bff5199ae2b8977faa8c0a7c84fdfa86f358a7..6a28c215dd542497429c3f57c5895a445d187fcd 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 46aab4aeb1f884782e421b4fca2ef2100e431716..04cf7871910f771c804570557d29547dbfc1d0f4 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 53b7f8b2b5330b2811ace12d783c0cbc2e1744ec..50954d69453e67f65d35530a21900bed7aed335e 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 e1033ad8b8256ad310b54c240f89c7010f557b24..c24555695958aada6f5bcfd122f68663f6314223 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 81383947ebb0cafb777e48dcbf456e2d74a32cb7..4ee85496f5b85ddbaa769614047263389371f6a2 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 744851a039e8b1c7d4d259bf76b48590edcf34d9..a7492bfe4ad896a1c174cf8cf580b6872e55ebc9 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 71e5cb2dffe0723b7a73d0f33a3d3dfc373bbcba..7f70d4231855508b99fed903214c61ba11566b00 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 bbbbf52f7b2bfc36060fcc0bdb4c1c821514ee71..1e601c5a08f9b1e7c972a3564f4e328bf55318ee 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 3f45133b62eabf65e0b0fe7fa558700e62bb1b6d..a5b6368a20af4b6a1537d7723c5d78c12768e09e 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 5742f9ae6aa04e269a1bc39ee039123b843dfcfa..0c430e96b9f837fd1bf81b2d69eea24b2e4a2c4c 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 ab2d87aa48fbc3cc94a430eea8f3ad672cda1807..03fe127893ec366e59756010d604a7d9d0522763 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 3a64671d5158017c43db2e88df4063e44fcdc6df..cf27d203f960c7c76664043cd1e2d18b7e8adbf8 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 1b60a9a003fd8958457ac496282262865bf422ab..4a6345c969064f34639605023bd909458230154c 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 227ac36d291d24b5dc535d3d21d441a955b28d77..fa51e63dbdae37ab947c784d25ada79bf0a9bf43 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 404fd94743983832a534cef65f423ba102bd8226..e974d3b452392fc61e1d9a69c3421fb41e24b2a5 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 df87f7a28231380c251603edd2bf05762b365782..db876e9fdc49831b9801611a473a43ae7390a5b2 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 b6dcdfcf93ae975f1593a77a3281d5afa2a7535d..941c6ec6d41f342963d29757cec96603907d24ad 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 61238913c96243394158f4dc5cf1233c1f82d6c9..9ee0d67f0c550300bab5910e32ef55dc54039969 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 f84f325010a557ff3735f20f339353d3fa6673a2..d7f5ae98e6fc3715238580dd5e1b6a6bda624d73 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 3cd3304807f5d4c2fde2892529f2802e594e80f4..e84a568b2b98585562b03d00cb1f6419ffc9f3d3 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 69f4c3481688799f6e9047af90d438c831265632..bbd5c6eed79a24190aaa3140b3589bc43dfe44a7 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 7fdeafa8ca1433e56aacacb9be468be6176a7435..bc50b6e998104fe32c527f34c0af455905001820 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 9d65259d4b96ecb5b95d78dcf8c6050675f84401..c33b3e3a351f595ce465fc80c93d3364d13218c3 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 8f3ec85225a38b724a28b7b1db493e0d51211ad6..fe0e457a6b42652746f2e2d336f0804ebff9ba6b 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 77d448aca41e080634288d793f46d4fe52a9fd54..90369733d3cd1676adce1c761c839c5b85dff9c5 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 8aa94e85bbe411c99b069617dc55bbd0e77dbdc3..94a4120d92f7377d27a24bde9dd734625bde5998 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 292daef5b99b6772150d45153e2210402e397ed1..f113bfde7f7c032a295993328adfd1e179a7d5e8 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 c3309f2604e9ecd44fb7cd6e34e1bf7ee8622541..3fbbab14f687abe98c5742e7458f9187321458a4 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 c97b8a6fd3210d5d903ccb6ed54196efa15c3f93..2018948f756050d6b4e2a3e37d1148a5aff8ccae 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 ab2b5285191bea1d6e8ebc942068be8664d3fe1a..5cc80333673870bdb2a71091e5a47a333056156e 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 95ccb302b5ab75e95a1e664095604b818e916df0..23012489030fc90ba4906216cfbe04812dbe2191 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 08d65beda9e2d9e458d8121ad40aaa6b3bd7b69a..d65ca9783a333c2552420345b9f83541f0e72415 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 f3e13d6ea24f6235d326daca7db42524fa96847d..7ac7906a02b8703fa875deb1485543d93317b38b 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 8656f485f7e8cc60f32de252f734e3828c822f42..35d5316a37134cb712e8ba413b55a5628e57cdae 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 ab8d397ef24185fb3e0e6edc018dc8ec8c144172..097686e539d0f7128d9fc7ab4bdb10ad6749ef7a 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 771eaf2d3ad29727a1794b7523e4e3e427df5d74..4da5b22fcfac48acc4b098c0dc1c6015b665b09f 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 1389b4ade6c5d48c80f93625218ec6f8f944756f..06ad0968fe2bc16ee40a6640dfbe0cfb06b9a32f 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 33433e0202f0aaf95f094b4cbc60108d4a7423d2..b70c487cf84295bd181d3be1025435ab2d58e4fd 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 60aea2b1ab35e2596dce79e9178bbd161c9c1d3b..cce74deec6532e5c4ced7174b91117acc779efc2 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 7a878d6373ac4b8a2edb937363adc52bc3cbdabf..0ae9763f05f70694db6f272b3d6056261fe50e75 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 3e00ba2378bbe784c937b9728d4bc96f2548f559..623676fa38c2f3771f796759c47fc9f617de3cd6 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 28a9dc5f29a7b3236a746194eb9469838738d96a..005075b00612853cdd875a499c7ad865b842b5c2 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 cee5b2092e938dee0390a650bc10194daac297a9..6593b10e2267c95206610923f440d150391dfd97 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 ab8b506933235d8f9b8c762f454d77c7794a7380..76170b6c21ffd92e4c6a567acc9760ebdf6081d8 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 eb8bc84fef79fc9b74d1f1de5387dae4ce3da750..90e9290fd4c0465230f9b0bf1577d34f96957558 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 d9ff417599b9f69725602c0ef7f43111e1f6cebb..090dae69074f13abfc6c25ca5654d7cf29a86f9f 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 65bb478de08f1e8d9fce08926dd7d090bae061b5..bad76a9fb0f345869df068c03eb7f15057470d92 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 55d24abf66a0fcefefaee2b01f790277d287f95a..0c0b515801f346d1ccc21ef3a8868fb5b0a51638 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 43c4a047d3e039baff4c16600a2c47fe5ae8c8ea..226c3d2f0802dab0980577e1522b531ef6ccfa63 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 aefcd6dd80de9e6cda7336801b8c6495f7f55edf..f227a7245b2c58b575910eb985d084d290cb0dd6 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 cb776b89647c4fddc15da845a302d195f2a1cad4..d188e5103aaef435a5da1646243aadbc506b8bdf 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 e0e5d360f95bcab20415ef2a35879d2282540626..505a70da513ae1db866e8a4ec9db42eeb09faa71 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 2b3132e444cfb639a046e873cd7b733c7645130e..d939afa3eca4bd0287a299b04c4d35d74f6765f4 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 abe8d1cf53565b68bc5c8f14288a9dd0c412e0cc..4ada4844cae1219a73dd4c43f51ce0b0e4c69211 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 ae8fea5a1cbbcecbd363c44e33521c2f3b0d1023..f78d93674461fc387a3c7db627462ff0ee7c59c0 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 45151be613879c8ea24ad27da8f2715cb4beb479..ff11fb6b3cbce8019f28964ca85bf52198420622 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 8fb29c854e344a340ad477ca4966488a10303a46..5279a0e6cea82b67711e6f638efd3e2f837d4fa8 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 a57053f998889ec8d229409390c589db7603384b..6a13a88baf5d9e2991811c6ca04fed36f6762766 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 732d70a7bfd66913f77b71b87878b229f45c834d..d61a85d89d04789d21d9a82a9111a94c4e7b1e83 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 3c4a565c44ccb6a6d27428b8615f8b2a29234c41..07306ed9b15195de88d7e8fe8f439d3957f30b9e 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 6c1eca67e2cec8efebc5bd2c59009ebf9810deaf..ed5e3c50fd1b7e505e9da738febd5497782e2803 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 8a4665206f1ff0b6ae345e372364a5b1c66e2de4..062ae80f202163a9b8af46b02a664c4924be3ee1 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 c448307e1fd8906bba54d0541504112bc1228913..df947df37256954f398c156b4431cc3dddb4ae65 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 f9b1b5355f191f7d372168c3b2929ce9cf1b1ee1..d34cf718d4ce11b4e17e21c0dd70c853da028ac4 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 b54425f9e4058a18516593b20ec77e3108ff01b1..2395212f1c259d2afe8628457444fadb3fc462ad 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 1652463f90398ec266a015bcc7dc5797eeb0e09d..32ce87f59d8c1ae81edbd79688b6da4a41e4461f 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 866183c894abbc09e1aec5874539adf50ec0348c..6d8a1b0d7bd8ff3c4f922e23818d405006bc6e97 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 6d4606dc0b283c809c4df0ac954b5d8c43e29897..d3acf3fdda294c5804fe1d35ff02cd7c976927d7 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 d9f3698aa07249431c3c95b6e3fb0c674ab1ab0c..984efd51a6ce3317571dfa584241821f4e76a057 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 621d1d1b2e28b45cf70c6ed426ea6b010fa5ce4a..cc52d1043816820fd905d79396e3cb4df0483ec4 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 a8f664e10b09d3b4bd9424c6b4dc7bda5272fa6e..00cb10375ecfadc145b6623d6049327e029e7424 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 448a5157e3447e3dd44931814e2dddbbae40e7fa..48aba7bbb4121422e0586a88c54180d3f1760220 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 a4ecb838dd67e57a70b1bbb504cdfaae8d7371d9..c6ac87032a951507ddbfc199ba11ad29aabd66de 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 f7a72544ab1377d36aa89f512f65c94c76162e9e..756e00cc1fc8e41eda98a8e7d00bdf55b8afdb0b 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 298b40b9337538509cb8ba426f3388d6c795866d..9b3caca7b4df5f35e23ef287cf1c8e900ca131b5 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 1386febc4dc33c1eca6be5144fea82e9b00d4a7a..1434c4b2da2958b744d71bcdf55b3f68a7152ab3 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 66c1fd0c7f083b6296d21333bf7b404b89afe76e..04263bb7feac13d9ba5165e56f9399123c87c7e1 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 6b5cb92eb90d56367acd79002205483d6b8a3f88..f8c7c0214005f4290c9720f1b535e31f3978342e 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 35d70ba70779d9b1e6935301a0bcd2f4b589b6d1..35250afa3768cf66ec2db5234142c956fca50759 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 ae088e6842dd780418e8e2d2438db0d1a9389584..7d5cd694ec36e6bf4499e872fbab7b01e589fa46 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 735f5dd85c001d51d3ed4b5dbdb327152bb5bc85..1558f1af2a38895d9064da0d15c447c6adb4acb9 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 f451727bf14119a1fb04781642b90b5f818db7da..7f2cfe3a9c8efc5394eced32fc9f6d9fc35e7181 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 6f8ec054aed538cc2939ce74fd246370fa1c0111..49d40ec9a2da6b50ead3c8bea2a4e064f9abb943 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 a86e80a6297305c8256c968876be579d52990eb3..f77c917644d8d47e005122a913eaa07ccf2ea2ce 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 c464ac9ee94e79454fac0ec104e8ccaa1fd76c72..6926787c36bd7cf652d50c79ff24a6f7d99bd14f 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 52659aba329250a944452cd7657fc99e5c46963b..9622b1a59ce8cced3f1b11d9bd723df6b7369e80 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 00434f7850cd38c12c8be69eaf61e9435b9f672c..3dfacdca388f675a80b47d57a3f640a87c6667d6 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 9f8f723be19821ffb946c418bc84cfe4d7596382..c3a6cd1334a006ebac64b08de4d346a1245700a0 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 e2677ffa0e6a541281dafde52fe4b05b8f98d748..e1939aa38db4d0f6e0a024109f03838da57d6d7e 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 f31575653cfb9253330c094336bdab64e84c86b7..407556d15624663fdfdb279d09619bdf585f3aa1 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 75b1655a5b3a6dab407de924d3fcf2d5e6c61524..293a4b42fc8f4e1e1d1f3bbeedd5ec21fdd1e067 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 eb5213de0b0c1853e019f3c109dd8bace491cdbd..25cf777a06f39b4a7de54ea8e6a63e32eecabecf 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 3e8fa812a2003a542ac012bc799a81c39b1a3ec0..95a329e4b81cb7843bf3dca8aa760b5e0c3c1f65 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 4680d5938db43202ab6cfeb2efa87bdb387d4bb0..03cb7b277d3591b1764d1797dc5fd356d9e42d12 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 f31d10c10bb1d63260c6505308252ecdc59882d3..4a523dbc553c4db0fd7276710057be8b874cba50 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 00676a35a557e411c5df8e22b1a314c2f7f06b6d..75ad779c1461e9fc8eada827ae51862b6e768e2b 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 a1008c69bcbf01e86883fc1e1f6aeb88af5bd8e8..84c186c2244f8d1b3ef528000cabbc63429c37d6 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 456d1d6185d82f19b49ec5000d2695e052f8b2fc..e873e75372079e9e81e59db0ec974aa26b690813 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 e662f6cd879cf6b08e915128a394ab669a0f58a8..f145853efd9d3b9dfe4c911eefe71c747cb8af37 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 637e95b8f527c8ebefc7a23d6461a4d8d0783033..7f049130256d4091073351a6db6bc945846537a2 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 ade73ee313c3460591701727220fb924618427f5..715354b9ee9ef9060128f349c731346e8e070655 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 7238cbbeda9d8e7e045c55d1eddb334d0dfe0bee..2b481b0f1acb4909cc22460ef79bfa90e5d021cb 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 ebae95e1d5679b3b35b6f324a3125dde5ad9ffaa..961c7b657a124740bc7248a99b7d56b7f400366a 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 bf05093afdf03794b9219dfb4f765a15d8b2ba52..11f453c0bc35022c2efb9ae815a378be56f750ab 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 47ca92ec3ccc695ba8bea9ff16536e2f81fdfe12..f9e965144ebf263708c05d13c5f4cc27f589428f 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 016880b40c4e5e0c15ddef2f3c1e58990c60b3fd..5e31256df0fb92e676c34e86201d75008147b603 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 cf0241e9b1c7eae4aa957e34604ac2e68abeebb2..e726228f98b156fdc3861e045517e9eb0e44a09f 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 a31033dabde0eba236425e75ae9c694c06ef137b..de14e850239d79e14189c65f90042d73f25aa278 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 c033043700aa1a53ca44ef1ff19e996252fd5e59..845b972fec50d7ba9b61876b70e776e1d8516667 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 774d4d4f77fade4e599dd441e6ad9cf2ac06a721..ebd631448e4e1d08b4c62c8ab92b39e77b227e0e 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 7c95100f582fc513d5ecc4e7496fdb23e9874ee9..e618707e313cd88d76d9dd02e5995764427e509f 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 e424190717165b73ea02256aadbb9a6256a0209e..32dec7552b5a14ae8f759d5e2fffbc397f483711 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 952ba9d348e942dd05396e01a4fe02a5f94711e8..f8a01593597f661236ba94459b352cd295c7bd4d 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 e0857cf97e11c7b2f2cc56a76005538ada587fc0..6ec17c6b28717be47bdb771963ea199063be72e9 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 dae553c80abfaae5f6afdcc8b64361100be03793..247c4cd62ce3c0aeebf03a3b478404509d1de302 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 74551cbb7b58d1d68e8a244fb4d293c7d4fc5c2e..f8993a749e8ef944ba54c3e80ec63989ac669f20 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 cd613b5855e784df665ece265b736508508f49eb..5d1fb79d0c54ba3a36e21c52d2cace3320fedf1d 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 6fa93f36b55c946eb8d051ea6c3b87a3883747e2..c163ef6d5eb21b283041b8a326e2952a3abc257d 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 1a3ec73ae846e2672be7fa7b46659a4bc6fccb65..4b7d4abc9e40c81483494e4570a1f078f27064af 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 79540a9d5f83ef90bb78cd2f5bae72cf982d4e76..774fe05a31e3d17d03e4e238de19235afbdf32b8 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 c78110fc803e66656a6012a550c8defb515790fd..6ef453abf8d8781f2f2b5fe7eb2e76b53c81c544 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 c2ee94d40cfaad5a2a73bb89db8db18a01fdaf5c..28932282b0d232033be00e6dcac7e1d577216290 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 5bfb5f387034e9ea5128ce1925b3bf0eb2a8d541..7d058a8b27bcb06546043540eb536b9bcc7d07af 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 c15dcf10455250dce7233b8f809195b08bafe52b..193c706bafcc035a71de7619e2193d5ac4ab4f2a 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 7b66abf67448ba7e7f3d0e5509125b79114c7644..03458297b8a790bc4f3c954b1a073bea2118d999 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 0e73d1c16d4712212e5cb94778628deadd64d480..d4c3d7333bb4e9de14e661f4e0ee6c919a717f2b 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 010f45dcdef504e443e504af7a78869171a99db7..4ea7b6e394510729a3504d554f9599ad5d0cfb44 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 03c54a9318c7f9fb3dcaabdedc50e089999deea2..c6fd5e0e7b2ee761669b2576376f3af392662aa7 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 1df3aa01dec18ed8042828b80aaf3b5d681cec57..f7258ad4a600962eacff1a2186d0134b636871bb 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 6a3a8cba6b6e130794dd8ab2e032ca8513f123df..33e615927a3313d1708a38f9f359a662c9f075dc 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 23334ac083da35fa6e4eb4d0692ea22e8c9e172d..1ea797e1847a987dec239a1ac5892b86c3e8bd04 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 6818f9b6a4195b7a0dbefef663fa71833df62dbd..12e514f0d7b55f584c2e37886c986cb16ea7a311 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 b5c1e59c9d73564f8187048d3b8b821b4bf092d1..53ca38b4fe073a317347c0161a21ee307a2e3570 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 918649d64f0cb57b34519b4b8a431149cd1b4840..0ddf93f78bbb33e1424c622df0c6b1cc9e778635 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 a56142ee05d01292acf96080c3d8d947c58e79bf..cf96cbcf351d9061e996885d4d510f1a184d7a3c 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 290654fdf303b47cb77499b5a5b5d97b4c22dc88..d13965d461e68e1db4566d7e2a3920f524c154a8 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 ea535c786d6fcffdb63cf34400ac2552d68bb75e..adc95a0fb40da61f97ad7d9827a3db0f9196c4d9 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 899230ab7f2b87e684c8dc5a0ffaa89c92675be0..c646858ce3a5dff95a98b98ee3d5bc1f33acc2ad 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 3e079b4a707209d0224dd565e1639ab286fae006..91547b3052be56b4d1cb5239ce4f2ded16ee8dd5 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 56f1b96433be3a1f5e8c50cbd10d4af272ad11de..34c2e26935c6c9841fa38539581440cbaa5c2b43 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 c878f1c42f747eba9091eeb60090211c30c0fe9f..fe0d609b28b942a1ba273539e69421a8adafffd0 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 6ea984e4e73b0ab91467b6859100f3e172aeeb5a..a495b423f4138c5c7c7e81b8ef82e09b0dc76c55 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 607d3d593526406cce2eb726e37e504e7eed8e50..8909f1a686797f9affb871c669b001e36c2066a9 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 02c767c95c8d3c3b568ba15881d93de04f50f6ac..90615d4701df9c29f378e98d2a43e4839e96a496 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 2ef188e7d23f538be8be7a157acfbaef67ffe154..cc4c9e34477dfd06ed1ea1db249df877eb3f43de 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 38bd8cf2ebf53a203419ee0d6a2f0daf91c53117..e919ac7a5cf398ea99f32db1c20fedbb79187a35 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 99ca14d88dab38b0fc4e6dc9dd33743faee808bf..fba67d6ba6ce0fc958123cbd1bac746e89c53d00 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 d2f27bdc3279c836d21d1fc2f2a4598724efe5c1..b373e92e092593403b049238ddc08fe99054e10e 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 65fc524f1f67b5e3c181ed41f42ba502526a0632..26eea6b87311b44856a29136e6abb657884287dd 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 f161d03c2d1a24f2131525e80da53796263fbe64..a27ebc17235e7ac1fab023bcc0e622a7626cac1d 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 92f87c8c4881de65e317f9dcb0567c6fd22ae298..fbac8956fed342ae02d2520b0003e4ee5cf5fcdc 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 bffd102152eae53df633a2cbb87d993cf9e6a675..344bb581df6c557bd95765af9e843ba77f9d7fc1 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 1aee265b3243ee011950ca68b23809c5680f3f77..a09caaea8f2220906904d3b13a27c04ff9515d5c 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 59f9d3f60c762c18600ac47e07cbd508bb5d0a54..57902ccc4bb4b2d25927e6e57602dd0047729233 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 c1ae2c0fb7123ef95c88b0850bfc87c4e64ad06e..ea177e5b96b6675eec8a4a061c7aed6cddd34428 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 af4ca592f907053664b534c36d585b16da5cc861..027cd28c8773115b93597db506b2831336ee5a13 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 37f65f7c6049ba34ad1589c8d8492b207ab2bf56..a9429059c496f62f4b3bc5639a030c53696e9ecd 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 ca125580cbcb546e9fa0fc027abb292eedf35896..a8dfc50f7c627cba03645ee4209178348991993f 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 cb513401b295c9c7c01b5775c1185cf5a835c495..9bf46810bfeedabc8db83e62d06942053fe443a1 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 481bff84b2cc24bb073fe8d9fc73f02c61f54257..d84df99c374b5d5e5e5c0d5d6432a50a6404111c 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 b869224adb08a16ee34eced98ee7f82e8e7a30d8..9563378b4161689a588701a6b6113742f992569c 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 70cd6d2664cacc536917624b659a64716b1ea090..0eabf3303520b82e78faafe48b0fbbfcae993cc8 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 d14941bd4657f9c6eeb31037934f315fb8172785..d2bd43d15caf12afb6e82c3cf78c86c9b6f280c2 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 4bd3c7eeb2ebaab4d3b9ee7104bd0df0b8e5e174..83b3029a26260207f5f0b29d61c41dc31be4104d 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 d392b68bdf4cdb413cf612816b7fba3eeeb895f9..fd116c8b049b3bd5287a3b51a0f737fde8d3b27c 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 916b477cb2dda4ea2de4faea27d454ceb8497323..e241c5e51136333af06c963a2927518e4c8322de 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 4cef9c1eb52b053e9958ff53ca449edd60dc9c92..03f96593c42082d9fa8c356c6d12e47a87992d48 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 e2c257d44fe77f190e2204feca52c60bedb89ce0..c1eb2e126bea7fc447f4b85f6ced42cf12eec2c8 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 9b5b9583c2193654c656090e57987e38e0165541..b4f1d352d2e43fcd2d5e20b3e2444cbda6a6e817 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 c261d2b4e8f0ee1bc61e2083f296c62788bc15fe..86f52cb538e6896c8ad2a369dd2397dba257cca3 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 f9ea892da46ed8bd9acc4e93aafdb07e44c0c207..d0208203d53dec8cc79bd8a832230ca1ef8c7f3d 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 f5ccb00f6ee316a9733a7ded193b3d943efd1210..c148a53136b4d968dd105d0c67212ffb91c0b239 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 4dced03baa48c6804cb75ca1f5cd4776779c7a2f..c29c3ef44009baa7edc557aed71e39725203bb80 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 bf9f0ab08c852395bd38482e2b2b24500aae0baa..8e724b6cadb0dd6ad27cc30bbf412886c659aa14 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 3d22fc2fb3341bf90d5c3f67572d92a7d5b43333..28fae1cebcca08b19ebcfa236305fa8696c2b837 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 4a78bed5af9c6f6cf4c3f11604c4747dc7108dff..7ec71aa833da6da01891eb2ff5ec8385244dfcb1 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 75a3e9392719ecce9ef02a88d78daef255be2ffd..120fc93a5c372574a6948b5f326c0ed965713fd0 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 7c765d436b2da16a2ac7cb6aef5a379f878651df..8ac212b109d3a542707bb99f009fb6808cd9f531 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 ae72684b8bea0d9f0280b665a4d41e30351e57b4..482e7f94db95c46922a8494d309b17c31ff7afb8 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 9698521b03240b6e83436eca85a7728895f67bd3..22d1a9c36f1afc512ccc14ebdbc018b490725e24 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 4144242dfde06bfbad8c35630e12ce5e578ca246..803ef1b3be63c071d58b6159cb88f562281e349c 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 1c425d917be1d0b0569106d294edca6da9568d65..885f8ae97ca70278adc4e4694327f44fd3efa6a6 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 fc8c0d93c66ea2df5dc5831da18efb65b0d2c3ab..0bcc401a183a0026b27632b7ac85ac51d2d14840 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 e448b402241ef41263219bfdda6137e3bc0ecb3b..daf61e3db61c5c18e7ab06bc14a6edfdb1d36fd5 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 d336b37160f0ca8e2f06bc6d8585b8191d8ef4a5..bbf4b1a1cc2317b761722c3e6bf122391b127ebb 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 0110251a51cdba81c291b58488937057de1764b1..36bca0d0f8df8b50b5c150cc94ed544349db6d47 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 e52cb3bdbecc44ae033153a6826c9f09c6950484..26b29661e206b8f7f73d0ef107d1c5a8736bb779 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 811fa563e5ede85557da48f35a10d8d05b086e17..4d0061c0230647138535b153b03d3d2fd52ff3a6 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 f2d75f1cb840ca67b41ac87b36552bad13e80519..c8a507ae0549e83e52edc74a09d2571c7a74cbc7 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 8bf2716efbfc025069bf1cc3cd948039ca2365b5..3a2590e8f16fb63902e9e6ad487941e28998b338 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 03aa303f0dd915c4334dd76e8fdd8a594b3b9ae7..24edac7fa7d356a2f6047304c0870c305e7d0511 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 606493677e2f5674546990e8f1a4fdf7009bb2bf..459b1a7abbe251345414eec27ebc41f6a16ce666 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 370a9ba0af375de7e5cfa3e7f2d243f1baf8c4fe..843ac872a60b3a40ab4f9e96077e348b20d1ad19 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 a500724430fa5c179b5ccc13faf5462dadfeaaac..e586b91c31c90381554b6d93a5f6d1736831598c 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 5125b54f2df6b335f66d7f9402970f57678c504e..7e7e4b6c2f55d8985ee86d4da44c1a428f927214 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 8cde1cb37fca9107bd6a3c5294d9cc55813339d4..2b9aeee32352b0bc55381424c657bf8d52858f41 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 7096debecd279c01103df41af0875477349e8183..9c9288eb914f25bc8578d7bc2fd037bab7d17827 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 c86ee30bc792030739e5d0c604929a337d68d248..21ef53133022340b77c97890066387b1e57e8027 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 7f34df771102b5a78cce69c3001681af3c575f0d..617e8c8c5c3bda79a9b74a8a5459218a7fe14274 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 e30763dd1a368238aff1c00bd190ef02738b77ab..be32331a28e463fb6b0464b256588aa314f39654 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 5453dbd191e1117ec6a70b724a85dceaaa5d9dac..e2570d8ae4652db8ac0322cec4927cd020ae33e8 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 ff5a86c98e9d0d609b609935848491ca2b60f8ee..a4c09f54a218e78f55cf7f3137298b37804bb253 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 32b950cfd1e70701a8eea238d5042855b8b88d08..8f51cddfc247e13057e66dc467a44c0ad942992c 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 a6596719929d1b641227b523515c9f0cb83e664e..e9d08a005d48e56fb88edec4820dedd417eff9a4 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 752cb35b26a647192d70ca444a830fe26479442a..373a12d8b130ada95f152d55f8f7bb591a8556a1 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 1ffb66bbdda0ffc30b8d0ad81e39d1dd15c36da2..94ecfb6bec553bfc131a6ff9ce2e5d1d7964c5ec 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 e160dd7dfce4c02820b59ffef4bb6b105cb5427f..5566f87e47e34b34b53f8c57a7c158ed2071eb0b 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 80cda11d7b54cbf2f120badb790b1daaa2aa9b07..89b2086e010e7f01a1d450c1efd5aa271eae5349 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 0fb16c1f33c3e61580e23b7898945407a873c8a4..c366d3993a1422aa5543602ed1be3f8dea42b38e 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 ad883b916b223112a8d87a68bb418bcf808cd2ea..de1868d9b8d08f81c6975c518a4e3c32346e0482 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 45acd9951dee24537aaa667a629da690b4434c5e..a4199b4f5192cfe398250d1d1cedbf13fe5ffea4 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 ebfa56d9365214436d6ec24d7b6cebcdb8a07076..2bd300a3f71acfd9a0ee54fafa579681ba01cf2c 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 1c3b3a28f9b3659ef4c3aa12df49a18eefc0d31c..c2789d1128614f2c406a2d680182454f1a20bb83 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 e8fd3820d839cfea6ef70d9b7d61b0bf547ae677..cf28f745a7bda1ba2d179d0cacbefa7ba0a210ab 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 d717bc0d18905bebb7809f39ba1cc1be75280bd5..f51962572c2304b9edff5c37240680e8e2fdb9d7 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 dbcf290a0eb710abd576867945856223b8f3013a..e745f213cca8ea1187cd403c17bceeca9d81b166 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 aacf09cbb76502067718673de8f526c40dda335a..3cdda3923e39175c0973905d81baf35fcf60cbb3 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 9f3293e658c59d61af3c1724beaa3575d9b55bca..63729c5d3fd02ad12fddfabdd2697f709f3ce001 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 ec82d3e41bcd2ccbd07e44d1996a2347f05f20fb..080dbfc90ce2b21c727acc3fc323c8ea0b5175ac 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 10edefc6e5036b996821efd9eb95e7b96041ab54..b6d7500e111d0fac927f9e451f3fc126343da1ba 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 485b0eeaffd9018c7b0fc2e1e8941fff179b1844..1526502334a7ede38baabc3140faf2accb91ebcf 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 78c71c8305ff0f4c723191570cb9fd86b4cf1bf0..777d6015a45ac9b5eb0c57b2447bcb93ccdd470f 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 16f4b231faa4785addf29803f15170098c1fa988..9ab75f87474869c3f7e0adca55a4cb2021cab3c2 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 0ed9092c9626a8a10d1cddb0872860b8edac5673..f405465119fa8640ff3ecd799ac7af002e8c86dc 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 e2889b7a580762cd4f592a1e86eb2d5ca997a9fb..6a4584ce933db0abc5d96c4363eb016b236dca4c 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 9075db77c028239bb5bf12935a454fcabb006d39..0ab955eb7a8cb821dcf22935e8f990708d31e570 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 88d44c6297f1849b0a0a9e71b80aec7e093bfdf6..504a141a200b0c523dc2dbabc93483c0d726788e 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 d80f90c19b43fd3cc1c71247e56702995569a284..df98e3cc036bf477dc4ed13f062dbaa39c8f646a 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 a91dca179bd6bb4b43fb1b98bf021c8d1124c273..9c9e0dc52d1ad8459aed0d838acfeb6eb156b33c 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 50e83f3376987b543835b372d6923b89e14a0883..00335a3dd19a3b676219291c2af5db9493a59a68 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 bced567eeb80078066a90946cc7291c1b3768c59..a4e3946e59d6bba318590cff4b93fee97d21b2d8 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 8cef6d8a4b865dbb0b1bd16408995905cd537c17..de075b5aa4764725b0c8ead51efa20dc4c113e5a 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 c229fafedec23c3b4b766a20285217510182d23f..03aa012cb13dc871289577f5b02fee5aea0e5a19 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 b78dbfa17ce6b724335158a613f962e461ce89fb..8b9904dab2f85bcc0df80ee223a79e37df59ee8b 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 4d482f6bdb7eaaf47eb43a22e5450db34cef29fa..d66ee8736d41c4935e4665d117c0499f33b77548 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 0495db6bfd3cec1306bfa3dbf322c0e291a4f371..aa91488e7e44ae66d32bae85d378fa819d1418ad 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 7d5ad0cdb736e163e1706c14e601d9f815b8ec46..096f68d307d4a40b9ad70335c00b0cf2f928f58a 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 266e32d9220f34744fa689dd76aa12f35ff137ff..6b96a408efeb2847dbb663e5e7a685d56c85323d 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 bbb7c2a0d6ade632cba9a17e919957b08e7d5946..8f6576496ca0e2b4be59d852059545fd6bcfef7c 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 6a3002e500ab3d5d98f15ac6ca45653aa79fb56c..33d08456cc57aceafee22b6df30644a82de5fad5 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 cb9d08a1e91d09c676cef061979ed651dad8f709..2dbb8d8133673ae6f84ed6bc07dd541f55bd0bf7 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 4ae2a4715e60543c1fe6c4e1762753465fd98e34..5fd617cc218bc8cc120bae3c73627d8d451d7564 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 52c99875f09d988abbc897139650b2261ce87e18..2f39b389ece7698ed095ec34c03462e127e7e022 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 b2bed6f3140d39296106318b2b3601af72fe4bca..370de0422491174ac4cb26f5f46b3e05d54e140c 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 9a82322d636c2423c76e158d9fffba4338f40100..30e556ddd5171bba184f15424433242217422131 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 79a94c86faf0c9373123e256def15328a4c322aa..ba0b593431f4736b325a2a5266efdf9fde234505 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 64e2123d1297b5baf7208d7a0ea08323a6e0bd87..97d1a0afaf6a231c9b5763500d45564aa59539f0 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 2da806b0730c93820cf039d7e1f755c5994a9f78..0b7eb97af3a9c4ccaa9c90832b0fe3f5e0d64d9e 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 087b1ec39c9c5bd9a4d7c693861cbb6713ba0b11..77bebd8369a2ce5a541bf8f038442ffebff8d389 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 ecaee1546e203f47999c513e764a373a6175fc35..e740644ca510ee7f3942c5deb2cbdf6762ace539 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 b28c935e15aa7c932109b73236ac4709c993aedd..32899d4a66ba5e5492147dccc3eb2a3ed9106f40 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 18edc1e7e7aae230ac5c13a5f57b568d3efd14e5..d50ec7c406ec7874c090cf78beee27fe4dfa2fb3 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 f880f1d2d1083b7b61c47fac1485a8237f17d2d6..b60857f96e3835ebf18367944144981b445c1dac 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 3b186a8c451bee04f6f3fca0d12f6d84330248f5..cf01767e6cdc2096640463bf50a5ffc0c9a5cc11 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 752c522a2780f88e21e41566de6526d3cfb0701a..98f370288a16f8f35e2e5f026efcb901e323073f 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 8af3d747f4a9c11014bbf38228a19c2dcd14ee0c..4b582e7a3a98d7ea579a3c41d3fcbad2498b446a 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 55a21539d6781065c82bef26a0fbdb660e5c3e3c..62ea37d928c16eb0311f2aba77111db0faf36079 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 c6a73ab8cb1048e9f8b702d90bb549de3b834461..837ab5fec8c31e9a4b7beab98c74843c9b8cf2e9 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 4878dd73e5c9512352c16276f403eb50273df0ae..d0e2ff87de425367292bfb409bb7c1681188b86b 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 03fb89967e0d70c9caea5b1dc8f40bc7e4736cbe..0a14fa8ada033045a85ac19c8baa2bcd4f06802f 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 f1b9a2f23e024d3a60bd3f3dbdc440f5d598a9a7..7d131149d8a31834509a6050a246f564ca7d21e8 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 6fd6ea8bfefaee03ca1eca79650baa0e8ca18601..ad71d47b6359fda21cea40e8fb18ad1699a4630f 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 855af31aef9947ddb8660ef578a14384ebd2933c..957c7bdfd5aa89b504e9d4ec80fc369ad455f95d 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 9a2df01950f8c49291ec08d31563521e62a6b22d..b91bcd117b251c70475e4c9fcbe119d9c3e61f43 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 bfaec50d655ef097e79479def0585917d2387e8d..be041fdd1e104d70c768889a29924d15a37bb630 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 d0c81c691f70fb006f8365d85941a3010bc851d2..8f4e3556798786f207fdc1bb910dfa88e4d2618e 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 36728a78b5110d246db106bce41efe677011f579..0f38668b07926b378333240c8c5bcbfe9793d175 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 126277bc8ba2aa38798644ee9be4ca5b9fe7de34..6751fb00058d1dabb29cde2efa892cece1898240 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 34372373480d8354584d957c279b6ec2e5d8d05f..8a412a98a3cb59e725459ea7ca73c5ec672448fd 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 ee3af8613bac17520cde01a1dae725f45cb87f87..2196d406b996e709168477ab2e24f8f4afe23867 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 27e1f8ab07d5b80fc20e02d3876d295bd4e48770..11c3e0a103804795379e492453837964db5e2a4b 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 41a5d9943c479959d71a1a1a6422e24ca6a0b67c..acd2b89eb0b3f65b06df76e33988776ca58a0876 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 c5d39299befe97b2cc26a769d5ec5f43de9351d4..67838cd84137710976298d0e822ba966cd8c667d 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 e39696f4b12e45f2d62a1ec799c89812eb3d1d68..19df4bfc5c8ba4049d50271b903587cb92fa97a3 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 b08100a43604bff0079c9ea793db5b9a1f3ce8c9..ef1f71117ccfeacc54c55817bf3035cad3268086 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 d47c6ca39760025bfa66d7e2842daf7d96b3d37f..a83f72670b644d7381b305188d48f99abb144282 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 4d168dfd086cd9be1c83ac7741205e8ff961b2f4..4264b5aecf0122f6400950d0e9ce5d69a5b38540 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 b422f2492c14ae7c7fe0e1473ee287dd370f2eae..272788c47ca090cad28f8fa1a804a0bf4f698671 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 f928e78e372e2a9e569b84c32785475d5987b4c4..ad495fd414f2a014d8e2b81baf64504f97092e98 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 cde2a6f1b4c142dcf71cfe6840190329e27b428e..7f39253b41080d42ef5266fcfee2962001863dca 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 d948949c2acaf61345f312118e9a2db8d591e12b..d4654b8f282644151b67d8983fd14121a984389e 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 3d2c8fdba6290ee432875efc4eeb16f3fd9bd2be..c95d89f030e7182ff4855d7159d611c488543ad5 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 85a006532b41e551eb0ebf5bf96dd86be2502409..7463abed27fc3ce2a11166bf6ad0e7f20a6837b0 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 2951c8d2e931023d4aeee365b1096805ad16002a..42b2a1bfccc94c3047b987e9a94d677304f23769 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 dc433584a236b4a0cf0440673430d0be6716c7ee..dc3172917b62fca0c6b083f7bb0822ea0e1b010c 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 75d46cfc4d8ae0b53e450c8f8f94a2b9b5fd7f2a..6c91ebeffcfb935b8d28034c55d348cdb4f948fc 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 3b356d20d1d3e289de235a4ebffb47c94d50736f..fc5175f7a9962928a809f3bd4c278ac72a1acc23 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 dbf8bc4a5d3956287ad62c0d80ddaf26dbc79a75..5c9fd83ebf9035f5c7c541d8411ce26f7d42cac8 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 9f5da4354592722aa29e8c57dbeac9a9aac6a32d..74ddf2e726c962486de367fc3963c6bd5a8c2eb0 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 e6407aaea60e38384cb65810578f201231171ac0..71d15bc1c07d69771c968330061d4b6d4e356e11 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 b8994baab58a187f63575f5ed514f3c47044a3e4..d0658268c505c3e2ebb1dd7d4791f638088d518c 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 18abd6f8b380c2ab75082f31f0544fdd426748df..5716816db4803d9707d6ff24ededee5acc261750 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 a59613a6c36af72d1f6fdd6488c9cf41684a57d5..afaf354d0f8136691b802d327f5974b58466de2f 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 7e58b61cd60b7468d73338975844dc9b46b75c3c..5bb63d840517869f0ad44b3237aa15ce16053b78 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 107c9e2c9026a94e1e9d2e44aac705af81948a01..b584e12c2761a74eac1d124061435f7b9e994efc 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 b419457ee55d2381f313fbc02d232bb8fe97a205..2eed6deca7c3876f501303d39e8173be72009058 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 b2e134bfaedc81b302df9ed136abdf676b05aca6..08c773b4d07a969bb9126f0c0abf096e67093f22 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 c3ddc9af949c4957cf3a098d09b89f03907d296e..4b519b7325fe5ec6839f5a0508b5337a305826fd 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 2a1ce6c24fb0039594b922874de7b27dcdaab878..cf19e36ee49bb00ca6bcc5feb0b9bcb830a049c4 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 3486f86d9cef1fec94530ff6b1730b31f8d941fa..151bba6599f961ea7db50840e7ca54fc10ae042d 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 349061e196b18673b81960b440bf3de5cce954a7..4dd07371abbc2930ba74feb11959a5542ba8eeb8 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 72fcb05a23ad2e38c556d8cb2ec8d9b2c5767bba..51ed822502897e1c0e2af51fed8b8f9c9b8eb6a5 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 6d19bb4bc0f179161cf51158b12291a83884ba81..daadfef1f4bc5de2245b1d5a492ce0c3f613b2ca 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 d58a01832adb38c4985789b27c835482d2e435fa..48d681e85b5e53fb1430a8be130df0865905f5e0 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 a10796ae8fec28f954d8e0ccbe939629f622fcb0..49319c9bb906066f47924644e5e01a691f825ba3 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 33200a97b6c4fe88ac9b2334a4521cd78450cd4a..db311179c4dbefef57a8109d8c55b94ae4b6e045 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 643335ace250cba66189addb427c6676b161de9a..acfbb4d43afca5c075d919af8dd1831eb5a71283 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 fd3c1d64af4f0f6b28292790c029a37116dc6477..837f9951fcfa3acac4b7dd703413f97ea54fcf87 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 924127032797f2baac0f2ce91873bad7390593ef..95180a2b21c96f28941956e97cf06485c881e8b5 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 204dd43780ba559ac48013df4cfb5a497dfe8be8..184748e356e557ceb6cd196de3aa71f1614ea2b8 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 44ad8ff17f895f68d1203cbe6d0bb8ec48b77229..5d6be5632790edb42b0f3079bb5d5fcb17ea062d 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 ad14c0f264fee7a3cc59d08263922dd2d6c0c1a1..ada9de22389b16781ccacc1c64c671b4f2f4ad63 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 769fa942d5dc1477070398b8788e1617c7512726..f02c3482d6b0b352cbbe7c4ee5e970f5f31f16f4 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 b52e8c0439f62d852ff37df3d7c63b902dd208c5..ac72e55f3eff9a335e8761dca6a853f06bb44a8d 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 34ddb2cf64de86615ac4cb485db6789350bc2158..129a1198db18e4f6d3e6fb8ce4a26dde6653a3f9 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 c9683fe29e3f3fa9afecd5669006cec11370fccd..af137a73d20c5de244723b08cd92ca7e99f0f1cb 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 8ea34c9a23c804e1103f3b3f917f67ba989cfd4b..62891f7423e05fbe60d8783e2ebb8dff978a4c6f 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 52430f05b16eeb9f6d6ffc7108b2a8d638d98b79..6750591c0966bccac5c5d7df06b11d98d6039272 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 13531b6648ceb712be95fe7ed6258c9d878b72a0..595f87116826521bffa89eafaf46d29414b5468d 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 40b055ca87b6a31fda033c88e1346cf8f549b0c9..6c258fd2f429bf5c28f867a1038657b53853a645 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 5a76cdec9c7c4db1e3b7070c8bf0cf79f9fc945b..ba8deca875eb674cd1a918471ae189ec1fbadb55 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 4306fba9369eb91772d76f0b1a3057ecb006b8cb..3a5a755ba7051bad99d5336def5c1f6a7be3a46e 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 411d94200a5a72fbbe3e9282891b7bf4d8eceef5..5c38304fc885e2e5cf87a38e5b7faf9edc125439 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 4df7416a03e6d85f6ad4c8c99ad4f1ea70a7698c..a90127e1be5d4f587cf6fbee5911b2e97d9beaa5 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 97a89021ab4598dce07f68ca436839cbdd2adc99..0e0d6c1d91ecc0743f04a87debec146ec4d281fe 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 9f485dba008c9aab9415cb619cdfd120324d85fa..02aceb9b7408777a484cd29061ef77a8b1bb557b 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 c5ff0e6b53d0e0955f68779c3f8506eed2828f28..939b58ea8a00fb7d3bb150448b9185b0d12325dd 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 dd79735a77e0fa9ec8d0cd477b4a5b64aaf465ed..31759a5482a7ea4b278738ad8ca57f53247c654c 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 541c544de2dd58e2c64432fe4f1e55d59e7d8caa..f5eaa7d0e9cad2036d7d6805f34dc1c55a877ae3 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 4e50d05099f91dd01784d879d1671ae28a6fda1c..26cf78034f2ec8e519419f0bcbe95dd11685de01 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 7db5075d9dbda677dadd472d342643888669b4f7..ccd33cbf0bdfe023e3b004fe5b21e365878dc0ef 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 6310d5e1ea60fb9668523232579950b1afd07c0a..6a18d707cfe18a7825f169eaf5bec92bbe4364c9 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 49f92379dc5f24c37f6643a36a10a6a07e58a2a1..0f1d2eb25fe42bf3ba417aba90566b03030d51fe 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 173f4fa32830271d004ce280975940a7a2264b1f..d62dac825ed356e83a31b9c669723ac0d302cc1b 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 b246f97ee5dd5643def4e2cc36c8712457ed484e..21833f9eda397407871aabfcedb9d0bf70b678a4 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 7d6a3cb5c3829da7e8d1b9bbcfd90c033c2e265c..0978d6615abcd07065412a8137fc76f3991c6df4 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 cf049571203430f4dc1940294eb11fef7ecfead3..bf32e4b0b7c111eda49b4ab2fc1f909744680432 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 7205b53a1bb35e6bcd631b202215f239923a087c..cbc5043dfe12963ed0df1b3768f6a959c41bf40e 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 30777e72dab0d17ff6b6356357956836c5ad9326..8664734d713aa86be45e88758e471b40a469a70d 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 c36f629d026686f9ff3f5d43fb88a10120ac8ed2..af683fe010045fa8c1193d60389ab77ee1bfa229 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 e62c557c88c89ecfa02f1c91b839408c5ca87fd7..4b19afe383eb1d41663a460d25bf592a6da105d7 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 2e67240a65c014191e255edbbb9d3bccaa7b6c8d..25a3cb3ea372bf88fa5a7c4385b4125b5e422f83 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 f842b571f1cab9add6dd7f4e6311f36e1fc2de27..1bfe87bd98a7bb1e35723b4e878a5c94830d677a 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 de051acd24f4b391bf65cda8f43c22457db3721f..384d7683598ba2b281363a8fa4582da397be75de 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 8f9648ad64ce17321a55a53593e0bd6a75cb2d12..4fa834797c53abf3f744170a1042fe45af43df21 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 5ad90e33a6e56b0a4c7768ed30fdd53e4470c735..0f3eda011dc0854326823db520dc8dec14860bfc 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 4f957f49b7de76fddd87dd54d5491a136668648b..d562c2fb60fe9409c15b4419e69a34b47ec8d488 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 801d39f6efd1a0d23ea3e424779aef5530ea52a4..22fe88e1043da73629f3f74e33c2be40d3e054ad 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 79d39aac6fecd316d6b2ef5a9e05b48f482c9e47..09dce42bb46ccd2c067a17205692aabe86d850e3 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 29500da2e16525938133c1269175799e94e8516d..f13e6fe735c45f31b29ba4fd3b495152c4f34411 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 811ec3a6717c018976369dff3a61f0db66e0d80d..a8d6505f119f20d95ee3d27ca87968e59c268674 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 b95b37d57c741aeb95e4d64fc47cae9ee40cf71e..78daddb32a46873a39794b1e7d150d4f96d23847 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 e61c99b2cd071c0181b80a3370caa4f1b21021f4..d35ee5e33fa8c06f8eb0f42137783e8a08b41dd2 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 a93a51152ac468fe0e53a1cdae1a046b3825e4f7..2faa56688661cc607fbbd4c574c7d2b883f53355 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 1056767eccf2534c7698888643c01386db955d56..3556f6537db41e04c169b984f1f4eba481c0a95f 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 40ab913676da18ca5f64e51a03b3e947c9b55fb8..ec1534190a525d085e20c5fb51d8112ace81eb71 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 9e57e90c8dc739981eff56c2e825ba55590a9e2e..036473d92685677e6c836143590f1a35e36b42a8 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 684fa1d78f2d99f7a8ad84123222c6c3c6003d55..21197acede0ccd096f95ca7baba2012616d60ec2 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 211a7ff4e570ec347892da1ef01bcc6e607eb101..c149a4079b75280d2701b21ef5097f02574d1993 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 88fdb9895fb43825894cf2862cf94cfdafa35ad8..b44f4417a305f585aea3614e90639c44639acd6c 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 726fabf5539f4b2bd7db9a4ae5551ee21ad6cb42..46368f97e361c124be17ec715d0d4ab6e35f2761 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 2ddaf957abaadb9e239ffe5b2fac5b5b6afc3e0f..50d78ba558f2881c5aa9ef408030e31940ec0958 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 d6eb4029bf52260ce22e784ceb46ee3a8ae1fa1c..465a9c3a74c628ec7cdf96b56d7fabaa72833421 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 10c0a2b19b3905cb5c3b311fca3ac3aba62a85ba..d83be24cd6e693068b497a2ee32d9915bd9b4186 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 262c5c6966f1461faa07a15f95ad750ef27ebe62..9765aa8c2fb60b2cbe31e9e97e3c619ccd370688 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 0d9a631a9dd0d46b726703af0e51d5f49fddf029..a468478c0d4dcc58bab36bc61a7a8594ba93b2b0 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 ab9c18fb1d54c52ecb3f5ee61fffad8767721c83..1bff829ed2b8011fd0be6f69bc037cc10d2f407f 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 0bf0fac2a2e179cd6ce7b4df436ead091cfd0161..dd51ae1c3cce81ba7266fa14bd6876ad8aab0361 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 7717e2d939b9ba33dcf91f855bc14787fdf5383f..ffedfa0f1191660c3709ede26a33bf6b92db37cf 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 c08b9ae58d4ee31efe95a4f24cc56de9a1f0d59b..df5c46181577189fb77d6c0bab7aa3592d8da86c 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 dd615ec3ed7f2a5ef11cc7ec801514d6a0bc4da3..c0c4f5030f7d2e5c331610b719c66a4590e15bb1 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 d339d3d1f9067ad52197ae05062aa36d94371506..3f827b6b852bcdc3c89bca9a0fb92b78d4faa923 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 bf8e4df02ee4f2d97606d3c8c3ab9b884b091d68..9620080111afa436fd0070b5f8647ee9e1e8dc6f 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 787dcb325faf1e052fc80e0da18f4c213871d3bb..e84c6f5415c82e369040e19f60de4d7b53db6521 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 e43f5aabec38103cf449219b26f0f0c07d4cb461..b6072d6f875a225e29f339126fa36a09b0df5821 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 8f3425dafcf077602d48d16023606df05938e7ca..d778a65281329d10af5a0537d5c1cc81e0734fc1 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 f1c38b2b13ab0d03efa24686dfdaa7f2e651fd07..0bc2ffdcfcfb857146884a088386f7c039591f6c 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 db2d9d940283f607a103a5ae979f6921d5a8bea1..fe118fe877c7477d8bdc0ca826aa149b922d16d3 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 00a20c7c7fcebcc9795a087acac8ce4cf094a927..ab9adfeb6e49d417aac93c6eacf26dd815ab073a 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 4692584352460c8dd353a81c0ba58be698981d9b..669b9afe36ac77a533f38a9ed2aef0e7f773319f 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 6a046dea6549e17aed02dc2583254c2bd0e32d9c..f3efc7a73b52301eda9bdf249377fcbf6a6de713 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 81845713f21b02e9d319bcf235bffe955870ae1c..8ac21bdd8838a8a996e2987df894f0b2181a74d7 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 33a54c5af36d0ebb74d1b989d67717d8bb788397..f52f72f3fae535760fb604783ed41ea703cc5407 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 4620d41f3b9b9de989b26309973018085e8320a8..64a487a4cdc6fb8d7360feb51db4c438e8c46a87 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 6366476948e2947a22fc35f0bab6e36dfab303fd..bc2fb1b9c41fb699976e5298467b16904c6df4b7 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 cf0e6e4b772a553caa2ce590ee1e6a82e368bfd1..cee7343f2df72046a60c04c20da2a52b5f145711 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 e94398a65dad7af79a638c5d50dcb8cbc5793126..f448a9c02995eb137fa79d35f6db245e49b4e256 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 f92603f4f432f03dba40e88629f0c47cb2627441..bbc5561823b468458cfdb5b9c1040843b4313f2b 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 f5c92464411a6c9418aac2cd9aaf613a3a07743b..d29223a41ac66ca623fa4e58dff329e2fc7c876d 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 3120c3cae82b6d189a7dca8739982a1c55050373..f28a54380a0dab086dd38c654939bf431cc58416 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 7505a109a730089dcff64ef20b32a276b157dfc4..16d5797d64ac68e78281a3be1b9152d3b2e4a04d 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 027eb06a657d33aabfc19e11a0ae36b4ca65f695..79d87bf5e520269572f604db382dc88033452819 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 455cbfddb608e8a5ed8c449d6d527f0f11be3611..43e73fba32e8ffd81929f4a6e6d9e23969eb53dc 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 3ba4cb7bebd95d633d2848ec05967461671e3f43..44a0488a612d98a6b96df9c018a4cdc85c4c3c56 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 12d6d86e3f45401dd7fbb2f3e1652d713c801580..a9b2c6b21775a9dc21a589b3ac870981e6b0dcc6 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 3f53e3ee942ddbb2eb157f2e15bf6fafacfd2708..98b78d20e85d823ff03994e91903040b0226e47e 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 199b57103e002cc14c6db6d441bb83c985ea2484..e56416e08222ebcd2a11a395ca51652e034fef74 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 8f7c8de683f21791cd45ae8123ce6000ca2ac535..d197cb22574905ee70b9a3502904230dfb81ca68 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 76e80fe365130765e9e6d2da2ff77f5690ba6e9e..7ede02acee9b0fec1bcef56484e2a7c56712c071 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 8dbe1a8d53423bbe4f13329896288d46c14a1c15..dd7b43d1d123b08ceff72c35c68e45d2039a9591 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 49687f2d371489fa533c33e7064114e553f39406..27111c9b818bca53079654e0c48fd18030d3ae86 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 16150cf1e5ffc19edbe95f4764eed6de8e0db0fb..4fcc6af7a627791982e7e8557043ba4522cc640f 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 1c1e18ec981c1b6736e4a93942835b2f436a2628..78cc1d80f4a5b46e061a335194a4334f4a53fa56 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 0666749502419fd4259a6fd737f112d775f058c9..059708082f788d0f89242cc49d6fa4e94aa2f025 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 b56d328523ceddfcd9f6a690c156673227493581..2c3d3c6a891c12d9b3892fc07d5043a35eb6f70c 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 771ab6fde6dbe9c5201948104141f80b9b834459..eb51b57919472084f742934a11d7abefabf0be1f 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 87e1f8ce96d8afa9f1bebaf1eb93c4e7ea755601..1ecc17eb3e9037b760c23356df09b9505fd4e731 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 73e34a6c8c889a86a468c2a1049135c445e9b299..d4a26519c4b777b1780bb289afeb865751e6d3d2 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 34c728f66f3fe2efb9f5e66d25bc0881e71e5634..251a44e2cd65df1084e51b2e1b925fd500bbc47f 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 fb125c486fdb4234d864139777216cabe0b7d8ce..cf09345b59f46a0689c8014838efd205c6e0100a 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 8bbb3f854311d9952fd6061e3c58360fb18899cd..c045d1908ba1e14d710c7cece87258cbe72db445 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 eb25897fbf3cf9e9c94f51806cc2bbd8bb14b7e5..80d2c209e9446ae0e9e6482d5a9b9903e9194f0d 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 471e9465d85b67cd0a3cbd3be94f2c1b605c5c51..cb8d65893557651d8dbb91e0430f495116a3afcd 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 d394a94f91308b568bd544a1c3e63e6b109b8188..65e47f4936a19b834c6d6e6d2925a51070e30bd1 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 0f2d4f85ef983691e3869ce6dc824ff208535610..ec3b5eed88e8f32e39a33a599fdd0e521425d33c 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 a56118c3850314f3d9dd854d8e342598c03948f7..abb19b5f09333ad2ee32d1268c8c9fde5348d192 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 e3e51aa0f02e4be9554987ccc28d580333cc0110..c2aa8875db659b12d0e3f3c8b0dbe59f8ecedbab 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 62450ab4ba17fdd7eee9730336c40288408c23cf..f444644c6f678ebe9b1350c3b74d46e6b9649d68 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 2210bad0cc9fabe78c9e81724df874371664ab92..810b8dacddc3a0d494f1596a3a6600374e99512d 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 8732f689844dac285c17c3ea9079fe6032b0bf4a..86df9d1e932730cd8783568b536c74c0f1f0b0b9 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 878352b708ec74103c35c1eab81f9f50073e5601..4721c41b5493919f1c8d5acf92acb1da9d85b7c6 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 afb24b9afbf2bbdfd7d12885deccd923f28f1b3c..ede3f6feba4c898b238f25783ef82bc5f02ca5d8 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 eb3f8845b8d0c1ccd5496cda02f83c1f8ea61873..c2e12a1ad2f1c12f64e55e43f98e423939cb6cad 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 c665df8d8641df21e3e41fa23ab03a58f026c0dd..8fb559688b539134ffcd4f8921452a12e29d7a8b 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 04e727d8317f74569b5631a1b32bc64d0b4b81af..5aed77a9ed8854f329c7857df1c87ae63b385676 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f521cb850aa8e52cf930f7d69447272b225b7db7 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 d96a0a19c8672c3af6c6950bd33725298152b390..da4f5143cb4cdf6b2220c8990ad732257a891563 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 e3a5893d5c4f8657648c2969e0065e2be4f0f63d..f70ff80bc21fe94c3269da76f7bec0df3292a334 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 6d91fe95f35d282e2655aea5770ac8478ed01f83..334f84a55726606cbac79e9a19d800b4e5e82cb7 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 66957853d1e761c4190dec51f1912426d630e254..b3b545ef39e75c10ec71f572976eab0b6ac4eea2 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 6ea8a375eb67392c0a3888a751f848851f979c2f..8449a7e9571d36dbf8d81e72c11cfd5873efb3db 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 da49c081facdfd5888b10f33bb61436291cd4a18..c3d577525a7735dc656b95f9b5009b9dfba4aae5 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 11c044934f6b1b743220842e258d96f9cbfabc17..4ff0b2dcffa0c179c2b070430c2db61d87a2f990 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 cb14413f71e6c256986f1c7c4a63dcea6bf69690..b8102a66a4477803795226173240cc35f0292787 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 2e6b5006cc0f0a079a11748ff44b092dd9d6a5b3..89c9e3af38bbbe23e18391d2c37021ac29a1c028 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 5ee0f4737a2906b466a21dc5734ec9d8f13dd8bb..aa87bd4cc0fce81f1756dd7dca39033390621439 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 856261e47600cacfbda2057471c834304ce53523..fbd8a0be112d7a49a7a3b29df9a21207af5a6e43 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 b7e4dc5ab09bef2358286bc8b0b647d068181d12..73f3f4182cac3a57a868b5433c6fb6e1c37d4761 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 a9eb87e25fe95acdb0bed302dafb17505ed1c1a6..eca0d0f83e0766fe33009116c2f8d84595f8dd8a 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 35839e4666d68c59b7aad366f4ff83f9e8234f07..a1ce57c5e2dcd81e2fe172bd9aac678a544c8d52 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 f34f1b078f41720a84076870612f11ae2f84992d..7f16c4465ed4e6863e63af0fe445d9caec56d951 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 cb5ea3011ee423908a4d32acd0147acee45b9d92..6b1b2dc60b8ed86b9b3beedb5efa331e153a9ebf 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 bbf766dde59cd6270ace2a7525c40a479bcb8a93..3d270e24881c33fa06bac0bff779c16e75c96c0c 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 90ac825d602c3fc7080f885a405cb8e919328b39..416ad23826c38131892521b8cf29b5e8052609f1 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 90364f1c426c8308bdbafd369149dcfb5ccf64f9..594ae1876070ed3e00b78df6d2af4b2e013ed03f 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 0107759a0860d45009581c4aa61c92cf0bde351c..5f0dc79fa68745e48ccaba463c0deee2dd643abd 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 fccc2077845778223ad8ca492e1899f0b631ff39..9cf2a271cd1cba37ab063d8ba2efc9d6bc4db04f 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 064cc4ac7107168c34381a007be0cd0a0946ee13..2415d7c55e8cb38dbbfe5b0fc12b0cd9249cc740 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 2c3f1859c2ee13f1d6390f121d1cb84269d270f0..cbc84518ca51f700839fcb9a4df1eaadabf16411 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 a57596c0db959e36d6ed7425f90b81aa693ffc6a..be1c239a5638d43e021b4523ca6e1378e99e5ec9 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 a3be74998d5f0ac8e8b49b40ead1d6e208bfa07b..e648f8c1aba8df2c635317a73287865e00057be7 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 d564db404afadc4e349a580b28339d76b2681944..b4654f660a7e45c4563706940ca353b77dc6a94a 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 219e1cbfbfcbe84c4b8ddd2cb1f5e5de29606019..a80c93667aa1adb1556665ae7fc889e862b46195 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 18c07e609aa50fbbe2ec8a0c7148033c3985ddc9..3641e6e841f8418b5e56fbc9d217ec33d8fd89f7 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 76346049cee9ac6d8c690b9c269a1f339743c346..36e17cc430819c8a1ae4fa181240f7d3e4c9fc14 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 cf5cc5fdba1ac0751df60a3ab3c7cdb34f961cb8..34af9b9bb6cc00425f59253dfc3f8ffd622d7b07 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 b4f1f437d42076826f2035c08f033d7b7bd5f456..76c68caec4c1c21b2c7f44055f693d1334b8a6c2 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 e5684a52f100645a9b1401580feee20d10fa2d17..60defb365dfdba064badc89eacd0b0ef85a40c2a 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 1c94e0a9e7fbc099fdb0d2e7a5951e12b53848f8..1c00a251acc037b8c98021a9e0f06fd18af12edc 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 1792c2bcbb4b438b49de579c47ff1c4aa2bfe278..abf271068f61cf9beb6ccba08ea850c393b173c2 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 a8e951f8b4aee79dce2f1f15a36a3c6b4d9ba79e..c7d1dec980f64d4b3d56a3499bfa39b2e8ae3f28 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 78ae09cb0d272528d9247dced69e84c6c8e196b1..20af29204d1241a6d582e2fbeb6db6c2db4f4348 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 b18b24a768cf853920ea1e49a63f9cb53278e82f..72904de114b309a18da1e29fc151e64d2ff47fc3 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 1a9f50c5944af9d2a9ff619ba1ea38a6fb76e4e4..0155c5838ac698f56840b61b66153d9b4b8416c8 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 56cd2d6f0dba4853a1be0b462598c1e15c1883b3..dee44d8c7ded09ff7b44534cac6155e0de9fdfa7 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 7fe691a745a7b34433679f175b151c7f17c7a710..307f1bbbd57d762eb676c81c4efc35b65ba2f88b 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 46269b5d48e0b5d427ccc8f98f92502dd4fcd427..6646220845a5d02a48abb83308f863b736b74521 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 cfbea3abf1326ebbe1407650573104559060926b..063131bf4ca3ed415f0cf462e04ddaa57d09ab22 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 e3506af8849d513387a771c24f331ab3569fa32e..823cc68fce3f2190af07cce8f983842154943d7a 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 8f0fff3b7195ef13dc91e5539419831baa7ca3d6..792afa0464a885617d39e44a3890f2c764cb720e 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 f65621ab3d7a8474878f8e5c2c7baa9c9133d0f3..52cba6d1dc2efffcce751e0c25e0fb707db7b33a 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 ec47e21f760b1e7c081485615a0b886791c5dc6c..afd6fa6a471c3a237ddb104345e019ccf8e3e13d 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 c9956d3ec5bb948710dbb324eb9c5284c02f4ca7..a6d917e66e4941ca093ad82a70e1754563cb7971 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 9f9cfea14e5c3021b2b803401063ad8ed65f2d2d..077683320a191dd67272438e48fafde478303ac0 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 dacd8ac7f66705240118fb098c6584c00bd4691e..19a24782e24ecf1cc986b05ef2c49b3a80604300 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 ebe9fb0690c8b99ec231e94a84d29d8d11229328..6a0b66c585744d356f7c51622eb854df538869cc 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 49e1bb0767e5fe01ea7994979c3b33a91b395601..23619d1645c1fcc3ddb57ec633d5dc8c7691b297 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 cdbaad6729c7531bf840ae11b4a0c9e76432b627..695d7103d4672b597da22b37221f673201ce8385 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 93d41496be008136c3095bc1146da99dcb6464d9..8f67404a245b626479d35ad622443d3f823fecd2 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 e487dd1ab840494a8d104ee87af8dc497c7ff755..1cb58f79d0653863dde4633b9a7c70dcfe8961ce 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 2c8378301d616a35cd431b28c7104aaf26642fe2..d01a50b92d59f252c22e021156e67a834114cd32 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 dc9967f63ccc962a04ec75fb3fe3ba1f41e38824..a9d99f441bea252aa72f76a6032e356e8057ccd9 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 f8eb5df8578385d0a698a839873261cb575e9b20..a57409deb6ad98468bbb4fd3dbf7d2348c6a721b 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 ddd77b509c06bd6acda4f0e595bebca7ce5c97c8..595c39960cd5b147628c73b86a7ae7aa53f09f13 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 b3213ecd8c29c7c2b977bf8ce678447fda330f55..3937facca6b09830a801bee680ffc8fc302edaf3 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 f177b69b7aac97f082b7b9777122db40ee6044b7..f1e36fc887a049e022d10a36210435b535f752fd 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 84ce3c6372b07f11222a5e04790dc821ec8e53bd..bb4f6d9510dda2ee9fa0f5b6f0abafdfca0d90fc 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 8d1bda58265c3a0940cd2d7a2ec44cd463945a2d..503fc492bc94326fabd456232efa8d215437ec57 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 1b1eef1e6aed0ba32f16ec3eab6fd93a8b80cd8f..53ae7421470d1d75a599a538c8306eaa54f9c70e 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 7c6db2e7e956d4aa8c53463625aebab3f7d8c9db..4813d9f1b0a183b16f4da73a4a16980ae22dfbd3 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 d50f4c4f933ee6a35942c0d0f6b92d8c1ab326f1..46518cb8caffad26e39bb2f291fc5041eeeb3e54 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 1782c281e0945c1ff27258c0e03eb941f7c2c52a..c0767dcd174357e9d597780386af3ddd1f5c39d1 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 a8a42201f4d70742c04ad4721e109e02e0715feb..faf46fa8bb0554f3649bcd494139c1e575101b75 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 447243f31734e3b1d7169d71b00c2fb999a14323..b1f37b6d6dedf23e012f47a0950d605cb68ad3cb 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 033aa86edffa1de135a470a4f8747df0bec8b22c..7bf4fd060d36fd3247f4d0662dead5b4006466a4 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 f7f6990d91ff0715f65ef747b6fd0fd10ba59284..c490facdf4810c729d5539bc7ed28202efb067fd 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 c821304dd5ccd1a92d54d8aa0cad0159ef57f14a..fb33bd51598482a37757fb72e7619a15a0ce16fe 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 2b6ecc5b864f1ae71212a61014ad5350cfe84168..4989471d0a105dbea9caca6dc26183962abf2479 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 0f2d907e576b2bf952f69d8d1b23b3b2870e23ba..6c332d23ca86418efe9af508620a151cc445ee43 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 4131f3837ac1868ec391b88ab96e04c6684db98e..0713150e141387d8e5cfe7bcfdb00c6be5d00fc0 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 e95ca47868c09d1380213145ab099047e59e01d2..978d370b5493fa9ad39915317d8829e4d3af80bf 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 818d68603eacc3ebf6c679c950d19ffe490855ae..ad779ba0ce916a0d208effbf65ba2071589b6588 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 418f21cdceb2de24aee0c06bf8a3e81456c97b39..29f015284469adf0c0d659aad346192d123aec03 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 50c1e6067252acd6c309c9d103d3c80cd816a6b5..3389732aff6a6f3f43f8d70ad5634d82269655d3 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 42c269ae7a828d0228c565e48399a22bb73ade63..391ba19d4085516269a45c5172c086653724599e 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 deb238f6158fc81da1ca21be7e9d39261ba112f3..5edd95b8309a2c6997bd50ba590d53e84c219188 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 417d18abec5acc276330797ded3fa8f2806bc16f..9aeffeb280d0f1d5e4a19dc52a2f07f78f6edf35 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 69db9b42e69273125d8854e93055b2afb3671daf..a91e092260b83b3b40fedbec9818f0607690b453 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 5db28b8323a9dad3239b9d69b91638efb5a6e1ad..4ad58c8cabd06600e33944c0e77e153f5e871e8f 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 04498968d01aac9a99236fa420f15c38b62ce925..94faaba8a2ebd4655e0499ce8003f55fd800e1fd 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 4a9dd891f3b53e28aab23c966ebe66b656581f0a..9e42f7bfa601a202111355c2dfe4c66bfdd405ba 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 38075ee2c110b95793c5583ff9e7d257d43de5db..a2a1dcd0d8d51db71cca3ed8f128189062f6f91b 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 0c8416f373985dcde97a71d3bd51b7d2e48b33e7..93342e16f2571444edb8b726e283c21da1e64b5f 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 ed9321871f2d9b52c10c27411e36f6030463ca67..a98631f4432ba034dcfbc83fcb31f706528c0e15 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 b75645fd2b8613b6ce7828451e55df2d426f45f5..ef74ad69fa6348b904994f9177ddbd5be9e078d1 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 66f820f616788462608728f251875d741ef461c2..adced7e232cdb256b853ac3db8bdef28c63e7d12 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 48d490d30f5912bf934afd3dfbffd54437d13ae0..d8dc56c32da5b5a16a327f37bcea23c3a8a60ddd 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 682b1186f1a3699c8d72979cb5b788757ed54077..52b2bad7b69822f8b168d0b08b61c4a227453531 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 f3539435cc58b902f6bec8ac711568ba1bb94546..c937bea7e20ae2a97289b70bca92f461034acfb0 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 1f4a166a44d2cf8a6d740c77841cc81281320713..65581ffe59a54ec271bd7d809d44609c7b76fbef 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 0cb4d3a507b3b3441e020fc4c1c9d1894fa0c9be..d08cf63a7146889118f7089697f1fb4f79e3cc4b 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 a9c6f4c07d2de4d55abcc82b0b17f0a34e5de537..96b49ff1a4b0fd88d84ea24e93bd84e7212af241 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 d4d036ae352d05397263bf2ff1321c4b8027c8cd..5fe921362197e5e13231911d23398995147d2fda 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 1657236dfbb02acc32d8f17032894268ea26137e..84b7d1ccd90364c79bfa9aee580309a9ef84b6c4 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 1083f3f1a3ef06ca01a31bf741a25f9871c16a41..bb9a63d2d59538559b4ddc60eb265d5f2dee40ad 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 bfedcd999115541b91db248f09377f1f520a35e2..89dc09c39af6391febd8a21b1918e06f1b260b27 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 50cb463de6995e110d5c47a0b8de35de270992cf..48c63c18b0aed22fbe76a363f1f058dac952d39a 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 199dfff25945254be8f73bf99b0fa5f4449ebd28..1105798a7ce6c2ac00be19378b04201fd371c489 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 e4b196320048a8e5f61c61e0348ae99035784e38..f33992e0bac715ba04a6b9e7a38696a84d53f6aa 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 d9331362c4e0c3bb79164e293f9a001b3e5adfd5..20708a8881d592c615cf5b8923df1e81717d2de9 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 51ed39872d927c3ca10bb09f107634278c800092..784c29582efef7862853008dfd5543f3abbb4c8e 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 943f650913ec1b5b8b3a23176c331ab75c74928c..c583d2b0d89186bd9563fdf11fd24a4eb94e46ce 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 63c809c797a28e9244aca085eb9674dfd9ae5541..18352bd65e8f707dd85c06a76427ec320eafda81 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 cd758252fc906a7c59a222e21a1cdbae80252f73..d8b9a701e8f249016b090217559754681b64fb99 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 e9ed3d5f7d456835873fd4c47b99875f9a76e4e5..a28258ad995dabf0d0f2ea05c5ffd9958fd42fe9 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 45608d7b9909451fea838107b64d28ae7f7abcb5..822d30940a1efacfc4213b793019a28f829a3320 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 d0fb261ecc5afd77c83de6adfffc77836f0fccad..282f1bd5a9ee3592c28e0ef5341d68e83dd25cf5 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 fe32067f164ebc2007d525e5f2b15c9de3a82f22..cb65effef8812c64170eaa6b1330f557a8ac59d9 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 77781dbe556c8af6f6c1e9e9f80b1cf037e094af..26558d88ee16fe606ff16d9003b95053431274ab 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 93acfa51148c9f593fe463cb434c42ada1f47fdf..0dd8f8851ee886f8cdeb580383e3ebe3424ed1f5 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 57d06ca24580d16dbbeabba4040d63621aff9f2f..c084a52290db5cf92f4c0342481ef15e43099fc6 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 fee8ef51ac698f70a15618e677c7a0aacbf61e6b..a36f1ebf15ca548e5ad881a28b538a7a477ea082 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 51cc3dfe3dea328859e37210bd062af2a62e17b8..287a9a3f740b7925b434da7fb0fd5dae168b37e8 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 dd520f5410444e9367b3cd01fc6f5eaec39e2c3a..a265fd0fc66bb73e5d627268b725431d0336f9a9 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 d092e836b1bb6688e63a304db7eb1c23afc73a94..2fa77e035822d7fc409d2cc7f883d170191e7c76 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 7bfabc380cc6b2ec5202c2c6dc60f07d82cdd0e4..7474050d53678665c7135fc4775107201533d2b4 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 06f03c4ea78b41a49ec19191540a8ed41adb0a08..b8844a27a633f649251312320c1128ebf49f5b4a 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 1bd5bd8de3fc6a1ce8ab8bcbd488ba62c5b08322..7dbcafe4ef9ad2f9a27d1de029071d52072337ef 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 bd6e9a8f8cc8a7da63d34221dc3cfa5470ea6712..9093dacacca35de54d97d80ef9bb7d02960aa996 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 e805cf2c422118d856c91a8b65670f8a5457571b..2543d4ca43247f005f19e22f32038e11fcff6391 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 4847eaebaec51d1b7a979be2d3f4846c5ac9afeb..0a4d79435beda503e7ba1167d7af04319e102440 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 62bb7742cd0bba70349ac8e55c514aa4d7f76935..c23c6827163dcc1b483acff55bed26f2ee5fc76d 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 33bebd2931c0c1412e47b2b45fa3efed1e1f0a64..29c4105abccb06ffb06ee1ded40b5064e1f3fe15 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 1619d839a85956bf0d9bec4508a7ce448821c242..c3ec56c153609ec223e20731b55f89bed1cca3a8 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 2f6fe34ecf1f50799b48784e28612e921368b749..bd76bf94d3e596ca14aea1b0297ec06c6faca7f5 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 94aa5cc97be0e09008d5a7ae66456ca918f15ac3..48570bbad057a4506cc250e0d861935d64539e0a 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 f508b1aaa6d3c90d91d4e29af0113af5b0543567..fc0ba45988b8ce1632a1ce02ed6235e8e20f922c 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 58e95d69dc51457f8b0ea8af69a6e6977828804f..a2d1ca1dac2e34cb003743fc8e6122106d026bd3 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 ce4647f79f1819722e2d7a83ad2bbf0316bed020..e2cd7117a9da1dcc7a216a17b563d37704a9e0bf 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 dc1a5c758b653ca9def93284848fe0203c582f61..1bdeb9f4a3f1b015d321bd2d7b65a6a9f7d280c8 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 0d1896bfb4fea789b9d9a9a0077a94f253e9fef7..ec2c2764afed4e6cab21f2fcb1d8d3ca13dda29d 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 a37b35808d9dc4378bb936b70480715d9f3149d0..d0df0887a7a08f053a14fc51002165d23c8477a3 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 700132796f3ac7274758990348791643850380de..3337cc5e891bd0316451908065c9149ba9c838e9 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 390460181c864e1206b2d9231f93d7cdac3e29e1..cb14e1e6d6dfa342d52527a10a785c8d8a5eecfa 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 7da999727b3c30621f62684b71285f6e62936997..d19d80f9449f005e931d477393d5d40a9ad72173 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 8301ef072da093a5c8be1f8a829fa54702bbd89a..a659a32bc90b304ee522d35c52badabb6021d7ed 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 3987f7c4312b45badd486b57b2667c8e41b23490..2a6313f6cdae5a4ba68e11ce3cb9fff050187c68 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 0480c69ee37c20dc4cd53c207387068fcb55c9c1..0014c2f5edf9864058f5fc2bc876734d1622aae9 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 58fb72fb259f81f40b7c96adc106959b58f5ac45..d8250021ff3f90dffca05af84ad0328f23fa5fcd 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 1517ba95676dd21f4a90dc3490a511085a6dd732..d31c72b21a02649fa0acf3c31ea96baf7aef5071 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 385ed240c20773bf47cdfd6765ad6227508a9ae8..7ab9e36e4db57891a5188f26ee9b6d0b180c8b23 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 290a0c029f67c1e8bf65fc74dc4e8178b07734b3..7cd3e8939e9aaf3edec5843518f6847b052ab45e 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 44ee6a81e33e7c8f28b9d7580dc558a81af9d249..456ea8b68c62ba37288c82cbb35090b65b6c0c8b 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 d48733376b365582477a75529636fc6dc3f171b8..3d85f7651f44dee1c2de12a2683f720eb7ab5c98 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 9e4c1ed9c373d3199037937ed3a91dfb0bbac8cc..f91bedfcd0383ff3ec7254b03d3095c22f951537 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 9dc95916c0cd4da5d10e7f9a298a35a906721f1b..f47f7c760b6fa516dd68ce6f603827b8c135c928 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 f272354c4c5512a1a6e98e6f23652a6531a780c0..c70d5d111f432a69272ad81528a11c3a6e051a85 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 8a57576b7baf74f710f796ee0e32306d43f9fb92..d29063f9fafba0c22fdd9063521b238d6bb02efb 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 fc3f3b78a84162be4b6d9dfbdd0d2c067e0b199a..20e4c4956feb633ab3298766ecf01f5c3935d228 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 0b068a7c99e6728c10582d8e17710ced7faf12e7..4b1e2618d439b6adce79a97f2b26fcaf59e39c5d 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 9ef4bbce092a328adcf49d4b1063c9bff1a1ad87..81aaf8a6be6c7bd65c2be22ea7ece9a5c7593115 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 5db563d601b89631472212354917652491ec43ff..3db852a9bb0d02edab34b716474d548fdc507dc8 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 e9c130dceb2d01522400b6728b58f522338e0f41..2799eea32c68a0561f8c4d67129fb95cfab0efea 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 6f1c9744ee0198e9dc2246eaf98e0de021e92d15..a1bc1deb962c463be379a3064c86a4030c58ab90 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 7fbe30a9f9f04fad89ddd909b24b887a6e01091f..f37a5dbd3346e97a0993766cd940161d03796ecf 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 dbea8aa92afe3e2578f429cf138bea3c6ec3694a..84fb19781b4c8a6409eb5f252961e1897896288c 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 780e8961eae92abf53a85e9234f52d28cfd010c0..06dec4f7cdf7256d0585314b290fa3b2e257bf75 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 6367db96409ca2c5c469640992460b505c5a05d6..f86852d4f509e27bb4289169481c17c20c905eae 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 c7203a9306e91b80468073eb8a8ffdb1af919748..eb2d149d41b5789a058a5d12a7ab63836f18c98d 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 288d79f1f2a6b2ed745a7bed02d85e2321fc9089..83defc1b98f8525448de586078eacac3bc9d03d3 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 5e4a586d8b16ae54db78cb82acf73d86f3b0294b..e461eef58d8ce56af2629013377931be405d3240 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 26984b6909091bafc66998e846135d76829069e1..162f2bdd1a347804a69432b1fd6b98c49865dbcb 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 88ae9f4bb5b4c28aaa7c6126bc591bd40ce7d25b..879ba4bfe1bf73d372331a595175ee20ea11b053 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 c0f13337a60fd5675330e8e34ca7ad5835b0d029..05465db5e66e9684030d8fed06af5dd79522a833 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 c8e1df73394c54ab2401169384507e7c29e3a5a9..bf1a1b4724281dfb6e3625b56d4159858993387f 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 9898fdcfbb59cea11a9c18841d888c90631c5d73..e57f12ff80f85a2c37383d2cd5dafb90518ab08f 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 c2c8ed002bfd440f577b57edfa5b0f3ce7516cec..a1b94367c732af99a0286837f828ab5d78830906 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 eaaf3321500e47772f2eb51908db85cb4ec92e5a..1c1ad45f349820160fe12ddd32e78c0828ddf8a9 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 4c24bc1f0a9c7c0798bfe05a68471a73f78afab0..6291176d8e3018765ba0721fba1bae361ee95a0b 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 b291fed66a54fa8beeddd6c54373232294ae2ba0..c078736fa818551309365f8ba5a96d4f17c73a25 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 c95c8f22343a2001b8e3ee3bbaff93bb508cdfb3..a94afc64639539e9b49b889188619608112a28dc 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 315b556aefc4846c911718ffd674d3d0280b2afb..03d2ea0d5ff74fd772745263d42039b7a230ce2d 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 06d4dfd30ddb03f411be60025ef96ceed8602e15..58acb697d9e1297879c6e129ef91248437a36681 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 8f1e4c4ba0b794a3cf70f45f29d7934f35c10bb4..01f93f30cf0a9f2f9738b8e1dfe8b65b975476ad 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 d864fb46402ff866ce84135b9997e20640fa0de5..3a411a1b70ff6a1984d1fb52edb73cb2d2a5bcef 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 fe4b38c48133dcc37785b53bd6b1bb3fbac944ad..3039e2db7e4ea056ca02574d836e0d11cdf6ab4f 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 5f4c72367c6a7acf0eff6b73d7dfda39db186edb..bb205b45ccd7bb9342b52b07f0c942704a329887 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 f5d1b2da357ff9d6559d76e37a6f2d3f636c7a58..e4d66a1b39d046e7c8beb0429c1aee4a65dfbf55 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 7f229cb063de74ed00616d058ccc5cfe41776ac7..0a0d515970e493c5fdaeac066d89fcec2d9e7143 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 d0fbfb38a899bdf882837651abaeb0a94b036464..36eba88be08d9b2b229f3682bead52d68f83de14 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 49c20a4e2856387b6d7dbc863f390b8d81ba7930..f1c65251377488339146ae8b28d6ef6eae04e24d 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 7a87594c52542b8e886f5b8a763da066d5b1d16d..50a65ed05da39d0edee867866be55cdd2a1839ac 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 b038eaf787ae85ecf47a5e735a4dd61e95ea1776..8fdac2213fc412e6035c2da6bf22429a450683bb 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 6a1240cfacd4184a95581ee450b0457a6839f95f..5ffd664c8b6c6ed0baddae519346dcbb5b6bd98a 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 3073272a24f488dea4f08c6cd6ddb15d2f461317..adb637afe2d8696537e435ac9d6207731e486380 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 509bcee0b8702a28512bda5f2e25a331a0b7ea7b..346e6febe101fb059e2fb5d0445dde36696f90eb 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 0bdb1ab7985cebe8d8154b02cbe58342151e1139..7e3ae6516e660fd3a4ac9bd81d7202973c00524b 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 291301a8193abdf3a1e6c6f208d4537f35f1668e..298e0695ee4b037c207bbf32ea408d8717cd7540 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 69ab6840c82933fdc9687c680bd44c2e85d7a647..30f750870109d684c4a206f6e07fff37141c1037 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 5b0fca8b66ad06c0568b821240c1958eda340937..83e1d05bf144d488c517437cafa4d922fb01d2ce 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 85cf492a00108cd1c44a7de762a9995d9f40fe8a..5c0f1135f83f24116e66e7008ccddab531582d0c 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 fddc64822d050b1ef0e7831cd17da5095856a462..f6b6b26e371a302640d0ea124273df94b407a72c 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 43f4bcb465613f3fb9886521cb5b21a7534b8178..57d40042b15a15338f160cff0c746bf6d8cebe35 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 f8bbcfee74a39492327276ffd631bc1a2d1dbef2..32f6d0883d2319c945cd10e9495723b4f6411fc7 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 191413b7d03472f7f45ae1caa70906008360fa63..34d3b4e1a338dbf5b82350b379a4426644838daa 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 8c2bb2ef9e2fe8b6e1c0598250d93372284555b8..496b4d5cc2785849f8d306539fed741d2cd44603 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 d790f35bb9c169e3d904f3d4cf5dc3cd0af1a184..03461b67463b82326feb3ef7e6fcd5fcdb55a440 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 0e8f54a805281eb8040a3b6a38fa3a12ae28bc38..1cd34dfb1a15699f4a95376c25dcb17a25c0a62c 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 7b33f1fe19cc383744b36c2fc3a6c875f1c1b325..3ce4abf5c84647240274e79f91ad194186992107 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 c9c613a14897d00be3a5d80d08ad13a9d736b3c3..543b8ecf1634a65dc58d9ca255da6a409dc8e3b5 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 2ecbb7c209e3d13f56f58db00f51a6f83bb01d8d..c76910ad0108eb363a79e506ccfb80a3e924d326 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 c5273e9b82db75e8bbf3cc956d9603dd1942ab9b..46be075f38182916622a61714c6cd0d4ba241cba 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 6944c0337088099f148651419d6c424e7f011f28..75c5d19c717287793d60895bbbbe4924f1251879 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 7061f5120934307b6855a1c86689f1c31cc9344e..6120106b4ebe551d37281b1dd29281b26f03640b 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 a81a2babfda9794bcff2465c753308db572ac91c..488a969ae561a7c455970201b8bf443ce257ee17 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 d5b203ab619316250d7823632324b8498f254ea9..0f96858bdabf2ec6b35addd45a973462bcc4c555 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 d16d1490c8af04a3674a8d638ff8e64f09dcbf25..0c10c732112b4c830aae8cc19987304f41cf15a0 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 30fde91970a74765f05aeec78f410e338fbc6f9c..ad60f41a6d8a8470e3bfa88aee954e405941462e 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 11ce0fb4e48b063884ad6b4768eda9c4ca04a204..86cdfd38eaa1af70c48053d7e10fc61f92002c11 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 964797613ae1491d47196f6eeb393c983178df56..6f0eecb8c76a317ba2fdcf9a16264179830779f2 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 2924abba062101075b33189c27fdf0610158fb82..04bf52c28fc4b0738b415a6f73b92ce15212f3e0 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 035d94e540fa93e5525f574a59ca2f86c0c41684..0e92cb88a418fc43a5d9ce853002c37b1ef97af6 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 017b4ff634032950e9766bfa7776c036e93a1af2..d8ff60faf85b0854c098c2fb2e29e60a18373a48 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 99e51c57718788dee3a861caf89aca906ff639a5..35114d505ee66a5e809ae0bc079962c2200c7bae 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 2f0c135416702e3d9abcf76fe72fb287e40779b7..95a11f7d06b6ce1d9c3b43265985e0a1bdba0998 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 51c0ad6658a768b46fc37dc24b967f8dd2cb9402..ac23babf04db6422d5b1649944a9d54015f041b7 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 b1b2e14c6e624d0ced054c1b09079745d3d8e8c8..18105a3b58d19c5b11a88e0526a16bb0e5dd7150 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 3f9bb51e716c4299038867eb6b043e00c3a8ba24..4c950509f03d5463b7d1e9923ee10f0129f91817 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 2d3ff466f37df16099700407098b5aeb4adde35a..3d8d3e2c00a3e8a46d03556621b0a9d831ac6e49 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 aa16f3cd44869ad9e03df77359a1dacae6c271ee..3d19e911171493290b6ca39446038828c4b86d55 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 74b47ce1a66ad18607f40dbc566331a7fc8a59b8..9e16c4f70df80831b521dba2a6cb89eeccc4fde2 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 e3be69d85e441add954e73599c1c9666cc044fa9..637df3c4296635e576ea83b2064d299a64389a09 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 e95dd81a6c975bfbbd4836dd7c17e09fef54bbc4..3c794a615018cb33dcf842a7af0ae69b2ef8d221 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 f32ad36aae3b725a42635c5a26d219c4c3107e01..0b6da7894553e4f07cb4649345223eb48a9f60ff 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 7efb29966077152ec6c99419d08b9ad6da66e4d3..e506a725d77cc0ee1f9d097e19058ecb6af04f01 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 80432ea675942dcf7d3d018d6018c99f4aabd36d..0bb79b2f57beaeee02169e979ba30c0f55dd92e0 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 72c6da2e61567cf25cedab8dc1e978593a9101c7..efba5f0663c6497d4047a245c817259534b36555 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 322ff45fb1ad0815b53781d2d540b6ac14dac83b..4ea6764526a7abd43d9269fba4b2c9ac3830e18f 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 845ee0bb330782f3ea38eb848b297835abc0bdd9..aa2137e3e9597acc70d4361daea92c9c068de0b1 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 2923f59625f313b0e64e7e6bacaa623d62bd1a19..4a71794c595ee91bdad6d381b23359f6ebd84036 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 486dd4a5969b360a5fc22f23df3f17de2d0cdb88..12fd8959e40aaf9797435f3dba17efb981e25239 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 ed236c860cba7d30263abde00da6453be6e68f03..36caa6ec07a54329511175e134128823d38ac601 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 f22ae56537da020deb303448a7cffced95c5c010..8b4143732137eef7a4ba968046396c850f76a269 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 aa9aa8eb24064d02b9bdb01d87b4f3450807d4b8..523684ec746a26af146025068ffccca9bfcc2ec3 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 00a87c566d40e48168d15102288732866b8f215e..0758beb59a65e96c16daf8a75dadf2bc7b6f86bd 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 4f7e5993549fbbc331a1035942a207cceac65227..66d418038c5c607da6a8c24144a8eb156bef6d7d 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 632095debf89a74ab016038a2371d542f6b90355..c7daac40695487911ff06914ea764d3679432255 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 a83bdc310a18acc82f6d1e7805d948cf60755bdc..ba1a38c40f78f4521713853005c4f995255b6b55 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 785cd4a56a3a1fdb39e2a14fdd3223f096bba5f5..a2982e9d8cb138c555ea60c5537034f970d02917 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 6231456700234a858f5eb39034da42d239273ff4..39cadfc113fd607c00d9293809bc3231ac79e5b0 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 7d3a3fb3607e547a2ec1d9b95b66cef55371d104..cffaf2e7304ab425677c200d115446ebb4ce8406 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 1584337c60331421a1b77e6861f3c9c97fee4c5d..a7c6b697494fe2f50954e0db7855502abfb410c5 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 d9e41da4f4c808c804165bc4576ec7268c91a858..f9255e47f5e78795459c26504010aa28e83c95f8 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 7aade9b027f584e4ba66161ebae541a8f5e68374..14f7cbc83dd48a83e8ea8f95843e3a59995c2cd6 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 d556783f7ec3f71f6e8ecd3ed0fdb3494ff005f2..1b3906016c43ea1bad2ad3f9c6f7cdab852915e5 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 54db9bf29b1692e32e09b6c4c8d5eee618645272..1382b4451b331470f78c16dbbfbed7baaad0126a 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 c00cb576fac3a97a316ca507b46c4a2e6318e606..9e5551b6146a1594ebe14688dce92351038b60c0 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 22088eb30ba4e7075a60e93b4adaa4cd78da0dc5..f3d84e902b8e604f1f643f2fc16df0d806c662fb 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 14ecd04576b1ac6b8baeeaee2276fcc691956ab5..d99c4a8e068654749caf482db07f9b80decefacc 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 98f91ea9c184aa3c72d51b33eabb3d764726c4d6..e5a08af516a44fb97f05a3e895310e5e7c6d6b2c 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 0c00a306b04d3bae897c0ba0cf974bebd43c3047..b0dc694250b400de9ef2d65e665966add4b35d0b 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 801e24548c1aac50df97afea89272502ed7fd9b8..210f63a279eb0ce8048561203ab46be80137656a 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 0b9ad3dace874836cebd0e1d4f240b6b6434c371..f7126169965432aba2cfa78f32794f224cf32452 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 0c5bb269815b23a0f14175a88550aa2be430492b..9700a1c252dc6e09c037ec525d1ec96c95ba0530 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 c201d8047bdf2f1fa3e60d5bd50131c2d4148872..5f6f45de7e130104eda9a973c03739f3ffc5f3f0 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 918ceb05b1da747fd0ad156429ef5da676bc959b..45cd37505a3346988c681939ef4b98a7f0b3f32f 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 0469a5a904698c2dd53c6620653973a2fcc0fff6..3114da53c2538e4b9f0868ff7ba6d6e1e7b798e2 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 182bd2e079d1e9a62bfecbc516bf32fb1fce7b01..5e9d930c0866a8adf33996ef14e2dbeba680828f 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 238d0ec6eb8ab486612559d8bdb13743ad8615d1..b600f4b761fc1118b8cd31b497b58577c077f27a 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 09568e11599f2c426ce93a140455465797647cc5..48f1f4ecbd304effe0a69ab0517b92804cfeb6d0 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 e55c3b3cc9cd88cbcfa4efdb7d46cd9f5d6278ec..ae15f8a992bd9a9049f8fc808c6eaf1551bb58d8 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 1a2edcab01bf17e64e4b6d212102ec7074295fb4..0c8b5e4717eddaca11932d791697483d0382321d 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 3d6ee41c06d2edc85f914a0b20e7a99f1b607e3c..e02a0f1a21240391bb008cb72e1b0302e2491847 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 9daf5686ae4f7cb55dd32b158fbe3cc51fbb951f..872757d0a813c4f8634eb759c95508c9bf874fed 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 ee23e29bfe0b3f0bc9b1144b54b84088978c638f..51d28ba1d60b0708c630a510b5555c3d09c8ac04 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 3cf30d9fc337480952dbed07368a80da9b2fc0aa..cf65c6b99e40b7bb1929d752dde5531d170a4edd 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 1d29f2fca9f6a27cda08ae943943a22c869bd9fb..f5862e6f0fa82ddb94f28a816fda029a03adfaf7 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 4fc840efa51f613ee07d10f777b1007c611a5309..b16e94f142b6097398b514e0dbd8bc751b04731a 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 ff955e1d7c55e36d2435d0a9bf8d080eccf592c6..2aa7f4e74c61eafdf6ed3ab3d4dccba0a557f884 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 68336a52582f230d2262f1cdccc29a049d3a96c0..9083dd2975e471d5a40296051e7f7a923eb5851a 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 4228166d1c6ee87e02b9b6b9e612327974c0a26d..202f13aa451730b4946dcd42ff92e6b3f7204a7e 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 bff619a9c3d81db0c5c7ad432c46f3eec81c088b..f649e7c85200ca4cf7f180e98033dd0e161f1f64 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 b11eb741115af7c04fa10199e2daa99354c1afc4..ef6a0dcb3ee7d3d1e289a870139e7d2c38198236 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 8050c37cb3e2fb84b97e1820fefb006e9f146f68..dad0c387c6c3461acee804c83b3263b3567ea618 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 079772e6c2a755c4d15943b08e27a01bde404d35..5db54f50db1dd489b53f4bbd43bd4107f5db4771 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 d06970f51dc245549bbd19973d1efcee2964d0b3..f51597efe033fa10f415db7acfd2882556e78f94 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 808fd7d8f19df1fe3522bddf3049265bb2b34eeb..e74b38f4c6a549c041a46709843c984d1b24259f 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 a9311ff440f487f1c9a189128effca85ada041bd..3f8c849117b774231053a75579eee80df706a3e1 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 311d998258c86aa24bcf104b2e6015a9587fd45b..0928d29cd5ddac1819fb0b1bde82c2e008d12ea5 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 d1abb9e37ea14fd514f0fe17b9c428ac14c31fd9..34b2b96f47c2a3a2f5550b35054dd95c0cb1dee0 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 70da3f96d7838a2b5e140f84c9b8a767dc004a89..3fa3fac02d2f17b5348d3eaba67e571d55910466 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 14202012abbb7d775a5b0a6b73dabdd4a2e67185..c347841e9d2a4a5dc4bbed0467653b2f32360d73 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 2e4d03633c0660ddb742e14db27b3bba5ddb551a..119ef1a017ac80c6c58c90f7aed1abb918a1d882 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 ea41315990aebede04bf5aab748582b68e0edbd3..9a8386e3655b1c417b1071f64d1afe44e3edb105 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 4bf7ee5ee79e2f7e8c9adff87bdd84dd428efc31..40ef35e8fecd7898e9885882f9e73d208861bb81 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 8ae584870eab1b7c024d3c7d95a0b3c218913d74..122305d3b8d2f077cc46fbb4e6b6468f2d62b85f 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 8c513d20348faef27adb5ae51ea322bb78857bcb..aa6b73204ab0ea88e4480a74ba281952ff7aecf6 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 1f552636572960c1f81afb7164e5b61c3c3e2726..b8875bd70e034c64eb132dd68fac6c6ff5c64ce1 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 f080996688a7a2eaac625d48bd58974687de3105..c2585412e27b0de5ba336baa7d7c8b2f695a84b5 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 b3aa50ca6357dccc0fc6acefaa1608e7e866ff95..5473e191e885e66aac5c246b968a6cae8e216b53 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 8c0ce3b71d2a7daa78d466cea63a3be64712745d..1449ca7048c3e7a5a3e07665f87eb3871ca98257 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 342ca9a0d896f9eea00d4446e6fb3ce1482b2506..5254f744ccb433c4d6622e2cad9e6f040142ddc6 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 6e8be8490d5b1c8cb18c695547c728668916e192..dc42076a3d94614ec3e880c8eb29ec59125b766c 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 0e55251b9cd371917f0518f549c0c407a05cdec0..21b36ee17c667c9c437af17d4eec018b61a0bba3 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 f92622dca979936d5fcd5a03ddb453bab0f83b12..d0a33ee9bc19f7a49632f3460c4921329ecb9d0a 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 15d7fb2def473abbc347566cc21545e02d507976..876f504e91801b8717c10fac3cd422cb0250ac6b 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 2889d82abe575dfe9cf7b4315422ed40fd637fbb..734f640940d77c34ff2b1e4187f6c2171500b87f 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 142cc8f12637b9fa7574c353d26d13b4ed695e4a..da64814b017deb23142d748831ca3d89ca4af58f 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 25b91b5078c56ae40f76125aae20429ceb7e41a5..7335a5a30337b45174ba320578217c7a2257cb65 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 45b70b45b48d3ebd7f3ece015e96c9966724ab33..27494c0ab573a368f5b9b9f45e539b9af66c208e 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 d8774176c99a91bddddb2270a94650ed96abd24d..a12a19a69597b3d4e89db3c3916fd28f4edc6026 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 ac1ea28f21b37e9c034574cc29855a22e965705a..d36763c3108faeb5fc31b4e43078e2c3008108ce 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 59bdaf1b786552da8f322b485ce908cae059e380..fb2e700a73a0bf41e6d79bbbb38fb6700199be48 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 1c325fc4eb1f5c217d412c62644109336bcd2610..d0490fcb71c52b4c883e069911429d6fd38c58d3 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 9119335aea6f999c6bfe78bac6647dd18f29213f..858623abcbe2a7fd8e44ed2a32ce4da21e113448 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 a5ef51a840f22b0dc30a0eeedaf3cb399fd7c53a..c3601285641cb4dfe34c2b5772647ba0d3c87d43 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 0920d274ffb91c30e516ccdc7fc0ec710fc86238..84425812f2956249055607a8b847d67633db3d3a 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 90babaea385538286709f312b9ec13fb70af5c0b..1c7548de9189ef7e19ab8af2eeaf8acd7d05ca82 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 483c9ae0278c26c7e65f4e79a156ff36ef80505a..683f0ecc2988ae9d9504a793dfc1230997f6150a 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 baba848145c3ae461ba6d34e1fd151651f101d76..4ccf169370560ff18f26b1c5f496f54059fbd4da 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 5f95fd0ca9485bd8d4716c813844ad781eab971c..6ed9d6e5f6144a3c7d138912c1b29e95d72ed701 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 d1470db2860fd667446bc9b5b8d922093106bbe1..46c32ac682d9aa453cf38ded8f85daadebf2dad4 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 2d76692097f50386c97b9e33b7ebe925aa327bed..2138059cc03b3dcb6e044f8f89d3938ee01a2b41 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 35e62a8acb25e0d56334183f70bad9a3909de64a..3da8d2b234675457255c725817ec4aa8181500e7 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 7dd3c3e5be6de84176da2459a860fec6c344c770..f8e4f9c45976a89128ed6aae1b18620916bd4dab 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 79878f2b6967ed3125d1726df48df95e9b63721d..fa816466ab36d58fe1d6d41b75c7e930f53b59ad 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 8f3468b8c4ffe4e41f0d2edafae9cdc5828d082c..0ce757618f9e99621d3a659e6f133a49b670d00e 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 70d90566d60d4eb1ac8ff3441011be85a365c4df..d1276e76cded5cb2409d5c3c7cdbb08e4a9ced88 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 5590d2bf814f9dfcd860974ea1f970b640ac45a9..4f3a6c8c0d492ef34d08d09ee4563c559c4b1576 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 4a6087e79598982ece7180485f51fc627f49d163..6c6a1ad7cff92260a22e7fe0f464211e7365f2a8 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 6ff1eea6a84a583cf704f663873cdf8c3dfa7a57..8cadb7a401a1e48414bbf6d25b53b70f63707124 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 f6a1111eb88f73d99b86802b477c8bb000053cd9..0de27da6db08b6429693b90ebef6d3dded849980 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 ff648d46a59c23cb2443e6c12ccf4ab4a19c93e8..f2235e26b8c3a57bc915459b66770822415a440b 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 40a989bbcf4bb49fdeb46593e1bffbeaff2d57af..006329fa92718feb445b9e0c6aa255a5993054f7 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 9e9ab98007eb189f2625f7fdd3c232c2d3da4e3b..23eea7f0849e277c5b51e187bbf297d67ad47c85 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 c93621ed3a92cd070a183969199737ebd142ae35..ad35286ee1fb51ad2c4f30ae02fbb8cc4644b2e3 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 8c37d713e0d6a904094ca05c95bdb78d9e42a5d5..64e7ddf7503a0be8e2c6c7cdd38814cbb84606e1 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 7bb67736c6e38230b6eac9e2926d339d1c50e558..f0f61fdcef1c05f1bd712871ce5479dc849584a2 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 5694770218ef654cd804b338a6671d4e5144dce4..4507e651ec5d4fa25a88b97dfde6c9c36e81f166 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 bf24de5abd401b12da85106bccf49246ce6d44ed..77974bc728c6190f38775895fe60004ebd3cc7f2 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 eab7a5e695b74307e433a3d857a050008c8d3e20..83a9bd6e8811786941d6a4599a2a4611b3a9f047 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 d72f62a5601fcc286b63cd8d11a1be0801060437..18cd66c3e7e3e3ba196b412d1412c6dae609fcde 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 41b7ff64f3c3a710dbb54f582576343ebbb41a9d..1eb102a5a1d4f86f89a163b75be376b1f58597c8 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 35501b6cd868f6ac871df70d4a86e1526af51ac0..606762374811bf4f7b5fdd882016de6699d2b52e 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 5f5f3e421b1b7e9be545612090112b72e8907bba..c7a1d7e6fbd7908803e5ef1191032431f0b81a13 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 eeafa504284300fd8e810654d29fead9e1be56c2..f7bf356d1b1acdf4455d70e6aa8117b4ce2cd207 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 1aabbb39d4139b3c5c6b426a7398168a313ea731..5fe4ca8e95956996cff23a046cf89a45456aa217 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 0ac4fdcf56cc073ff3267ccb8bc4a839d754120e..460d182e2b17f7bb1271a5065c47dee77c7b6874 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 c1bf976fd23c5907b20770be265db067ddf8bee0..20964fbd2e44d1edc6f3e837fa669a5f88192270 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 a050b015535c86998abc209fa7b05bfcfee48475..cb09dfa82ea9eb388109407ecdb3a90f751b2261 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 4fe94c6ec1ccba3d4cb0f63785d164f5d84f725b..56ffe2a7c748516fdb3c283577f6c01e350bc19c 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 eac5b46704ddcd09ef848da9b2d5cbdc762fcb60..68620a2704fbad0ee9104e3452b11b919ca70d66 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 adf95a8dbca0f941a3676fb0d2b9da8fc8313a7c..dec438a2ef38806102fb61ddac1b102e993f7385 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 54ecc5c3515db5204761e014c10b9c6fb6d31345..0286c0104eb37846c064a1307e86ae9fbc8c68c1 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 c270458ff4312bb9db64801c3a41084293bd5927..8ac9f37858b57417eb1817d1f000e4ae516103a4 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 a65e5f5017021790ff026a67a2241fff6cfd5e95..23a26b6d02840c40018fc6764eb09e0831b0ac7e 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 f85461cc54773e3d3ea6caa4c755052b2386bdbc..da1de6a6fedf13846ceef2c89b013aef1a1fd9c1 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 73021965801e426a7e08ec0140c88bc5f443af35..f6c959bdd880728653a3b5596ef43408b28c17e9 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 f01b56276cce95385d1aae8c3c1d0a73edaa7401..dd3486ef6e9ad1ff53fe71e6929308cb8a37f858 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 fa2ee32a530698fd6bb1738b7db13234fa8c6752..c4be3f1eb162ec07bf5e037487b3122a60d10077 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 543f34fc09935bf656b38933336b8853dda62da8..b46dfb293e043a6caa996ae421cc0e4f9fca9eca 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 838eaeae786a3af39437ee503c199e73903772f3..ad1d74e4d7415cf4bf570641774799c8c88eb94c 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 a885a1e3730d89eaa935eb61043a8d7b3250f9d0..69de48a23325833727a35aeb90ef4fcec44aa24e 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 a0bff91f829f569dd0fff6ce5130dd3427c4a6e3..89bd929f18eb9d6b36d3e34df6c2a9d0b0e923c3 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 86adfc1ebb70b81463ee3394d9c43fb5d8cca287..f8d4833a943da7ed44195d9571cf2677590ce84a 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 4761e39dcfba09b2d866564389148165ebe47fa3..418429339d94517942804cc842401eaab5cdd0f9 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 b86d84cb96d89f9a57aa4676330ee73535a70f72..aa3691a8133931bee24639b7c4f6e1a8ab3b7425 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 629e5c02b2d7b060237def0f242e9d78e71aa67f..a94c78eda557bc8bbb409dc202d5ef9a0eec0a55 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 8f4e09573a19d65b436843e5b44d57bbb536800a..6445c96667fc73ed54ce0ff908956ae9a9bd64a3 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 993249d9a54be0975176555c5eb3f43afedb5574..ed554fba4639a99e27254cb5cbf80fe9640fd36e 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 7c5203d3639c3df4a6ee96611b9aafdb4992e30f..b84d94ae9a9ea647679e879ae24f331cf84978a3 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 75e2b8cbe2b31b03ca35c5d7b937933f51f29d3e..e09b0fc4e88413a84cdd2f23d646ed31c9b09912 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 509c10e502f2065eace650bea30a683232d6daeb..699633a9322e7fef38bcef38681198e274c90af8 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 d2555687203e1605d54760260f0f1661c91a2864..bef0267619cf6eedc7e7f11918c678cba5e00838 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 6f43d6a0c036cd1c46b363c50d9298731ae28896..5007eba533cc0102e8559da23fa785e75f10664d 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 c8e0a6dfc7b50203350df9e4d784ac904e297622..23772a8acc980cd28b04caeb7836f0074646e4cb 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 ce5c4c3b88c7652504c1f3dedcc3d6c1376cdccf..0cd3d9926901412a517ac089488f47557b3889de 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 9cd377c779e025053ce03b9c499a421e143ea0f3..5473db2aa4fb3dd55ace7df5e240e5d8a0e53b0c 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 dbbd89dd1d0a8c98cbe3089273f866ace2dfed17..ef480977e9031c8497d6b55ad8360f69fb1bfed9 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 cab0ae871f688e1476bb807475d19e5250fd82b6..ea62f62a69a43504e8817eec11b07f605c079bcd 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 17a177607be37139d158407da1215f23ed4385dd..67bf2d3aab80bf531dd7c1cf3b360a6218beadea 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 6daa0a79fa5b5fd5c78dc8715394783a1895b841..e2e0ffad14b5a57d465dfc9a4a80f45a1cfdf807 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 12f11e099d93a16f490192e9a3e952b94fc4a5ce..a7c8c6883ed07f8204510cf1b644e7e8f4c43be2 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 562ac779b27b604153d1855c2e023135b5ae3427..0e49a43c37c1939f6e0d6c0f978f27d6a4aec3d3 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 fccf165b41e2cbddbaa0c4a8181057f5fcfb088c..c0538a9839151b283c397dd4699b34f10da392cb 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 78a6506ca3c0d1714017139f3e38a94be86a777e..06236f9c415dd53990413870395bfa7008205c63 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 c9eebfca5bf5f4b7001eb26444fadf36fa9c1fb4..cc1a637b6219baf9dc845745f47f693ee5d10abf 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 120681b6ac112f68645d8352797030ffb8ab3b38..baa021c87b54bd6be20cccec26b403ff246f7d27 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 2949c14b0ab6d42c7f6176d86dbd1ecc2292a24a..779c2376d7e47c7c3670229e13486d676a5830d5 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 c9218655fc3793b5e64a13ac67b6b3030396fa1a..db6c1a6ea9f646293e36aaec732714aa49febb88 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 350ac336e4cb6f602bdaedfcd5f6f18ff74d9101..452fa1b228b338c82406d0e0b81412a790c90236 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 f15da36b71eda7a9fddc69c384f0091ab2519b57..8b8693f111512d065402342fc154e3f57af474a3 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 493da48b7bb83354892a01ff9052d456dd0c5ae3..7baceb3f273bc2a6800a2f16923425530504235d 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 eb9ef6ecb14ae0236ff5fa8fbd73b3b4eaff5351..691069349e274c6c5235de75527867ee330651e9 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 0a26ab93bf47beb13dca2a1c6ef71cd4f004831f..fd2f9bc3113e4e1f1427aa6467d49dec2620b0fb 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 d19081540d00d2235df1c66f043c4284f6f621a3..b47ceb9709789eaa8cb7ee2dcf22c22c2e5ad61c 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 3423a66955758f109329765f4f11bafb7381151a..f09cd35500653fe861fec578c9797e26908615dc 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 c90cf36892146a72487855e4c67bb9e428eb1008..d9b85f1664c2e9bc853e90b5fa1ccf60a8221a91 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 228fa9e081e5e8ce3bb2287400f1740cde0303c4..925de9170aef322c9b0612934361910d78f3b02b 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 fc235d5e1ece4cb2d77ad9be220b96dc9e0f60b1..70f0ee92a5f9fa7716165aef3fe708f289f9e9f3 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 70bba2edc02c1446fb3b12d3916bdc54d596ce27..38c7c4a3af7783caa6ba82157cce4727bfa4902d 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 7cfc18d22cdd8d6a36a64ae092c539a87922044e..aa30ac5bc52abeaba2dc4f3c6a8d8259071d19cb 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 4eb7d912a45b5d3c6b5becf22ebdb8a47d0dbf04..44b59d4ef9f0862382b121ecfd72616e90be8745 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 19a3c796c0e6050214e9528e4239151deec4cad6..e36b806a3bf74daf10dee02a1507856c0114a396 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 e4aec1b1b8439501a31aa0e7aaa9b09aeb65229c..7e345ed536c9b55d6821d64f32168d301993b786 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 335bf2544cd1d27b869c85ee2f7406e11e52f212..8eba4a0850abb8bbd1ecf3ccdc13068379dfabba 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 c5046c029bafa2a057dba31658de2b38c2323156..a6da678e270ffa3ca356e580f3115a2e87138222 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 3433aeadab9eb8e2e91a0e5c51c9798d2004e6fd..2a2582872931f37d51ceb9f55288234614715607 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 2aedaf6ec40b15d3ae79aacfb79b466a481f7bf3..93572d387e94b443a0492f1dd91996961459c102 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 55d3c6ebf47045b352f350192bb9dcceedfb7c67..6523a30d7d0c49a3bfb550451777faff8bc26696 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 9cbf26c664c29f14e3c35aabb9271545586fab8a..2149fbeb895ecd4f43ad9499fdb95035778ea8ee 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 9e0b7559bf6f6358495ea71831d3f5ba0b11e058..b19df3fdeb96899a97c1dcb0f2a6b8a990791603 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 32662abc8e946b47ffcfce95240a04bd60c11ce5..cf63513510368ef997362b5fa61e0d2524b31273 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 2475a3568968e41c4f9edd1913d46fb994a4419c..01e40801b0d8cc2a6dc3594d53ab1297a67ec765 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 433ca6e05bdb4e43d5362282b5fd979f58fc0840..f0633a754fcc84c00266e8890f6eac208b844703 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 27b32305b754be71d44d6d61e081b7997e771938..b262ed5269af3bf02297be0acce61ed8828ce864 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 50fb3ae802f062fb382349cdc40194e31fcc9100..3327fcf06b1e8b75ba116c28c999af7408eff211 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 066221e5d515f61aceae9dc2c0a726f5a48211ad..b0d02dd52dce3a12d85404652e054ec448cfacc8 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 d70c7e066eb1c82a631c68085bc31b78b1f2a5a0..a8ecbc2c75db825f6a5955bb67648d7eaa21db84 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 25176f4a312cdc17bbbf88197201434f4dde15bb..a6dc46ae9c7c553cd93518784819959af5d071f8 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 8184b8828a8436c4b2b2bc0c4e0962a73c622974..425bd6ba98504c4dce748a8e74f8e3e7a26e05d8 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 7152a58c4be845c2e5775d483a9f5f28dd7700b9..2147f731fab8457588dba7a470a8e675fd45e183 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 be6c486597839625f790179d7ebda01c4508618d..b2a103d8297ed1e5de83de6f6a2d1bcf813b1423 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 0672572fe029a114bee3a1192c94fe6fdbfb60e2..ed1d666fd90a3f15b5fa044077236c5a013efff1 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 7242b8ec44f330ec46156b8a25374c792431e686..20e1846a7a74d3a205c2a028c6b400fbd6c34ed6 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 a21ebb1c37f6e1b05ed37128dd1c84bb6f57145c..0a83eaecc99bbf6f5324de330c51e1f5d5604c25 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 21738668b86a91300156e575816b5560848c5c66..7d2ed733d1d89e1cc09f7702ca7f4de964ad0165 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 722c92fbdaddcedc4e773080b558a0f057508dc4..1deae6a07dce857f8b1a56a83e63c33d2163219d 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 d34edbd2b7c4718cbd576b0182e6bf1599ce0090..b62556466e8899903986e4d8f6bfcec9ecf87478 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 6c76cf342da952d978e09b650eb28ac23d864ab9..843f5433c4bf63e3dbe8f17a25733d7a23f76416 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 88482deb3407300020a2fbe87ddfadcc2b3fb2a5..0ce4515c607cb41a272f2bd0f6f1a9638bdad41a 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 7de39e7cc341060d97916a45086ae3447f03a71b..8d0d51c91ec0eacb609f6ff3eb737b25e5f00bbc 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 f7db25cc3090e13c2cc336f6b8f59577267b31fd..d2d7c46797bf5e5ecbf1c625d8f479803803b519 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 6c5ddf07891ef391146d5e3039ba2628c87306b7..284941c9c5d59610140d16512e5fb8c22f603531 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 ae4d98a20b40d530cc4d932942b791dd2a7e3feb..a71757cc7596acb36995d008e598f61d041e2b61 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 59b03e7f0b122a58399e99294f5874940196c103..84b559047e79af52ec1b758bc087061b3e47a510 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 b1be9ff6f0cebc9e95ca59ec356eca58fa17d3bd..70fa43dc68cb777dca6677173b4436d1872e323f 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 585a3f897aae53d29b089e4dca3d2cd3196dcae1..24ef4a63f98083f7e0635996cefc556c9b4e66d1 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 fa8da7d98a587406d5fbb4eec30c385f6d03c2a7..9a64df959b2f66294be4840f692d774272b15dc6 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 0d29a5d6fbf8caa93b0c40bbefbfaca0dce802f9..bcff347b0cafb8d09760b91a21cce6342cd86a3c 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 ab497c4e1bf3e3ace34a3a5abd2ccf402fef01cd..6c8b5862cbb297df6d332948704e74b64dc34904 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 24cc5be55832f7e6504aa34838066309777dfa2d..b824f77ede95883c1d24e921b6061fd5684139c8 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 9276953259520fd358122715399339ed8532bf3e..141e8a603aba80f10a4627a40f2124eaa567b319 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 d5ff196173f4284088cebb13e79ef0f510cd40d8..eb9a262e68b64890fe8260623cfff7be86975314 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 150c71b7cdd53fee9ead273c4d573e636eba4ed0..f2d3473f0b66d1b44c233090fea919088c0cbf7b 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 c9c6172311e0836714734ac5f3f1af428faeab8f..2272d8116929d2ab98c67c7a696c69068669eb4e 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 59f5efe0affcbc5f1c000dfe814a1456baa9b700..539806f8af21fbc34941b6279016dd27427a3e28 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 2c1181ae4f101ba9f1eb20f152222932fd22c91e..70eaf4680923bc6592903261d559c8deb8961bad 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 50ec63d5c0693c46d2bbf78d6e263be76bd242a5..e4ea9321823c9ba148d5e7ca39fb001921b33393 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 c9997adb440eee55ff7b30f27b2d7d52d85d8921..4429d5d0add9935a0018a11ecbd20df7b9e1fde5 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 13f7c9e4e1d3daf701effd1911f70fe9b523f93f..81aaf9321fef4899f0fe5f941e8246b94b2b1700 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 4e6fb73bf27b57afc55b5e340417c491b545b6cb..c68750896372457e1cd739f922f718f4490fb9ae 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 0f88f522785dcffc3fa644bbc399aede3d13d9b9..1ab2a648e24b8bf42056f53bbce3dd72ca1db01c 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 1686af345cd404dfc400e7700ae93d5a65b88070..58b0772e34dffb9a955c616ffbc8ff5a9d8ba5a6 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 4f3cd0d0a2489a829378a2e582f3e296f75a4c51..1fb6a7bc71a6f729600b800296f25d6717f92481 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 e488c0e6bde7a72f1bd229a2d5bb9f620c5eeae9..06c39bab70ee84617e9dcd28f45576c2c4b6f37e 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 842a5102b9dc23072f10207c7598e28002f00564..f78b13cc91130ce8f554d740de7b96d02098dd3a 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 16173b94a486b04999fa77b03634c6c8ee246ee5..95e44a4f983be7e33ac455e9f6b0df869a3b4582 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 32ba2cd67d29f6499ac468be96cff06bd4197cd6..4b10277f9a5565c1115856fb71238364b84392dd 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 a566d7e736daa64d2a64c0e6176ba3554b145781..8c7bdba37fd4b58edaa3986b4bacf7954ac23478 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 5b958392975a95329d42fdccf52504083bf0c503..15399593940c50bd8516ac252242b70d75001c64 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 4470f2536e3427ca7a01fbcac899a1a6341b1137..b5a7ef0e92c8e37828715345e3c660cb4e3afb2a 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 9a048617e75b22d6ae10d179b2789880c423c32b..b7e18d93a450745c99ff69dcdd4a5f62f9993ebe 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 6a4248ef340c8bc82e62f4cb8ca836060ba753c4..9415e987993ff2f3205d255e673e54cccd60543f 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 940800cc706c58fd065be974da5d78a318f46a2e..caad3f05b75d8d5c0dcfebb8c43a610429fc3d12 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 3adcd909835b5baca1a579a438673ae72ff3d7a6..88f41a98a35238f7b94a1d81103eac024c30e531 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 5d129a0f754ee56bfc6520b6b84a819361bf779a..48df6213b6973bb511955b456c1aca49a858f7f0 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 225bb9696dcb5bde752a148960b0c3a1c8feda64..4ccf97d0777952f285136364bbb666ef49beb593 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 9a2e4a521e9873de1a936bf3e145a08e30a40233..c64fcbb71372626e555c581659ecad0e87860015 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 7e40dd64e1301ded47cb013d20a95a1e7cb1866d..43529919dd65e1602b121a7145a4d4c9620685eb 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 d7396e04ddda5a77b34751401522cc95260578b9..e64515afe7f3289d2128395c0e791fb28ba39a64 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 8a8c838e1d96b084a1ab67209715534b2c74a831..5bf05b005010bf173c04b32df1425796505de873 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 0a52169c14a66e7b157d5bb6035a235129d55c30..d9614baaa55b878b82afc7dbcd7fbdbd3b74373c 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 6588527d9b37dde759a878bbd05af052052ecb99..b29da99cbdb9e6f282880c6e47eda66aabb9485b 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 cd5b908fa33e1ea666a43b5ee8e6922ca407906c..b501989b6fc77f24059f823e371b7a756164686d 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 e17d35ae694d9317770cfb25832bdaf0437ffceb..e8cbef2651431da46805176d1d53dd927154b40d 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 c7f8fbe6716612cc7f7be3063c56923f5ff747f3..bc320df47b6c4001708292f460608f7f5405f203 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 dfd5b9acec29f790a9612f2b3b9a5a3f77168316..6c1444734ff1a2e6663cc89e60cbf61047e1281d 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 631dd2005c390766f56c5a3296caab64452a803f..6229e1a66c6e750cb486d6a2b30262ab6eb29020 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 1598f7f41556e015b7d69b473329ec26da6576b4..673829416f103d36c473c78c84e2e0d84bea6d62 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 c70552a7f63a4e5d4bbf26aa0d07a858675f92df..97c1c2f519f73cd34f320584809fdd4475d5ad42 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 5e8a0b6ae5087e6e92bd4568a3fa6c7c369f33a9..2bfd2a2dcb7fdcb8c7594d098f4ccb597e79994f 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 12d137d246e3301ae694c9c5e70779caf12f6aaf..263cc22436870b96cc2d683969974033fef6c1c5 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 f57c874d4350c3449dc6d505414325902a84e743..14df714d391ee5ca243482322f0fa1bd79ced787 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 4bf5452c2d6838892c24441fc560ee974b3cfeee..51059e8ed076a0f17b214912dc5a23d51c003af9 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 b16a7bb821a07ae0cd2ea6c84dbf3fc41af08df6..cea5529ef8254861c3e1ae78de52d8f057a94871 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 044ce671eed319845835a5dfe46cd3fcb0cc0596..bb38b08bb93ded311ae79a8f188ce2a3b81b3d46 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 8083718e8bfd0a99cb6fd1aef26f9a87ad10819d..3f0542a5a833d454eeebca17547c9976953cc316 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"