From abcd0e6536e642055caf2f3d0c83d6b8013d325c Mon Sep 17 00:00:00 2001 From: conrad Date: Tue, 21 Sep 2021 14:31:24 +1000 Subject: [PATCH] add SPDX license identifier --- tests2/attributes.cpp | 2 ++ tests2/bounds.cpp | 2 ++ tests2/decomp_eig_gen.cpp | 2 ++ tests2/decomp_eig_pair.cpp | 2 ++ tests2/decomp_eig_sym.cpp | 2 ++ tests2/expr_elem.cpp | 2 ++ tests2/expr_misc.cpp | 2 ++ tests2/fn_abs.cpp | 2 ++ tests2/fn_accu.cpp | 2 ++ tests2/fn_all.cpp | 2 ++ tests2/fn_any.cpp | 2 ++ tests2/fn_as_scalar.cpp | 2 ++ tests2/fn_clamp.cpp | 2 ++ tests2/fn_cond.cpp | 2 ++ tests2/fn_conj.cpp | 2 ++ tests2/fn_conv.cpp | 2 ++ tests2/fn_conv_to.cpp | 2 ++ tests2/fn_cor.cpp | 2 ++ tests2/fn_cov.cpp | 2 ++ tests2/fn_cross.cpp | 2 ++ tests2/fn_cumprod.cpp | 2 ++ tests2/fn_cumsum.cpp | 2 ++ tests2/fn_det.cpp | 2 ++ tests2/fn_diagmat.cpp | 2 ++ tests2/fn_diagvec.cpp | 2 ++ tests2/fn_diff.cpp | 2 ++ tests2/fn_dot.cpp | 2 ++ tests2/fn_eigs_gen.cpp | 2 ++ tests2/fn_eigs_sym.cpp | 2 ++ tests2/fn_eps.cpp | 2 ++ tests2/fn_expmat.cpp | 2 ++ tests2/fn_find.cpp | 2 ++ tests2/fn_find_finite.cpp | 2 ++ tests2/fn_find_nonfinite.cpp | 2 ++ tests2/fn_find_unique.cpp | 2 ++ tests2/fn_flip.cpp | 2 ++ tests2/fn_hess.cpp | 2 ++ tests2/fn_interp1.cpp | 2 ++ tests2/fn_intersect.cpp | 2 ++ tests2/fn_is_finite.cpp | 2 ++ tests2/fn_max.cpp | 2 ++ tests2/fn_mean.cpp | 2 ++ tests2/fn_min.cpp | 2 ++ tests2/fn_spsolve.cpp | 2 ++ tests2/fn_sum.cpp | 2 ++ tests2/fn_symmat.cpp | 2 ++ tests2/fn_trace.cpp | 2 ++ tests2/fn_trans.cpp | 2 ++ tests2/fn_var.cpp | 2 ++ tests2/fn_vectorise.cpp | 2 ++ tests2/gen_linspace.cpp | 2 ++ tests2/gen_ones.cpp | 2 ++ tests2/gen_randu.cpp | 2 ++ tests2/gen_zeros.cpp | 2 ++ tests2/gmm.cpp | 17 +++++++++++++++++ tests2/hdf5.cpp | 2 ++ tests2/init_auxmem.cpp | 2 ++ tests2/init_fill.cpp | 2 ++ tests2/init_misc.cpp | 2 ++ tests2/instantiation.cpp | 2 ++ tests2/main.cpp | 2 ++ tests2/mat_minus.cpp | 2 ++ tests2/mat_mul_cx.cpp | 2 ++ tests2/mat_mul_real.cpp | 2 ++ tests2/mat_neg.cpp | 2 ++ tests2/mat_plus.cpp | 2 ++ tests2/spcol.cpp | 2 ++ tests2/spmat.cpp | 2 ++ tests2/sprow.cpp | 2 ++ tests2/spsubview.cpp | 2 ++ 70 files changed, 155 insertions(+) diff --git a/tests2/attributes.cpp b/tests2/attributes.cpp index 28fe71fe..65355389 100644 --- a/tests2/attributes.cpp +++ b/tests2/attributes.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/bounds.cpp b/tests2/bounds.cpp index 2471a190..cbcfc7dc 100644 --- a/tests2/bounds.cpp +++ b/tests2/bounds.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/decomp_eig_gen.cpp b/tests2/decomp_eig_gen.cpp index 63f7e898..43fdceb9 100644 --- a/tests2/decomp_eig_gen.cpp +++ b/tests2/decomp_eig_gen.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/decomp_eig_pair.cpp b/tests2/decomp_eig_pair.cpp index 854df8b4..d3af26ce 100644 --- a/tests2/decomp_eig_pair.cpp +++ b/tests2/decomp_eig_pair.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/decomp_eig_sym.cpp b/tests2/decomp_eig_sym.cpp index 68cdbcbf..0e4144f7 100644 --- a/tests2/decomp_eig_sym.cpp +++ b/tests2/decomp_eig_sym.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/expr_elem.cpp b/tests2/expr_elem.cpp index 3e830639..9340843e 100644 --- a/tests2/expr_elem.cpp +++ b/tests2/expr_elem.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/expr_misc.cpp b/tests2/expr_misc.cpp index cb5b9ee3..c79783ab 100644 --- a/tests2/expr_misc.cpp +++ b/tests2/expr_misc.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_abs.cpp b/tests2/fn_abs.cpp index c5f0a3fa..750c4d8f 100644 --- a/tests2/fn_abs.cpp +++ b/tests2/fn_abs.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_accu.cpp b/tests2/fn_accu.cpp index 728de696..1085a1a7 100644 --- a/tests2/fn_accu.cpp +++ b/tests2/fn_accu.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_all.cpp b/tests2/fn_all.cpp index 5ef156a1..f7a178c9 100644 --- a/tests2/fn_all.cpp +++ b/tests2/fn_all.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_any.cpp b/tests2/fn_any.cpp index 45b0c3b1..98dc0499 100644 --- a/tests2/fn_any.cpp +++ b/tests2/fn_any.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_as_scalar.cpp b/tests2/fn_as_scalar.cpp index cb8c1e0a..abf132ad 100644 --- a/tests2/fn_as_scalar.cpp +++ b/tests2/fn_as_scalar.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_clamp.cpp b/tests2/fn_clamp.cpp index c1cdd3bf..ef0ec043 100644 --- a/tests2/fn_clamp.cpp +++ b/tests2/fn_clamp.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_cond.cpp b/tests2/fn_cond.cpp index 48160a8b..1531b876 100644 --- a/tests2/fn_cond.cpp +++ b/tests2/fn_cond.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_conj.cpp b/tests2/fn_conj.cpp index 054c73bc..20f79960 100644 --- a/tests2/fn_conj.cpp +++ b/tests2/fn_conj.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_conv.cpp b/tests2/fn_conv.cpp index 0269ee9f..e5d620c6 100644 --- a/tests2/fn_conv.cpp +++ b/tests2/fn_conv.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_conv_to.cpp b/tests2/fn_conv_to.cpp index 89a7710a..06e7faef 100644 --- a/tests2/fn_conv_to.cpp +++ b/tests2/fn_conv_to.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_cor.cpp b/tests2/fn_cor.cpp index 709658fd..77401c17 100644 --- a/tests2/fn_cor.cpp +++ b/tests2/fn_cor.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_cov.cpp b/tests2/fn_cov.cpp index c8fec441..9ba50be5 100644 --- a/tests2/fn_cov.cpp +++ b/tests2/fn_cov.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_cross.cpp b/tests2/fn_cross.cpp index 56828ad3..27bf9ce7 100644 --- a/tests2/fn_cross.cpp +++ b/tests2/fn_cross.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_cumprod.cpp b/tests2/fn_cumprod.cpp index e71d8571..cbc25f55 100644 --- a/tests2/fn_cumprod.cpp +++ b/tests2/fn_cumprod.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_cumsum.cpp b/tests2/fn_cumsum.cpp index 013c0ef8..85a0d67b 100644 --- a/tests2/fn_cumsum.cpp +++ b/tests2/fn_cumsum.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_det.cpp b/tests2/fn_det.cpp index 00da9d59..8bded73e 100644 --- a/tests2/fn_det.cpp +++ b/tests2/fn_det.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_diagmat.cpp b/tests2/fn_diagmat.cpp index d28d9a44..5efa1bc5 100644 --- a/tests2/fn_diagmat.cpp +++ b/tests2/fn_diagmat.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_diagvec.cpp b/tests2/fn_diagvec.cpp index 17ab5f32..c0465002 100644 --- a/tests2/fn_diagvec.cpp +++ b/tests2/fn_diagvec.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_diff.cpp b/tests2/fn_diff.cpp index 03ab4b85..b112746d 100644 --- a/tests2/fn_diff.cpp +++ b/tests2/fn_diff.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_dot.cpp b/tests2/fn_dot.cpp index 11ac271a..4e3fd8c1 100644 --- a/tests2/fn_dot.cpp +++ b/tests2/fn_dot.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_eigs_gen.cpp b/tests2/fn_eigs_gen.cpp index 10edec2a..1061d557 100644 --- a/tests2/fn_eigs_gen.cpp +++ b/tests2/fn_eigs_gen.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/fn_eigs_sym.cpp b/tests2/fn_eigs_sym.cpp index 9c300c7b..bcf165fd 100644 --- a/tests2/fn_eigs_sym.cpp +++ b/tests2/fn_eigs_sym.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/fn_eps.cpp b/tests2/fn_eps.cpp index 38e2e265..cce85da0 100644 --- a/tests2/fn_eps.cpp +++ b/tests2/fn_eps.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_expmat.cpp b/tests2/fn_expmat.cpp index 9938425c..9d13c80f 100644 --- a/tests2/fn_expmat.cpp +++ b/tests2/fn_expmat.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_find.cpp b/tests2/fn_find.cpp index 4507ebc1..8501e944 100644 --- a/tests2/fn_find.cpp +++ b/tests2/fn_find.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_find_finite.cpp b/tests2/fn_find_finite.cpp index be926a09..e3a2fc51 100644 --- a/tests2/fn_find_finite.cpp +++ b/tests2/fn_find_finite.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_find_nonfinite.cpp b/tests2/fn_find_nonfinite.cpp index cd5aefdb..1c42d600 100644 --- a/tests2/fn_find_nonfinite.cpp +++ b/tests2/fn_find_nonfinite.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_find_unique.cpp b/tests2/fn_find_unique.cpp index 40f7c2ab..c2b1c11c 100644 --- a/tests2/fn_find_unique.cpp +++ b/tests2/fn_find_unique.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_flip.cpp b/tests2/fn_flip.cpp index b63a7a01..0a126618 100644 --- a/tests2/fn_flip.cpp +++ b/tests2/fn_flip.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_hess.cpp b/tests2/fn_hess.cpp index 2c6498d7..2dc1e721 100644 --- a/tests2/fn_hess.cpp +++ b/tests2/fn_hess.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_interp1.cpp b/tests2/fn_interp1.cpp index 89d9f6b5..cbd5a53e 100644 --- a/tests2/fn_interp1.cpp +++ b/tests2/fn_interp1.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_intersect.cpp b/tests2/fn_intersect.cpp index 7dddf04d..d5054ea6 100644 --- a/tests2/fn_intersect.cpp +++ b/tests2/fn_intersect.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_is_finite.cpp b/tests2/fn_is_finite.cpp index e7ab0564..586dfe13 100644 --- a/tests2/fn_is_finite.cpp +++ b/tests2/fn_is_finite.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_max.cpp b/tests2/fn_max.cpp index 7e6e1a17..f3bfb822 100644 --- a/tests2/fn_max.cpp +++ b/tests2/fn_max.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/fn_mean.cpp b/tests2/fn_mean.cpp index 16cbe8b3..c4ce8d4c 100644 --- a/tests2/fn_mean.cpp +++ b/tests2/fn_mean.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/fn_min.cpp b/tests2/fn_min.cpp index 83f60100..a948fd4f 100644 --- a/tests2/fn_min.cpp +++ b/tests2/fn_min.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/fn_spsolve.cpp b/tests2/fn_spsolve.cpp index a842e412..7dfd0ea0 100644 --- a/tests2/fn_spsolve.cpp +++ b/tests2/fn_spsolve.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/fn_sum.cpp b/tests2/fn_sum.cpp index 4839c8f5..dba53a8e 100644 --- a/tests2/fn_sum.cpp +++ b/tests2/fn_sum.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_symmat.cpp b/tests2/fn_symmat.cpp index ad28e9f0..ef873749 100644 --- a/tests2/fn_symmat.cpp +++ b/tests2/fn_symmat.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_trace.cpp b/tests2/fn_trace.cpp index 96259bdc..8b7f6261 100644 --- a/tests2/fn_trace.cpp +++ b/tests2/fn_trace.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_trans.cpp b/tests2/fn_trans.cpp index c37cf62c..52ba4076 100644 --- a/tests2/fn_trans.cpp +++ b/tests2/fn_trans.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/fn_var.cpp b/tests2/fn_var.cpp index ad15634a..fb72472f 100644 --- a/tests2/fn_var.cpp +++ b/tests2/fn_var.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/fn_vectorise.cpp b/tests2/fn_vectorise.cpp index 103f0ea7..6e9db832 100644 --- a/tests2/fn_vectorise.cpp +++ b/tests2/fn_vectorise.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/gen_linspace.cpp b/tests2/gen_linspace.cpp index b631cc4f..1953415d 100644 --- a/tests2/gen_linspace.cpp +++ b/tests2/gen_linspace.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/gen_ones.cpp b/tests2/gen_ones.cpp index 15660256..fa52311d 100644 --- a/tests2/gen_ones.cpp +++ b/tests2/gen_ones.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/gen_randu.cpp b/tests2/gen_randu.cpp index c4a9253f..b84d3249 100644 --- a/tests2/gen_randu.cpp +++ b/tests2/gen_randu.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/gen_zeros.cpp b/tests2/gen_zeros.cpp index b0791c25..9a49b3d0 100644 --- a/tests2/gen_zeros.cpp +++ b/tests2/gen_zeros.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/gmm.cpp b/tests2/gmm.cpp index 55a4f5a1..4ffb5672 100644 --- a/tests2/gmm.cpp +++ b/tests2/gmm.cpp @@ -1,3 +1,20 @@ +// SPDX-License-Identifier: Apache-2.0 +// +// Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) +// Copyright 2017 National ICT Australia (NICTA) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. +// ------------------------------------------------------------------------ + #include #include #include "catch.hpp" diff --git a/tests2/hdf5.cpp b/tests2/hdf5.cpp index 3628075d..82cc7e9a 100644 --- a/tests2/hdf5.cpp +++ b/tests2/hdf5.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/init_auxmem.cpp b/tests2/init_auxmem.cpp index 471ec9ca..9e18fd70 100644 --- a/tests2/init_auxmem.cpp +++ b/tests2/init_auxmem.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/init_fill.cpp b/tests2/init_fill.cpp index 45d5ace9..0b36e5c1 100644 --- a/tests2/init_fill.cpp +++ b/tests2/init_fill.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/init_misc.cpp b/tests2/init_misc.cpp index 637f11e4..37c8fe63 100644 --- a/tests2/init_misc.cpp +++ b/tests2/init_misc.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/instantiation.cpp b/tests2/instantiation.cpp index bae26da9..867b939e 100644 --- a/tests2/instantiation.cpp +++ b/tests2/instantiation.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/main.cpp b/tests2/main.cpp index e02cbd0e..34b0d74b 100644 --- a/tests2/main.cpp +++ b/tests2/main.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/mat_minus.cpp b/tests2/mat_minus.cpp index 9d55a036..be634b89 100644 --- a/tests2/mat_minus.cpp +++ b/tests2/mat_minus.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/mat_mul_cx.cpp b/tests2/mat_mul_cx.cpp index 9cc1448b..6c37835e 100644 --- a/tests2/mat_mul_cx.cpp +++ b/tests2/mat_mul_cx.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/mat_mul_real.cpp b/tests2/mat_mul_real.cpp index 9f8928f0..0a08648e 100644 --- a/tests2/mat_mul_real.cpp +++ b/tests2/mat_mul_real.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/mat_neg.cpp b/tests2/mat_neg.cpp index 0e9fe467..6c9d397c 100644 --- a/tests2/mat_neg.cpp +++ b/tests2/mat_neg.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/mat_plus.cpp b/tests2/mat_plus.cpp index 9ead3e2b..31aaaf7c 100644 --- a/tests2/mat_plus.cpp +++ b/tests2/mat_plus.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // diff --git a/tests2/spcol.cpp b/tests2/spcol.cpp index 2fe34e98..a46f9063 100644 --- a/tests2/spcol.cpp +++ b/tests2/spcol.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/spmat.cpp b/tests2/spmat.cpp index 8dfc3390..de9d2b92 100644 --- a/tests2/spmat.cpp +++ b/tests2/spmat.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/sprow.cpp b/tests2/sprow.cpp index a8271f31..fb9f7f49 100644 --- a/tests2/sprow.cpp +++ b/tests2/sprow.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) // diff --git a/tests2/spsubview.cpp b/tests2/spsubview.cpp index a314ee8d..e8ef2702 100644 --- a/tests2/spsubview.cpp +++ b/tests2/spsubview.cpp @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: Apache-2.0 +// // Copyright 2011-2017 Ryan Curtin (http://www.ratml.org/) // Copyright 2017 National ICT Australia (NICTA) //