From 7cc4aad8b6c8621b0eec7999981d29cd59b9632e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 19 Jun 2019 14:34:30 +0200
Subject: [PATCH] Dynare++: update copyright information
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

— Ondra Kamenik has agreed to the relicensing of utils and parser modules to
  GPL
— add DynareTeam’s copyright, since we have made a lot of modifications
— add proper copyright notices in all files
---
 dynare++/integ/cc/precalc_quadrature.hh  | 21 ++++++++++++++--
 dynare++/integ/cc/product.cc             | 20 ++++++++++++++-
 dynare++/integ/cc/product.hh             | 20 ++++++++++++++-
 dynare++/integ/cc/quadrature.cc          | 20 ++++++++++++++-
 dynare++/integ/cc/quadrature.hh          | 20 ++++++++++++++-
 dynare++/integ/cc/quasi_mcarlo.cc        | 20 ++++++++++++++-
 dynare++/integ/cc/quasi_mcarlo.hh        | 20 ++++++++++++++-
 dynare++/integ/cc/smolyak.cc             | 20 ++++++++++++++-
 dynare++/integ/cc/smolyak.hh             | 20 ++++++++++++++-
 dynare++/integ/cc/vector_function.cc     | 20 ++++++++++++++-
 dynare++/integ/cc/vector_function.hh     | 20 ++++++++++++++-
 dynare++/integ/src/quadrature-points.cc  | 20 ++++++++++++++-
 dynare++/integ/testing/tests.cc          | 21 ++++++++++++++--
 dynare++/kord/Makefile.am                |  2 +-
 dynare++/kord/approximation.cc           | 20 ++++++++++++++-
 dynare++/kord/approximation.hh           | 20 ++++++++++++++-
 dynare++/kord/decision_rule.cc           | 20 ++++++++++++++-
 dynare++/kord/decision_rule.hh           | 20 ++++++++++++++-
 dynare++/kord/dynamic_model.cc           | 20 ++++++++++++++-
 dynare++/kord/dynamic_model.hh           | 21 +++++++++++++++-
 dynare++/kord/faa_di_bruno.cc            | 20 ++++++++++++++-
 dynare++/kord/faa_di_bruno.hh            | 20 ++++++++++++++-
 dynare++/kord/first_order.cc             | 20 ++++++++++++++-
 dynare++/kord/first_order.hh             | 20 ++++++++++++++-
 dynare++/kord/global_check.cc            | 20 ++++++++++++++-
 dynare++/kord/global_check.hh            | 20 ++++++++++++++-
 dynare++/kord/journal.cc                 | 32 ++++++++++++++++++------
 dynare++/kord/journal.hh                 | 20 ++++++++++++++-
 dynare++/kord/kord_exception.hh          | 20 ++++++++++++++-
 dynare++/kord/korder.cc                  | 20 ++++++++++++++-
 dynare++/kord/korder.hh                  | 20 ++++++++++++++-
 dynare++/kord/korder_stoch.cc            | 20 ++++++++++++++-
 dynare++/kord/korder_stoch.hh            | 20 ++++++++++++++-
 dynare++/kord/normal_conjugate.cc        | 20 ++++++++++++++-
 dynare++/kord/normal_conjugate.hh        | 20 ++++++++++++++-
 dynare++/kord/seed_generator.cc          | 19 ++++++++++++++
 dynare++/kord/seed_generator.hh          | 19 ++++++++++++++
 dynare++/kord/tests.cc                   | 21 ++++++++++++++--
 dynare++/parser/cc/assign.ll             | 19 ++++++++++++++
 dynare++/parser/cc/assign.yy             | 20 ++++++++++++++-
 dynare++/parser/cc/atom_assignings.cc    | 22 +++++++++++++---
 dynare++/parser/cc/atom_assignings.hh    | 22 +++++++++++++---
 dynare++/parser/cc/atom_substitutions.cc | 22 +++++++++++++---
 dynare++/parser/cc/atom_substitutions.hh | 22 +++++++++++++---
 dynare++/parser/cc/dynamic_atoms.cc      | 22 +++++++++++++---
 dynare++/parser/cc/dynamic_atoms.hh      | 22 +++++++++++++---
 dynare++/parser/cc/fine_atoms.cc         | 22 +++++++++++++---
 dynare++/parser/cc/fine_atoms.hh         | 22 +++++++++++++---
 dynare++/parser/cc/formula.ll            | 19 ++++++++++++++
 dynare++/parser/cc/formula.yy            | 20 ++++++++++++++-
 dynare++/parser/cc/formula_parser.cc     | 22 +++++++++++++---
 dynare++/parser/cc/formula_parser.hh     | 20 ++++++++++++++-
 dynare++/parser/cc/matrix.ll             | 22 ++++++++++++++--
 dynare++/parser/cc/matrix.yy             | 20 ++++++++++++++-
 dynare++/parser/cc/matrix_parser.cc      | 22 +++++++++++++---
 dynare++/parser/cc/matrix_parser.hh      | 22 +++++++++++++---
 dynare++/parser/cc/parser_exception.cc   | 22 +++++++++++++---
 dynare++/parser/cc/parser_exception.hh   | 22 +++++++++++++---
 dynare++/parser/cc/static_atoms.cc       | 22 +++++++++++++---
 dynare++/parser/cc/static_atoms.hh       | 22 +++++++++++++---
 dynare++/parser/cc/static_fine_atoms.cc  | 22 +++++++++++++---
 dynare++/parser/cc/static_fine_atoms.hh  | 22 +++++++++++++---
 dynare++/parser/cc/tree.cc               | 20 ++++++++++++++-
 dynare++/parser/cc/tree.hh               | 20 ++++++++++++++-
 dynare++/src/Makefile.am                 |  2 +-
 dynare++/src/dynare3.cc                  | 24 +++++++++++++++---
 dynare++/src/dynare3.hh                  | 21 ++++++++++++++--
 dynare++/src/dynare_atoms.cc             | 22 +++++++++++++---
 dynare++/src/dynare_atoms.hh             | 22 +++++++++++++---
 dynare++/src/dynare_exception.hh         | 22 +++++++++++++---
 dynare++/src/dynare_model.cc             | 22 ++++++++++++++--
 dynare++/src/dynare_model.hh             | 20 ++++++++++++++-
 dynare++/src/dynare_params.cc            | 20 ++++++++++++++-
 dynare++/src/dynare_params.hh            | 22 +++++++++++++---
 dynare++/src/dynglob.ll                  | 19 ++++++++++++++
 dynare++/src/dynglob.yy                  | 20 ++++++++++++++-
 dynare++/src/forw_subst_builder.cc       | 20 ++++++++++++++-
 dynare++/src/forw_subst_builder.hh       | 22 +++++++++++++---
 dynare++/src/main.cc                     | 32 ++++++++++++++++++------
 dynare++/src/nlsolve.cc                  | 22 +++++++++++++---
 dynare++/src/nlsolve.hh                  | 22 +++++++++++++---
 dynare++/src/planner_builder.cc          | 22 +++++++++++++---
 dynare++/src/planner_builder.hh          | 20 ++++++++++++++-
 dynare++/sylv/cc/BlockDiagonal.cc        | 22 +++++++++++++---
 dynare++/sylv/cc/BlockDiagonal.hh        | 22 +++++++++++++---
 dynare++/sylv/cc/GeneralMatrix.cc        | 22 +++++++++++++---
 dynare++/sylv/cc/GeneralMatrix.hh        | 22 +++++++++++++---
 dynare++/sylv/cc/GeneralSylvester.cc     | 22 +++++++++++++---
 dynare++/sylv/cc/GeneralSylvester.hh     | 22 +++++++++++++---
 dynare++/sylv/cc/IterativeSylvester.cc   | 22 +++++++++++++---
 dynare++/sylv/cc/IterativeSylvester.hh   | 22 +++++++++++++---
 dynare++/sylv/cc/KronUtils.cc            | 22 +++++++++++++---
 dynare++/sylv/cc/KronUtils.hh            | 22 +++++++++++++---
 dynare++/sylv/cc/KronVector.cc           | 22 +++++++++++++---
 dynare++/sylv/cc/KronVector.hh           | 22 +++++++++++++---
 dynare++/sylv/cc/QuasiTriangular.cc      | 22 +++++++++++++---
 dynare++/sylv/cc/QuasiTriangular.hh      | 22 +++++++++++++---
 dynare++/sylv/cc/QuasiTriangularZero.cc  | 22 +++++++++++++---
 dynare++/sylv/cc/QuasiTriangularZero.hh  | 22 +++++++++++++---
 dynare++/sylv/cc/SchurDecomp.cc          | 22 +++++++++++++---
 dynare++/sylv/cc/SchurDecomp.hh          | 22 +++++++++++++---
 dynare++/sylv/cc/SchurDecompEig.cc       | 20 +++++++++++++++
 dynare++/sylv/cc/SchurDecompEig.hh       | 22 +++++++++++++---
 dynare++/sylv/cc/SimilarityDecomp.cc     | 22 +++++++++++++---
 dynare++/sylv/cc/SimilarityDecomp.hh     | 22 +++++++++++++---
 dynare++/sylv/cc/SylvException.cc        | 22 +++++++++++++---
 dynare++/sylv/cc/SylvException.hh        | 22 +++++++++++++---
 dynare++/sylv/cc/SylvMatrix.cc           | 22 +++++++++++++---
 dynare++/sylv/cc/SylvMatrix.hh           | 22 +++++++++++++---
 dynare++/sylv/cc/SylvParams.cc           | 22 +++++++++++++---
 dynare++/sylv/cc/SylvParams.hh           | 22 +++++++++++++---
 dynare++/sylv/cc/SylvesterSolver.hh      | 22 +++++++++++++---
 dynare++/sylv/cc/SymSchurDecomp.cc       | 22 +++++++++++++---
 dynare++/sylv/cc/SymSchurDecomp.hh       | 22 +++++++++++++---
 dynare++/sylv/cc/TriangularSylvester.cc  | 22 +++++++++++++---
 dynare++/sylv/cc/TriangularSylvester.hh  | 22 +++++++++++++---
 dynare++/sylv/cc/Vector.cc               | 20 ++++++++++++++-
 dynare++/sylv/cc/Vector.hh               | 22 +++++++++++++---
 dynare++/sylv/testing/MMMatrix.cc        | 22 +++++++++++++---
 dynare++/sylv/testing/MMMatrix.hh        | 22 +++++++++++++---
 dynare++/sylv/testing/tests.cc           | 22 +++++++++++++---
 dynare++/tl/cc/equivalence.cc            | 20 ++++++++++++++-
 dynare++/tl/cc/equivalence.hh            | 20 ++++++++++++++-
 dynare++/tl/cc/fine_container.cc         | 20 ++++++++++++++-
 dynare++/tl/cc/fine_container.hh         | 20 ++++++++++++++-
 dynare++/tl/cc/fs_tensor.cc              | 20 ++++++++++++++-
 dynare++/tl/cc/fs_tensor.hh              | 20 ++++++++++++++-
 dynare++/tl/cc/gs_tensor.cc              | 20 ++++++++++++++-
 dynare++/tl/cc/gs_tensor.hh              | 20 ++++++++++++++-
 dynare++/tl/cc/int_sequence.cc           | 20 ++++++++++++++-
 dynare++/tl/cc/int_sequence.hh           | 20 ++++++++++++++-
 dynare++/tl/cc/kron_prod.cc              | 20 ++++++++++++++-
 dynare++/tl/cc/kron_prod.hh              | 20 ++++++++++++++-
 dynare++/tl/cc/normal_moments.cc         | 20 ++++++++++++++-
 dynare++/tl/cc/normal_moments.hh         | 20 ++++++++++++++-
 dynare++/tl/cc/permutation.cc            | 20 ++++++++++++++-
 dynare++/tl/cc/permutation.hh            | 20 ++++++++++++++-
 dynare++/tl/cc/ps_tensor.cc              | 20 ++++++++++++++-
 dynare++/tl/cc/ps_tensor.hh              | 20 ++++++++++++++-
 dynare++/tl/cc/pyramid_prod.cc           | 20 ++++++++++++++-
 dynare++/tl/cc/pyramid_prod.hh           | 20 ++++++++++++++-
 dynare++/tl/cc/pyramid_prod2.cc          | 20 ++++++++++++++-
 dynare++/tl/cc/pyramid_prod2.hh          | 20 ++++++++++++++-
 dynare++/tl/cc/rfs_tensor.cc             | 20 ++++++++++++++-
 dynare++/tl/cc/rfs_tensor.hh             | 20 ++++++++++++++-
 dynare++/tl/cc/sparse_tensor.cc          | 20 ++++++++++++++-
 dynare++/tl/cc/sparse_tensor.hh          | 20 ++++++++++++++-
 dynare++/tl/cc/stack_container.cc        | 20 ++++++++++++++-
 dynare++/tl/cc/stack_container.hh        | 20 ++++++++++++++-
 dynare++/tl/cc/symmetry.cc               | 20 ++++++++++++++-
 dynare++/tl/cc/symmetry.hh               | 20 ++++++++++++++-
 dynare++/tl/cc/t_container.cc            | 20 ++++++++++++++-
 dynare++/tl/cc/t_container.hh            | 20 ++++++++++++++-
 dynare++/tl/cc/t_polynomial.cc           | 20 ++++++++++++++-
 dynare++/tl/cc/t_polynomial.hh           | 20 ++++++++++++++-
 dynare++/tl/cc/tensor.cc                 | 20 ++++++++++++++-
 dynare++/tl/cc/tensor.hh                 | 20 ++++++++++++++-
 dynare++/tl/cc/tl_exception.hh           | 20 ++++++++++++++-
 dynare++/tl/cc/tl_static.cc              | 20 ++++++++++++++-
 dynare++/tl/cc/tl_static.hh              | 20 ++++++++++++++-
 dynare++/tl/cc/twod_matrix.cc            | 20 ++++++++++++++-
 dynare++/tl/cc/twod_matrix.hh            | 20 ++++++++++++++-
 dynare++/tl/testing/factory.cc           | 21 ++++++++++++++--
 dynare++/tl/testing/factory.hh           | 21 ++++++++++++++--
 dynare++/tl/testing/monoms.cc            | 21 ++++++++++++++--
 dynare++/tl/testing/monoms.hh            | 21 ++++++++++++++--
 dynare++/tl/testing/tests.cc             | 21 ++++++++++++++--
 dynare++/utils/cc/exception.hh           | 22 +++++++++++++---
 dynare++/utils/cc/int_power.cc           | 19 ++++++++++++++
 dynare++/utils/cc/int_power.hh           | 19 ++++++++++++++
 dynare++/utils/cc/pascal_triangle.cc     | 20 +++++++++++++++
 dynare++/utils/cc/pascal_triangle.hh     | 22 +++++++++++++---
 dynare++/utils/cc/sthread.cc             | 20 ++++++++++++++-
 dynare++/utils/cc/sthread.hh             | 20 ++++++++++++++-
 license.txt                              | 10 ++------
 175 files changed, 3290 insertions(+), 325 deletions(-)

diff --git a/dynare++/integ/cc/precalc_quadrature.hh b/dynare++/integ/cc/precalc_quadrature.hh
index 7856b7150..231e928d2 100644
--- a/dynare++/integ/cc/precalc_quadrature.hh
+++ b/dynare++/integ/cc/precalc_quadrature.hh
@@ -1,5 +1,22 @@
-// $Id: precalc_quadrature.dat 431 2005-08-16 15:41:01Z kamenik $
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // The file contains one dimensional quadrature points and weights for
 // a few quadratures. The format of data is clear. There is a class
diff --git a/dynare++/integ/cc/product.cc b/dynare++/integ/cc/product.cc
index aaf35362e..711abb32c 100644
--- a/dynare++/integ/cc/product.cc
+++ b/dynare++/integ/cc/product.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "product.hh"
 #include "symmetry.hh"
diff --git a/dynare++/integ/cc/product.hh b/dynare++/integ/cc/product.hh
index 061e1d962..512580aac 100644
--- a/dynare++/integ/cc/product.hh
+++ b/dynare++/integ/cc/product.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Product quadrature.
 
diff --git a/dynare++/integ/cc/quadrature.cc b/dynare++/integ/cc/quadrature.cc
index 98d509c39..296db020b 100644
--- a/dynare++/integ/cc/quadrature.cc
+++ b/dynare++/integ/cc/quadrature.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "quadrature.hh"
 #include "precalc_quadrature.hh"
diff --git a/dynare++/integ/cc/quadrature.hh b/dynare++/integ/cc/quadrature.hh
index 61df4a58e..dcbc3d41e 100644
--- a/dynare++/integ/cc/quadrature.hh
+++ b/dynare++/integ/cc/quadrature.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Quadrature.
 
diff --git a/dynare++/integ/cc/quasi_mcarlo.cc b/dynare++/integ/cc/quasi_mcarlo.cc
index 22a008c6b..2da9d9945 100644
--- a/dynare++/integ/cc/quasi_mcarlo.cc
+++ b/dynare++/integ/cc/quasi_mcarlo.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "quasi_mcarlo.hh"
 
diff --git a/dynare++/integ/cc/quasi_mcarlo.hh b/dynare++/integ/cc/quasi_mcarlo.hh
index 65d92bfed..c423073c5 100644
--- a/dynare++/integ/cc/quasi_mcarlo.hh
+++ b/dynare++/integ/cc/quasi_mcarlo.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Quasi Monte Carlo quadrature.
 
diff --git a/dynare++/integ/cc/smolyak.cc b/dynare++/integ/cc/smolyak.cc
index c1e5a6f3f..067cff596 100644
--- a/dynare++/integ/cc/smolyak.cc
+++ b/dynare++/integ/cc/smolyak.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "smolyak.hh"
 #include "symmetry.hh"
diff --git a/dynare++/integ/cc/smolyak.hh b/dynare++/integ/cc/smolyak.hh
index 52749211c..dc8852361 100644
--- a/dynare++/integ/cc/smolyak.hh
+++ b/dynare++/integ/cc/smolyak.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Smolyak quadrature.
 
diff --git a/dynare++/integ/cc/vector_function.cc b/dynare++/integ/cc/vector_function.cc
index 90337f279..e92912a8a 100644
--- a/dynare++/integ/cc/vector_function.cc
+++ b/dynare++/integ/cc/vector_function.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "vector_function.hh"
 
diff --git a/dynare++/integ/cc/vector_function.hh b/dynare++/integ/cc/vector_function.hh
index cbdf8cbe1..0ab061ecc 100644
--- a/dynare++/integ/cc/vector_function.hh
+++ b/dynare++/integ/cc/vector_function.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Vector function.
 
diff --git a/dynare++/integ/src/quadrature-points.cc b/dynare++/integ/src/quadrature-points.cc
index 768302b34..fda5360b9 100644
--- a/dynare++/integ/src/quadrature-points.cc
+++ b/dynare++/integ/src/quadrature-points.cc
@@ -1,4 +1,22 @@
-// Copyright © 2008-2011, Ondra Kamenik
+/*
+ * Copyright © 2008-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "parser/cc/matrix_parser.hh"
 #include "utils/cc/exception.hh"
diff --git a/dynare++/integ/testing/tests.cc b/dynare++/integ/testing/tests.cc
index 57389c2d8..664967e49 100644
--- a/dynare++/integ/testing/tests.cc
+++ b/dynare++/integ/testing/tests.cc
@@ -1,5 +1,22 @@
-/* $Id: tests.cpp 431 2005-08-16 15:41:01Z kamenik $ */
-/* Copyright 2005, Ondra Kamenik */
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "GeneralMatrix.hh"
 #include <dynlapack.h>
diff --git a/dynare++/kord/Makefile.am b/dynare++/kord/Makefile.am
index 943723dd4..1e615c092 100644
--- a/dynare++/kord/Makefile.am
+++ b/dynare++/kord/Makefile.am
@@ -25,7 +25,7 @@ libkord_a_SOURCES = \
 	seed_generator.cc \
 	seed_generator.hh
 
-libkord_a_CPPFLAGS = -I../sylv/cc -I../tl/cc -I../integ/cc -I../utils/cc -I$(top_srcdir)/mex/sources $(CPPFLAGS_MATIO)
+libkord_a_CPPFLAGS = -I../sylv/cc -I../tl/cc -I../integ/cc -I../utils/cc -I$(top_srcdir)/mex/sources $(CPPFLAGS_MATIO) -DDYNVERSION=\"$(PACKAGE_VERSION)\"
 libkord_a_CXXFLAGS = $(AM_CXXFLAGS) $(THREAD_CXXFLAGS)
 
 check_PROGRAMS = tests
diff --git a/dynare++/kord/approximation.cc b/dynare++/kord/approximation.cc
index b7b673c3a..a03dd9bd7 100644
--- a/dynare++/kord/approximation.cc
+++ b/dynare++/kord/approximation.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include <utility>
 
diff --git a/dynare++/kord/approximation.hh b/dynare++/kord/approximation.hh
index 1ea28a570..c9e845842 100644
--- a/dynare++/kord/approximation.hh
+++ b/dynare++/kord/approximation.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Approximating model solution
 
diff --git a/dynare++/kord/decision_rule.cc b/dynare++/kord/decision_rule.cc
index 9fefef694..f9e86a685 100644
--- a/dynare++/kord/decision_rule.cc
+++ b/dynare++/kord/decision_rule.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "kord_exception.hh"
 #include "decision_rule.hh"
diff --git a/dynare++/kord/decision_rule.hh b/dynare++/kord/decision_rule.hh
index f8a7dad2e..1d70ff99a 100644
--- a/dynare++/kord/decision_rule.hh
+++ b/dynare++/kord/decision_rule.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Decision rule and simulation
 
diff --git a/dynare++/kord/dynamic_model.cc b/dynare++/kord/dynamic_model.cc
index 80c4914f6..698dfccf6 100644
--- a/dynare++/kord/dynamic_model.cc
+++ b/dynare++/kord/dynamic_model.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "dynamic_model.hh"
 
diff --git a/dynare++/kord/dynamic_model.hh b/dynare++/kord/dynamic_model.hh
index c40ae300f..ef9464339 100644
--- a/dynare++/kord/dynamic_model.hh
+++ b/dynare++/kord/dynamic_model.hh
@@ -1,4 +1,23 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 
 // Dynamic model abstraction
 
diff --git a/dynare++/kord/faa_di_bruno.cc b/dynare++/kord/faa_di_bruno.cc
index 3bf9af044..0615be57e 100644
--- a/dynare++/kord/faa_di_bruno.cc
+++ b/dynare++/kord/faa_di_bruno.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "faa_di_bruno.hh"
 #include "fine_container.hh"
diff --git a/dynare++/kord/faa_di_bruno.hh b/dynare++/kord/faa_di_bruno.hh
index bba990258..4442ba7c5 100644
--- a/dynare++/kord/faa_di_bruno.hh
+++ b/dynare++/kord/faa_di_bruno.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Faà Di Bruno evaluator
 
diff --git a/dynare++/kord/first_order.cc b/dynare++/kord/first_order.cc
index c9ef74226..96226f1b3 100644
--- a/dynare++/kord/first_order.cc
+++ b/dynare++/kord/first_order.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "kord_exception.hh"
 #include "first_order.hh"
diff --git a/dynare++/kord/first_order.hh b/dynare++/kord/first_order.hh
index 9ffe0015d..cfa40adf6 100644
--- a/dynare++/kord/first_order.hh
+++ b/dynare++/kord/first_order.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // First order at deterministic steady state
 
diff --git a/dynare++/kord/global_check.cc b/dynare++/kord/global_check.cc
index 27711deca..c1037d49a 100644
--- a/dynare++/kord/global_check.cc
+++ b/dynare++/kord/global_check.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SymSchurDecomp.hh"
 
diff --git a/dynare++/kord/global_check.hh b/dynare++/kord/global_check.hh
index ea21b543a..df7f913a8 100644
--- a/dynare++/kord/global_check.hh
+++ b/dynare++/kord/global_check.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Global check
 
diff --git a/dynare++/kord/journal.cc b/dynare++/kord/journal.cc
index f68bf4fff..e06d35beb 100644
--- a/dynare++/kord/journal.cc
+++ b/dynare++/kord/journal.cc
@@ -1,4 +1,22 @@
-// Copyright © 2004-2011, Ondra Kamenik
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "journal.hh"
 #include "kord_exception.hh"
@@ -182,12 +200,12 @@ endrec(JournalRecord &rec)
 void
 Journal::printHeader()
 {
-  *this << u8"This is Dynare++, Copyright © 2004-2011, Ondra Kamenik\n"
-        << "Dynare++ comes with ABSOLUTELY NO WARRANTY and is distributed under\n"
-        << "GPL: modules integ, tl, kord, sylv, src and documentation\n"
-        << "LGPL: modules parser, utils\n"
-        << " for GPL  see https://www.gnu.org/licenses/gpl.html\n"
-        << " for LGPL see https://www.gnu.org/licenses/lgpl.html\n"
+  *this << "Dynare++ v. " << VERSION << '\n'
+        << '\n'
+        << u8"Copyright © 2004-2011 Ondra Kamenik\n"
+        << u8"Copyright © 2019 Dynare Team\n"
+        << "Dynare++ comes with ABSOLUTELY NO WARRANTY and is distributed under the GNU GPL,"
+        << "version 3 or later (see https://www.gnu.org/licenses/gpl.html)\n"
         << "\n\n"
         << "System info: ";
 #ifndef _WIN32
diff --git a/dynare++/kord/journal.hh b/dynare++/kord/journal.hh
index 37d96d574..63b77a9b9 100644
--- a/dynare++/kord/journal.hh
+++ b/dynare++/kord/journal.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Resource usage journal
 
diff --git a/dynare++/kord/kord_exception.hh b/dynare++/kord/kord_exception.hh
index 6bb1f1a94..bd7febba8 100644
--- a/dynare++/kord/kord_exception.hh
+++ b/dynare++/kord/kord_exception.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Exception
 
diff --git a/dynare++/kord/korder.cc b/dynare++/kord/korder.cc
index b1bb894ad..0c0c265b0 100644
--- a/dynare++/kord/korder.cc
+++ b/dynare++/kord/korder.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "kord_exception.hh"
 #include "korder.hh"
diff --git a/dynare++/kord/korder.hh b/dynare++/kord/korder.hh
index e88abecf7..beb423ba5 100644
--- a/dynare++/kord/korder.hh
+++ b/dynare++/kord/korder.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Higher order at deterministic steady
 
diff --git a/dynare++/kord/korder_stoch.cc b/dynare++/kord/korder_stoch.cc
index 916ed0d7f..807476d07 100644
--- a/dynare++/kord/korder_stoch.cc
+++ b/dynare++/kord/korder_stoch.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "korder_stoch.hh"
 
diff --git a/dynare++/kord/korder_stoch.hh b/dynare++/kord/korder_stoch.hh
index e6c2b6470..5860809d3 100644
--- a/dynare++/kord/korder_stoch.hh
+++ b/dynare++/kord/korder_stoch.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Higher order at stochastic steady
 
diff --git a/dynare++/kord/normal_conjugate.cc b/dynare++/kord/normal_conjugate.cc
index 04e52f12d..45b467528 100644
--- a/dynare++/kord/normal_conjugate.cc
+++ b/dynare++/kord/normal_conjugate.cc
@@ -1,4 +1,22 @@
-// Copyright 2007, Ondra Kamenik
+/*
+ * Copyright © 2007 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "normal_conjugate.hh"
 #include "kord_exception.hh"
diff --git a/dynare++/kord/normal_conjugate.hh b/dynare++/kord/normal_conjugate.hh
index 860fc3be5..95e5a7901 100644
--- a/dynare++/kord/normal_conjugate.hh
+++ b/dynare++/kord/normal_conjugate.hh
@@ -1,4 +1,22 @@
-// Copyright 2007, Ondra Kamenik
+/*
+ * Copyright © 2007 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Conjugate family for normal distribution
 
diff --git a/dynare++/kord/seed_generator.cc b/dynare++/kord/seed_generator.cc
index 184d55d01..edd6f295e 100644
--- a/dynare++/kord/seed_generator.cc
+++ b/dynare++/kord/seed_generator.cc
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "seed_generator.hh"
 
 #include <limits>
diff --git a/dynare++/kord/seed_generator.hh b/dynare++/kord/seed_generator.hh
index 74cd22756..50320e427 100644
--- a/dynare++/kord/seed_generator.hh
+++ b/dynare++/kord/seed_generator.hh
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef RANDOM_H
 #define RANDOM_H
 
diff --git a/dynare++/kord/tests.cc b/dynare++/kord/tests.cc
index 65b790605..1cadbe3b9 100644
--- a/dynare++/kord/tests.cc
+++ b/dynare++/kord/tests.cc
@@ -1,5 +1,22 @@
-/* $Id: tests.cpp 148 2005-04-19 15:12:26Z kamenik $ */
-/* Copyright 2004, Ondra Kamenik */
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include <chrono>
 #include <random>
diff --git a/dynare++/parser/cc/assign.ll b/dynare++/parser/cc/assign.ll
index e4a195bbc..5fe338fc5 100644
--- a/dynare++/parser/cc/assign.ll
+++ b/dynare++/parser/cc/assign.ll
@@ -1,4 +1,23 @@
 /* -*- C++ -*- */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 %{
 #include "location.hh"
 #include "assign_tab.hh"
diff --git a/dynare++/parser/cc/assign.yy b/dynare++/parser/cc/assign.yy
index 72d16d8d0..a9de698b5 100644
--- a/dynare++/parser/cc/assign.yy
+++ b/dynare++/parser/cc/assign.yy
@@ -1,5 +1,23 @@
 // -*- C++ -*-
-/* Copyright © 2006-2011, Ondra Kamenik */
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 %code requires
 {
diff --git a/dynare++/parser/cc/atom_assignings.cc b/dynare++/parser/cc/atom_assignings.cc
index 853182f29..2a5cb493a 100644
--- a/dynare++/parser/cc/atom_assignings.cc
+++ b/dynare++/parser/cc/atom_assignings.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: atom_assignings.cpp 92 2007-04-19 11:38:21Z ondra $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "atom_assignings.hh"
 #include "location.hh"
diff --git a/dynare++/parser/cc/atom_assignings.hh b/dynare++/parser/cc/atom_assignings.hh
index e992aa680..ace2b5830 100644
--- a/dynare++/parser/cc/atom_assignings.hh
+++ b/dynare++/parser/cc/atom_assignings.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: atom_assignings.h 149 2007-04-30 02:11:46Z okamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_ATOM_ASSIGNINGS_H
 #define OGP_ATOM_ASSIGNINGS_H
diff --git a/dynare++/parser/cc/atom_substitutions.cc b/dynare++/parser/cc/atom_substitutions.cc
index 8e3a077c5..f0a8f8481 100644
--- a/dynare++/parser/cc/atom_substitutions.cc
+++ b/dynare++/parser/cc/atom_substitutions.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: atom_substitutions.cpp 42 2007-01-22 21:53:24Z ondra $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "atom_substitutions.hh"
 #include "utils/cc/exception.hh"
diff --git a/dynare++/parser/cc/atom_substitutions.hh b/dynare++/parser/cc/atom_substitutions.hh
index 4a4d85c87..3f50e2266 100644
--- a/dynare++/parser/cc/atom_substitutions.hh
+++ b/dynare++/parser/cc/atom_substitutions.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: atom_substitutions.h 42 2007-01-22 21:53:24Z ondra $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_ATOM_SUBSTITUTIONS_H
 #define OGP_ATOM_SUBSTITUTIONS_H
diff --git a/dynare++/parser/cc/dynamic_atoms.cc b/dynare++/parser/cc/dynamic_atoms.cc
index cb5de80da..4ec1707ea 100644
--- a/dynare++/parser/cc/dynamic_atoms.cc
+++ b/dynare++/parser/cc/dynamic_atoms.cc
@@ -1,6 +1,22 @@
-// Copyright © 2005, Ondra Kamenik
-
-// $Id: dynamic_atoms.cpp 1362 2007-07-10 11:50:18Z kamenik $
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "utils/cc/exception.hh"
 #include "dynamic_atoms.hh"
diff --git a/dynare++/parser/cc/dynamic_atoms.hh b/dynare++/parser/cc/dynamic_atoms.hh
index e717b59e0..f963a099a 100644
--- a/dynare++/parser/cc/dynamic_atoms.hh
+++ b/dynare++/parser/cc/dynamic_atoms.hh
@@ -1,6 +1,22 @@
-// Copyright © 2005, Ondra Kamenik
-
-// $Id: dynamic_atoms.h 2269 2008-11-23 14:33:22Z michel $
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_DYNAMIC_ATOMS_H
 #define OGP_DYNAMIC_ATOMS_H
diff --git a/dynare++/parser/cc/fine_atoms.cc b/dynare++/parser/cc/fine_atoms.cc
index 28b1fc511..2c5a28d6b 100644
--- a/dynare++/parser/cc/fine_atoms.cc
+++ b/dynare++/parser/cc/fine_atoms.cc
@@ -1,6 +1,22 @@
-// Copyright © 2005, Ondra Kamenik
-
-// $Id: fine_atoms.cpp 1759 2008-03-31 14:25:20Z kamenik $
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "utils/cc/exception.hh"
 
diff --git a/dynare++/parser/cc/fine_atoms.hh b/dynare++/parser/cc/fine_atoms.hh
index 10261129d..010f5baf0 100644
--- a/dynare++/parser/cc/fine_atoms.hh
+++ b/dynare++/parser/cc/fine_atoms.hh
@@ -1,6 +1,22 @@
-// Copyright © 2005, Ondra Kamenik
-
-// $Id: fine_atoms.h 1759 2008-03-31 14:25:20Z kamenik $
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_FINE_ATOMS_H
 #define OGP_FINE_ATOMS_H
diff --git a/dynare++/parser/cc/formula.ll b/dynare++/parser/cc/formula.ll
index d6241157d..69e1909c4 100644
--- a/dynare++/parser/cc/formula.ll
+++ b/dynare++/parser/cc/formula.ll
@@ -1,4 +1,23 @@
 /* -*- C++ -*- */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 %{
 #include "location.hh"
 #include "formula_tab.hh"
diff --git a/dynare++/parser/cc/formula.yy b/dynare++/parser/cc/formula.yy
index f8ac65042..a25205305 100644
--- a/dynare++/parser/cc/formula.yy
+++ b/dynare++/parser/cc/formula.yy
@@ -1,5 +1,23 @@
 // -*- C++ -*-
-/* Copyright © 2006-2011, Ondra Kamenik */
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 %code requires
 {
diff --git a/dynare++/parser/cc/formula_parser.cc b/dynare++/parser/cc/formula_parser.cc
index 4498f8a1d..76eb29040 100644
--- a/dynare++/parser/cc/formula_parser.cc
+++ b/dynare++/parser/cc/formula_parser.cc
@@ -1,6 +1,22 @@
-// Copyright © 2005, Ondra Kamenik
-
-// $Id: formula_parser.cpp 2268 2008-11-22 10:38:03Z michel $
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "utils/cc/pascal_triangle.hh"
 #include "utils/cc/exception.hh"
diff --git a/dynare++/parser/cc/formula_parser.hh b/dynare++/parser/cc/formula_parser.hh
index c1f370bb3..44fbcbdfc 100644
--- a/dynare++/parser/cc/formula_parser.hh
+++ b/dynare++/parser/cc/formula_parser.hh
@@ -1,4 +1,22 @@
-// Copyright © 2005-2011, Ondra Kamenik
+/*
+ * Copyright © 2005-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_FORMULA_PARSER_H
 #define OGP_FORMULA_PARSER_H
diff --git a/dynare++/parser/cc/matrix.ll b/dynare++/parser/cc/matrix.ll
index 91bdb6486..d65b3b5e8 100644
--- a/dynare++/parser/cc/matrix.ll
+++ b/dynare++/parser/cc/matrix.ll
@@ -1,7 +1,25 @@
 /* -*- C++ -*- */
-%{
-// Copyright © 2006-2011, Ondra Kamenik
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
+%{
 #include <string>
 
 #include "location.hh"
diff --git a/dynare++/parser/cc/matrix.yy b/dynare++/parser/cc/matrix.yy
index 7d6cea5dd..361d678e2 100644
--- a/dynare++/parser/cc/matrix.yy
+++ b/dynare++/parser/cc/matrix.yy
@@ -1,5 +1,23 @@
 // -*- C++ -*-
-// Copyright © 2006-2011, Ondra Kamenik
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 %code requires
 {
diff --git a/dynare++/parser/cc/matrix_parser.cc b/dynare++/parser/cc/matrix_parser.cc
index ae3ac67dc..f0f29a8d6 100644
--- a/dynare++/parser/cc/matrix_parser.cc
+++ b/dynare++/parser/cc/matrix_parser.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: matrix_parser.cpp 2269 2008-11-23 14:33:22Z michel $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "parser_exception.hh"
 #include "matrix_parser.hh"
diff --git a/dynare++/parser/cc/matrix_parser.hh b/dynare++/parser/cc/matrix_parser.hh
index 35dd58bd8..b2028429b 100644
--- a/dynare++/parser/cc/matrix_parser.hh
+++ b/dynare++/parser/cc/matrix_parser.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: matrix_parser.h 762 2006-05-22 13:00:07Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_MATRIX_PARSER
 #define OGP_MATRIX_PARSER
diff --git a/dynare++/parser/cc/parser_exception.cc b/dynare++/parser/cc/parser_exception.cc
index c433990fa..f0bb91b49 100644
--- a/dynare++/parser/cc/parser_exception.cc
+++ b/dynare++/parser/cc/parser_exception.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: parser_exception.cpp 2269 2008-11-23 14:33:22Z michel $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "parser_exception.hh"
 
diff --git a/dynare++/parser/cc/parser_exception.hh b/dynare++/parser/cc/parser_exception.hh
index 5a8fbd33a..8844e2bc7 100644
--- a/dynare++/parser/cc/parser_exception.hh
+++ b/dynare++/parser/cc/parser_exception.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: parser_exception.h 1761 2008-03-31 14:27:13Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OG_FORMULA_PARSER_H
 #define OG_FORMULA_PARSER_H
diff --git a/dynare++/parser/cc/static_atoms.cc b/dynare++/parser/cc/static_atoms.cc
index 2e31eeb47..566598414 100644
--- a/dynare++/parser/cc/static_atoms.cc
+++ b/dynare++/parser/cc/static_atoms.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: static_atoms.cpp 1360 2007-07-10 11:44:20Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "static_atoms.hh"
 #include "utils/cc/exception.hh"
diff --git a/dynare++/parser/cc/static_atoms.hh b/dynare++/parser/cc/static_atoms.hh
index 437ad8775..19ef6cf88 100644
--- a/dynare++/parser/cc/static_atoms.hh
+++ b/dynare++/parser/cc/static_atoms.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: static_atoms.h 1218 2007-03-19 21:52:49Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_STATIC_ATOMS
 #define OGP_STATIC_ATOMS
diff --git a/dynare++/parser/cc/static_fine_atoms.cc b/dynare++/parser/cc/static_fine_atoms.cc
index 2d49fe457..b4b7487b2 100644
--- a/dynare++/parser/cc/static_fine_atoms.cc
+++ b/dynare++/parser/cc/static_fine_atoms.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: static_fine_atoms.cpp 82 2007-04-19 11:33:30Z ondra $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "utils/cc/exception.hh"
 
diff --git a/dynare++/parser/cc/static_fine_atoms.hh b/dynare++/parser/cc/static_fine_atoms.hh
index 1f09f3c5f..175137052 100644
--- a/dynare++/parser/cc/static_fine_atoms.hh
+++ b/dynare++/parser/cc/static_fine_atoms.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: static_fine_atoms.h 42 2007-01-22 21:53:24Z ondra $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_STATIC_FINE_ATOMS_H
 #define OGP_STATIC_FINE_ATOMS_H
diff --git a/dynare++/parser/cc/tree.cc b/dynare++/parser/cc/tree.cc
index e9a1ac677..3ba9b8351 100644
--- a/dynare++/parser/cc/tree.cc
+++ b/dynare++/parser/cc/tree.cc
@@ -1,4 +1,22 @@
-// Copyright © 2005-2011, Ondra Kamenik
+/*
+ * Copyright © 2005-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "utils/cc/exception.hh"
 
diff --git a/dynare++/parser/cc/tree.hh b/dynare++/parser/cc/tree.hh
index 7b466f669..5e14c8bf2 100644
--- a/dynare++/parser/cc/tree.hh
+++ b/dynare++/parser/cc/tree.hh
@@ -1,4 +1,22 @@
-// Copyright © 2005-2011, Ondra Kamenik
+/*
+ * Copyright © 2005-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGP_TREE_H
 #define OGP_TREE_H
diff --git a/dynare++/src/Makefile.am b/dynare++/src/Makefile.am
index 0187b4a40..cb42b216f 100644
--- a/dynare++/src/Makefile.am
+++ b/dynare++/src/Makefile.am
@@ -21,7 +21,7 @@ dynare___SOURCES = \
 	nlsolve.hh \
 	$(GENERATED_FILES)
 
-dynare___CPPFLAGS = -I../sylv/cc -I../tl/cc -I../kord -I../integ/cc -I../utils/cc -I.. -I$(top_srcdir)/mex/sources -DDYNVERSION=\"$(PACKAGE_VERSION)\" $(BOOST_CPPFLAGS) $(CPPFLAGS_MATIO)
+dynare___CPPFLAGS = -I../sylv/cc -I../tl/cc -I../kord -I../integ/cc -I../utils/cc -I.. -I$(top_srcdir)/mex/sources $(BOOST_CPPFLAGS) $(CPPFLAGS_MATIO)
 dynare___LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MATIO) $(BOOST_LDFLAGS)
 dynare___LDADD = ../kord/libkord.a ../integ/cc/libinteg.a ../tl/cc/libtl.a ../parser/cc/libparser.a ../utils/cc/libutils.a ../sylv/cc/libsylv.a $(LIBADD_MATIO) $(noinst_LIBRARIES) $(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
 dynare___CXXFLAGS = $(AM_CXXFLAGS) $(THREAD_CXXFLAGS)
diff --git a/dynare++/src/dynare3.cc b/dynare++/src/dynare3.cc
index cd04585b9..226570eaa 100644
--- a/dynare++/src/dynare3.cc
+++ b/dynare++/src/dynare3.cc
@@ -1,3 +1,23 @@
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include <sstream>
 #include <fstream>
 
@@ -12,10 +32,6 @@
 #include "../tl/cc/tl_exception.hh"
 #include "../kord/kord_exception.hh"
 
-#ifndef DYNVERSION
-# define DYNVERSION "unknown"
-#endif
-
 /**************************************************************************************/
 /*       DynareNameList class                                                         */
 /**************************************************************************************/
diff --git a/dynare++/src/dynare3.hh b/dynare++/src/dynare3.hh
index 4603da10b..e2aede483 100644
--- a/dynare++/src/dynare3.hh
+++ b/dynare++/src/dynare3.hh
@@ -1,5 +1,22 @@
-// $Id: dynare3.h 1764 2008-03-31 14:30:55Z kamenik $
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef DYNARE3_H
 #define DYNARE3_H
diff --git a/dynare++/src/dynare_atoms.cc b/dynare++/src/dynare_atoms.cc
index e4f3bce3e..0ca99840f 100644
--- a/dynare++/src/dynare_atoms.cc
+++ b/dynare++/src/dynare_atoms.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: dynare_atoms.cpp 1765 2008-03-31 14:32:08Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "parser/cc/parser_exception.hh"
 #include "utils/cc/exception.hh"
diff --git a/dynare++/src/dynare_atoms.hh b/dynare++/src/dynare_atoms.hh
index 91701627e..f389fe2d2 100644
--- a/dynare++/src/dynare_atoms.hh
+++ b/dynare++/src/dynare_atoms.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: dynare_atoms.h 1765 2008-03-31 14:32:08Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGDYN_DYNARE_ATOMS_H
 #define OGDYN_DYNARE_ATOMS_H
diff --git a/dynare++/src/dynare_exception.hh b/dynare++/src/dynare_exception.hh
index 8cc4e3196..99eff6ad9 100644
--- a/dynare++/src/dynare_exception.hh
+++ b/dynare++/src/dynare_exception.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: dynare_exception.h 853 2006-08-01 08:42:42Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef DYNARE_EXCEPTION_H
 #define DYNARE_EXCEPTION_H
diff --git a/dynare++/src/dynare_model.cc b/dynare++/src/dynare_model.cc
index f289fe3ec..fbf20247c 100644
--- a/dynare++/src/dynare_model.cc
+++ b/dynare++/src/dynare_model.cc
@@ -1,4 +1,22 @@
-// Copyright © 2006-2011, Ondra Kamenik
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "parser/cc/parser_exception.hh"
 #include "parser/cc/location.hh"
@@ -776,7 +794,7 @@ MatlabSSWriter::write_common1_preamble(std::ostream &os) const
      << "%       y      is a (" << model.getAtoms().ny() << ",1) vector of endogenous variables\n"
      << "%              in the ordering as declared\n"
      << "%\n"
-     << "% Created by Dynare++ v. " << DYNVERSION << "\n";
+     << "% Created by Dynare++ v. " << VERSION << "\n";
   // write ordering of parameters
   os << "\n% params ordering\n% =====================\n";
   for (auto parname : model.getAtoms().get_params())
diff --git a/dynare++/src/dynare_model.hh b/dynare++/src/dynare_model.hh
index fe9a3b72c..ea977df4e 100644
--- a/dynare++/src/dynare_model.hh
+++ b/dynare++/src/dynare_model.hh
@@ -1,4 +1,22 @@
-// Copyright © 2005-2011, Ondra Kamenik
+/*
+ * Copyright © 2005-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGDYN_DYNARE_MODEL
 #define OGDYN_DYNARE_MODEL
diff --git a/dynare++/src/dynare_params.cc b/dynare++/src/dynare_params.cc
index 99e97ab82..a2a989a69 100644
--- a/dynare++/src/dynare_params.cc
+++ b/dynare++/src/dynare_params.cc
@@ -1,4 +1,22 @@
-// Copyright © 2004-2011, Ondra Kamenik
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "dynare_params.hh"
 
diff --git a/dynare++/src/dynare_params.hh b/dynare++/src/dynare_params.hh
index ddfb22253..ca8318cbb 100644
--- a/dynare++/src/dynare_params.hh
+++ b/dynare++/src/dynare_params.hh
@@ -1,6 +1,22 @@
-// $Id: dynare_params.h 2347 2009-03-24 11:54:29Z kamenik $
-
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 /*
   along shocks: m    mult    max_evals
diff --git a/dynare++/src/dynglob.ll b/dynare++/src/dynglob.ll
index 10dfb80f8..f9a561173 100644
--- a/dynare++/src/dynglob.ll
+++ b/dynare++/src/dynglob.ll
@@ -1,4 +1,23 @@
 /* -*- C++ -*- */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 %{
 #include "parser/cc/location.hh"
 #include "dynglob_tab.hh"
diff --git a/dynare++/src/dynglob.yy b/dynare++/src/dynglob.yy
index c92715315..97a9c6b23 100644
--- a/dynare++/src/dynglob.yy
+++ b/dynare++/src/dynglob.yy
@@ -1,5 +1,23 @@
 // -*- C++ -*-
-// Copyright © 2006-2011, Ondra Kamenik
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 %code requires
 {
diff --git a/dynare++/src/forw_subst_builder.cc b/dynare++/src/forw_subst_builder.cc
index 9abf26693..e062ec652 100644
--- a/dynare++/src/forw_subst_builder.cc
+++ b/dynare++/src/forw_subst_builder.cc
@@ -1,4 +1,22 @@
-// Copyright © 2006-2011, Ondra Kamenik
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "forw_subst_builder.hh"
 
diff --git a/dynare++/src/forw_subst_builder.hh b/dynare++/src/forw_subst_builder.hh
index 7a83d96d0..4083a9b6a 100644
--- a/dynare++/src/forw_subst_builder.hh
+++ b/dynare++/src/forw_subst_builder.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id$
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef FORW_SUBST_BUILDER_H
 #define FORW_SUBST_BUILDER_H
diff --git a/dynare++/src/main.cc b/dynare++/src/main.cc
index 10dd2c5ed..6d53d0331 100644
--- a/dynare++/src/main.cc
+++ b/dynare++/src/main.cc
@@ -1,4 +1,22 @@
-// Copyright © 2004-2011, Ondra Kamenik
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "dynare3.hh"
 #include "dynare_exception.hh"
@@ -26,12 +44,12 @@ main(int argc, char **argv)
     }
   if (params.version)
     {
-      std::cout << u8"Dynare++ v. " << DYNVERSION << ". Copyright © 2004-2011, Ondra Kamenik\n"
-                << "Dynare++ comes with ABSOLUTELY NO WARRANTY and is distributed under\n"
-                << "GPL: modules integ, tl, kord, sylv, src and documentation\n"
-                << "LGPL: modules parser, utils\n"
-                << " for GPL  see https://www.gnu.org/licenses/gpl.html\n"
-                << " for LGPL see https://www.gnu.org/licenses/lgpl.html\n";
+      std::cout << "Dynare++ v. " << VERSION << '\n'
+                << '\n'
+                << u8"Copyright © 2004-2011 Ondra Kamenik\n"
+                << u8"Copyright © 2019 Dynare Team\n"
+                << "Dynare++ comes with ABSOLUTELY NO WARRANTY and is distributed under the GNU GPL,\n"
+                << "version 3 or later (see https://www.gnu.org/licenses/gpl.html)\n";
       return EXIT_SUCCESS;
     }
   sthread::detach_thread_group::max_parallel_threads = params.num_threads;
diff --git a/dynare++/src/nlsolve.cc b/dynare++/src/nlsolve.cc
index a71a0d733..a841522e5 100644
--- a/dynare++/src/nlsolve.cc
+++ b/dynare++/src/nlsolve.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: nlsolve.cpp 762 2006-05-22 13:00:07Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "nlsolve.hh"
 #include "dynare_exception.hh"
diff --git a/dynare++/src/nlsolve.hh b/dynare++/src/nlsolve.hh
index 83a46bbf7..b7aeb9448 100644
--- a/dynare++/src/nlsolve.hh
+++ b/dynare++/src/nlsolve.hh
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id: nlsolve.h 762 2006-05-22 13:00:07Z kamenik $
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGU_NLSOLVE_H
 #define OGU_NLSOLVE_H
diff --git a/dynare++/src/planner_builder.cc b/dynare++/src/planner_builder.cc
index 4257bf6bc..9f0d998d5 100644
--- a/dynare++/src/planner_builder.cc
+++ b/dynare++/src/planner_builder.cc
@@ -1,6 +1,22 @@
-// Copyright © 2006, Ondra Kamenik
-
-// $Id$
+/*
+ * Copyright © 2006 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "planner_builder.hh"
 #include "dynare_exception.hh"
diff --git a/dynare++/src/planner_builder.hh b/dynare++/src/planner_builder.hh
index df587ac0e..a2fe7dd1b 100644
--- a/dynare++/src/planner_builder.hh
+++ b/dynare++/src/planner_builder.hh
@@ -1,4 +1,22 @@
-// Copyright © 2006-2011, Ondra Kamenik
+/*
+ * Copyright © 2006-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef PLANNER_BUILDER_H
 #define PLANNER_BUILDER_H
diff --git a/dynare++/sylv/cc/BlockDiagonal.cc b/dynare++/sylv/cc/BlockDiagonal.cc
index f9c98d6ca..eb8d4d119 100644
--- a/dynare++/sylv/cc/BlockDiagonal.cc
+++ b/dynare++/sylv/cc/BlockDiagonal.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/BlockDiagonal.cpp,v 1.1.1.1 2004/06/04 13:00:20 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "BlockDiagonal.hh"
 #include "int_power.hh"
diff --git a/dynare++/sylv/cc/BlockDiagonal.hh b/dynare++/sylv/cc/BlockDiagonal.hh
index b8930a781..404c9fb2e 100644
--- a/dynare++/sylv/cc/BlockDiagonal.hh
+++ b/dynare++/sylv/cc/BlockDiagonal.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/BlockDiagonal.h,v 1.1.1.1 2004/06/04 13:00:20 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef BLOCK_DIAGONAL_H
 #define BLOCK_DIAGONAL_H
diff --git a/dynare++/sylv/cc/GeneralMatrix.cc b/dynare++/sylv/cc/GeneralMatrix.cc
index 4b8c098bc..e4d1a4eaa 100644
--- a/dynare++/sylv/cc/GeneralMatrix.cc
+++ b/dynare++/sylv/cc/GeneralMatrix.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/GeneralMatrix.cpp,v 1.4 2004/11/24 20:41:59 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SylvException.hh"
 #include "GeneralMatrix.hh"
diff --git a/dynare++/sylv/cc/GeneralMatrix.hh b/dynare++/sylv/cc/GeneralMatrix.hh
index d47042829..383cf0cda 100644
--- a/dynare++/sylv/cc/GeneralMatrix.hh
+++ b/dynare++/sylv/cc/GeneralMatrix.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/GeneralMatrix.h,v 1.3 2004/11/24 20:41:59 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef GENERAL_MATRIX_H
 #define GENERAL_MATRIX_H
diff --git a/dynare++/sylv/cc/GeneralSylvester.cc b/dynare++/sylv/cc/GeneralSylvester.cc
index 2dfd4b66e..fd12e21d5 100644
--- a/dynare++/sylv/cc/GeneralSylvester.cc
+++ b/dynare++/sylv/cc/GeneralSylvester.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/GeneralSylvester.cpp,v 1.1.1.1 2004/06/04 13:00:20 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "GeneralSylvester.hh"
 #include "SchurDecomp.hh"
diff --git a/dynare++/sylv/cc/GeneralSylvester.hh b/dynare++/sylv/cc/GeneralSylvester.hh
index 961459390..d3b98aee0 100644
--- a/dynare++/sylv/cc/GeneralSylvester.hh
+++ b/dynare++/sylv/cc/GeneralSylvester.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/GeneralSylvester.h,v 1.1.1.1 2004/06/04 13:00:20 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef GENERAL_SYLVESTER_H
 #define GENERAL_SYLVESTER_H
diff --git a/dynare++/sylv/cc/IterativeSylvester.cc b/dynare++/sylv/cc/IterativeSylvester.cc
index 87e5cdf64..5c81d60fa 100644
--- a/dynare++/sylv/cc/IterativeSylvester.cc
+++ b/dynare++/sylv/cc/IterativeSylvester.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/IterativeSylvester.cpp,v 1.1.1.1 2004/06/04 13:00:20 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "IterativeSylvester.hh"
 #include "KronUtils.hh"
diff --git a/dynare++/sylv/cc/IterativeSylvester.hh b/dynare++/sylv/cc/IterativeSylvester.hh
index 114537c7c..11a81d05f 100644
--- a/dynare++/sylv/cc/IterativeSylvester.hh
+++ b/dynare++/sylv/cc/IterativeSylvester.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/IterativeSylvester.h,v 1.1.1.1 2004/06/04 13:00:20 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef ITERATIVE_SYLVESTER_H
 #define ITERATIVE_SYLVESTER_H
diff --git a/dynare++/sylv/cc/KronUtils.cc b/dynare++/sylv/cc/KronUtils.cc
index 1115b38f4..92abea68e 100644
--- a/dynare++/sylv/cc/KronUtils.cc
+++ b/dynare++/sylv/cc/KronUtils.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/KronUtils.cpp,v 1.1.1.1 2004/06/04 13:00:31 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "KronUtils.hh"
 #include "int_power.hh"
diff --git a/dynare++/sylv/cc/KronUtils.hh b/dynare++/sylv/cc/KronUtils.hh
index c7935e676..38a0cf34a 100644
--- a/dynare++/sylv/cc/KronUtils.hh
+++ b/dynare++/sylv/cc/KronUtils.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/KronUtils.h,v 1.1.1.1 2004/06/04 13:00:31 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef KRON_UTILS_H
 #define KRON_UTILS_H
diff --git a/dynare++/sylv/cc/KronVector.cc b/dynare++/sylv/cc/KronVector.cc
index fc833a861..330e150bd 100644
--- a/dynare++/sylv/cc/KronVector.cc
+++ b/dynare++/sylv/cc/KronVector.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/KronVector.cpp,v 1.1.1.1 2004/06/04 13:00:31 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "KronVector.hh"
 #include "SylvException.hh"
diff --git a/dynare++/sylv/cc/KronVector.hh b/dynare++/sylv/cc/KronVector.hh
index b39e48a5c..5ab01f47e 100644
--- a/dynare++/sylv/cc/KronVector.hh
+++ b/dynare++/sylv/cc/KronVector.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/KronVector.h,v 1.1.1.1 2004/06/04 13:00:31 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef KRON_VECTOR_H
 #define KRON_VECTOR_H
diff --git a/dynare++/sylv/cc/QuasiTriangular.cc b/dynare++/sylv/cc/QuasiTriangular.cc
index f16db0bf3..581427352 100644
--- a/dynare++/sylv/cc/QuasiTriangular.cc
+++ b/dynare++/sylv/cc/QuasiTriangular.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/QuasiTriangular.cpp,v 1.1.1.1 2004/06/04 13:00:31 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "QuasiTriangular.hh"
 #include "SylvException.hh"
diff --git a/dynare++/sylv/cc/QuasiTriangular.hh b/dynare++/sylv/cc/QuasiTriangular.hh
index 3beba2013..b7e52787d 100644
--- a/dynare++/sylv/cc/QuasiTriangular.hh
+++ b/dynare++/sylv/cc/QuasiTriangular.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/QuasiTriangular.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef QUASI_TRIANGULAR_H
 #define QUASI_TRIANGULAR_H
diff --git a/dynare++/sylv/cc/QuasiTriangularZero.cc b/dynare++/sylv/cc/QuasiTriangularZero.cc
index bb9f665cc..210e1d8a0 100644
--- a/dynare++/sylv/cc/QuasiTriangularZero.cc
+++ b/dynare++/sylv/cc/QuasiTriangularZero.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/QuasiTriangularZero.cpp,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "QuasiTriangularZero.hh"
 #include "SchurDecomp.hh"
diff --git a/dynare++/sylv/cc/QuasiTriangularZero.hh b/dynare++/sylv/cc/QuasiTriangularZero.hh
index 921c54ebe..ef896d4ae 100644
--- a/dynare++/sylv/cc/QuasiTriangularZero.hh
+++ b/dynare++/sylv/cc/QuasiTriangularZero.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/QuasiTriangularZero.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef QUASI_TRIANGULAR_ZERO_H
 #define QUASI_TRIANGULAR_ZERO_H
diff --git a/dynare++/sylv/cc/SchurDecomp.cc b/dynare++/sylv/cc/SchurDecomp.cc
index acafa9a35..b4b1eb6cf 100644
--- a/dynare++/sylv/cc/SchurDecomp.cc
+++ b/dynare++/sylv/cc/SchurDecomp.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SchurDecomp.cpp,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SchurDecomp.hh"
 
diff --git a/dynare++/sylv/cc/SchurDecomp.hh b/dynare++/sylv/cc/SchurDecomp.hh
index 00ed60881..69d9d02a3 100644
--- a/dynare++/sylv/cc/SchurDecomp.hh
+++ b/dynare++/sylv/cc/SchurDecomp.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SchurDecomp.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef SCHUR_DECOMP_H
 #define SCHUR_DECOMP_H
diff --git a/dynare++/sylv/cc/SchurDecompEig.cc b/dynare++/sylv/cc/SchurDecompEig.cc
index c491feaef..edc78e725 100644
--- a/dynare++/sylv/cc/SchurDecompEig.cc
+++ b/dynare++/sylv/cc/SchurDecompEig.cc
@@ -1,3 +1,23 @@
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "SchurDecompEig.hh"
 #include "SylvException.hh"
 
diff --git a/dynare++/sylv/cc/SchurDecompEig.hh b/dynare++/sylv/cc/SchurDecompEig.hh
index 1fea7d2bd..62ba7ccd1 100644
--- a/dynare++/sylv/cc/SchurDecompEig.hh
+++ b/dynare++/sylv/cc/SchurDecompEig.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SchurDecompEig.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // contains algorithms for eigenvalue reordering
 
diff --git a/dynare++/sylv/cc/SimilarityDecomp.cc b/dynare++/sylv/cc/SimilarityDecomp.cc
index 2a366c0ab..64690aa4d 100644
--- a/dynare++/sylv/cc/SimilarityDecomp.cc
+++ b/dynare++/sylv/cc/SimilarityDecomp.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SimilarityDecomp.cpp,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SimilarityDecomp.hh"
 #include "SchurDecomp.hh"
diff --git a/dynare++/sylv/cc/SimilarityDecomp.hh b/dynare++/sylv/cc/SimilarityDecomp.hh
index 7dc7074c6..960ddd51b 100644
--- a/dynare++/sylv/cc/SimilarityDecomp.hh
+++ b/dynare++/sylv/cc/SimilarityDecomp.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SimilarityDecomp.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef SIMILARITY_DECOMP_H
 #define SIMILARITY_DECOMP_H
diff --git a/dynare++/sylv/cc/SylvException.cc b/dynare++/sylv/cc/SylvException.cc
index 599ea9bcc..c168d3be0 100644
--- a/dynare++/sylv/cc/SylvException.cc
+++ b/dynare++/sylv/cc/SylvException.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SylvException.cpp,v 1.2 2004/10/01 10:30:40 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SylvException.hh"
 
diff --git a/dynare++/sylv/cc/SylvException.hh b/dynare++/sylv/cc/SylvException.hh
index a65a0df19..eba7fdc53 100644
--- a/dynare++/sylv/cc/SylvException.hh
+++ b/dynare++/sylv/cc/SylvException.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SylvException.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef SYLV_EXCEPTION_H
 #define SYLV_EXCEPTION_H
diff --git a/dynare++/sylv/cc/SylvMatrix.cc b/dynare++/sylv/cc/SylvMatrix.cc
index a66ede20c..dff00ecdc 100644
--- a/dynare++/sylv/cc/SylvMatrix.cc
+++ b/dynare++/sylv/cc/SylvMatrix.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SylvMatrix.cpp,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SylvException.hh"
 #include "SylvMatrix.hh"
diff --git a/dynare++/sylv/cc/SylvMatrix.hh b/dynare++/sylv/cc/SylvMatrix.hh
index ed603ab92..bfd8a0fda 100644
--- a/dynare++/sylv/cc/SylvMatrix.hh
+++ b/dynare++/sylv/cc/SylvMatrix.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SylvMatrix.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef SYLV_MATRIX_H
 #define SYLV_MATRIX_H
diff --git a/dynare++/sylv/cc/SylvParams.cc b/dynare++/sylv/cc/SylvParams.cc
index ee644b790..933c2be9b 100644
--- a/dynare++/sylv/cc/SylvParams.cc
+++ b/dynare++/sylv/cc/SylvParams.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SylvParams.cpp,v 1.1.1.1 2004/06/04 13:00:52 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SylvParams.hh"
 
diff --git a/dynare++/sylv/cc/SylvParams.hh b/dynare++/sylv/cc/SylvParams.hh
index f4ec1d02c..29b141c06 100644
--- a/dynare++/sylv/cc/SylvParams.hh
+++ b/dynare++/sylv/cc/SylvParams.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SylvParams.h,v 1.1.1.1 2004/06/04 13:00:54 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef SYLV_PARAMS_H
 #define SYLV_PARAMS_H
diff --git a/dynare++/sylv/cc/SylvesterSolver.hh b/dynare++/sylv/cc/SylvesterSolver.hh
index be358c847..3178a107b 100644
--- a/dynare++/sylv/cc/SylvesterSolver.hh
+++ b/dynare++/sylv/cc/SylvesterSolver.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SylvesterSolver.h,v 1.1.1.1 2004/06/04 13:00:54 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef SYLVESTER_SOLVER_H
 #define SYLVESTER_SOLVER_H
diff --git a/dynare++/sylv/cc/SymSchurDecomp.cc b/dynare++/sylv/cc/SymSchurDecomp.cc
index e6df54375..d6aa8351a 100644
--- a/dynare++/sylv/cc/SymSchurDecomp.cc
+++ b/dynare++/sylv/cc/SymSchurDecomp.cc
@@ -1,6 +1,22 @@
-/* $Header$ */
-
-/* Tag $Name$ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SymSchurDecomp.hh"
 #include "SylvException.hh"
diff --git a/dynare++/sylv/cc/SymSchurDecomp.hh b/dynare++/sylv/cc/SymSchurDecomp.hh
index 04deaf8ac..1d0e268e6 100644
--- a/dynare++/sylv/cc/SymSchurDecomp.hh
+++ b/dynare++/sylv/cc/SymSchurDecomp.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/SchurDecomp.h,v 1.1.1.1 2004/06/04 13:00:44 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef SYM_SCHUR_DECOMP_H
 #define SYM_SCHUR_DECOMP_H
diff --git a/dynare++/sylv/cc/TriangularSylvester.cc b/dynare++/sylv/cc/TriangularSylvester.cc
index abe3e8e0a..fb8e26404 100644
--- a/dynare++/sylv/cc/TriangularSylvester.cc
+++ b/dynare++/sylv/cc/TriangularSylvester.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/TriangularSylvester.cpp,v 1.1.1.1 2004/06/04 13:00:59 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "TriangularSylvester.hh"
 #include "QuasiTriangularZero.hh"
diff --git a/dynare++/sylv/cc/TriangularSylvester.hh b/dynare++/sylv/cc/TriangularSylvester.hh
index 425a4f617..8abe68ac3 100644
--- a/dynare++/sylv/cc/TriangularSylvester.hh
+++ b/dynare++/sylv/cc/TriangularSylvester.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/TriangularSylvester.h,v 1.1.1.1 2004/06/04 13:01:03 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef TRIANGULAR_SYLVESTER_H
 #define TRIANGULAR_SYLVESTER_H
diff --git a/dynare++/sylv/cc/Vector.cc b/dynare++/sylv/cc/Vector.cc
index 99ff17ee2..a61046d80 100644
--- a/dynare++/sylv/cc/Vector.cc
+++ b/dynare++/sylv/cc/Vector.cc
@@ -1,4 +1,22 @@
-// Copyright © 2004-2011, Ondra Kamenik
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "Vector.hh"
 #include "GeneralMatrix.hh"
diff --git a/dynare++/sylv/cc/Vector.hh b/dynare++/sylv/cc/Vector.hh
index 9859a8d51..3d4be9c05 100644
--- a/dynare++/sylv/cc/Vector.hh
+++ b/dynare++/sylv/cc/Vector.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/cc/Vector.h,v 1.1.1.1 2004/06/04 13:01:13 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef VECTOR_H
 #define VECTOR_H
diff --git a/dynare++/sylv/testing/MMMatrix.cc b/dynare++/sylv/testing/MMMatrix.cc
index f3bb5242b..e9ee8e5c0 100644
--- a/dynare++/sylv/testing/MMMatrix.cc
+++ b/dynare++/sylv/testing/MMMatrix.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/testing/MMMatrix.cpp,v 1.1.1.1 2004/06/04 13:01:13 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "MMMatrix.hh"
 
diff --git a/dynare++/sylv/testing/MMMatrix.hh b/dynare++/sylv/testing/MMMatrix.hh
index 78ff024a2..cba6bce54 100644
--- a/dynare++/sylv/testing/MMMatrix.hh
+++ b/dynare++/sylv/testing/MMMatrix.hh
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/testing/MMMatrix.h,v 1.1.1.1 2004/06/04 13:01:13 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef MM_MATRIX_H
 #define MM_MATRIX_H
diff --git a/dynare++/sylv/testing/tests.cc b/dynare++/sylv/testing/tests.cc
index 65a610c06..eaf80833d 100644
--- a/dynare++/sylv/testing/tests.cc
+++ b/dynare++/sylv/testing/tests.cc
@@ -1,6 +1,22 @@
-/* $Header: /var/lib/cvs/dynare_cpp/sylv/testing/tests.cpp,v 1.2 2004/07/05 19:55:48 kamenik Exp $ */
-
-/* Tag $Name:  $ */
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SylvException.hh"
 #include "QuasiTriangular.hh"
diff --git a/dynare++/tl/cc/equivalence.cc b/dynare++/tl/cc/equivalence.cc
index 14080d500..dfc041445 100644
--- a/dynare++/tl/cc/equivalence.cc
+++ b/dynare++/tl/cc/equivalence.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "equivalence.hh"
 #include "permutation.hh"
diff --git a/dynare++/tl/cc/equivalence.hh b/dynare++/tl/cc/equivalence.hh
index 6df576be4..d5edf96ba 100644
--- a/dynare++/tl/cc/equivalence.hh
+++ b/dynare++/tl/cc/equivalence.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Equivalences.
 
diff --git a/dynare++/tl/cc/fine_container.cc b/dynare++/tl/cc/fine_container.cc
index 50c1a7b1c..b1114493f 100644
--- a/dynare++/tl/cc/fine_container.cc
+++ b/dynare++/tl/cc/fine_container.cc
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "fine_container.hh"
 
diff --git a/dynare++/tl/cc/fine_container.hh b/dynare++/tl/cc/fine_container.hh
index 33be347db..70b6843f0 100644
--- a/dynare++/tl/cc/fine_container.hh
+++ b/dynare++/tl/cc/fine_container.hh
@@ -1,4 +1,22 @@
-// Copyright 2005, Ondra Kamenik
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Refined stack of containers.
 
diff --git a/dynare++/tl/cc/fs_tensor.cc b/dynare++/tl/cc/fs_tensor.cc
index 7c207fa07..7d77dcebc 100644
--- a/dynare++/tl/cc/fs_tensor.cc
+++ b/dynare++/tl/cc/fs_tensor.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "fs_tensor.hh"
 #include "gs_tensor.hh"
diff --git a/dynare++/tl/cc/fs_tensor.hh b/dynare++/tl/cc/fs_tensor.hh
index 59fdad4f7..9e84a2e5c 100644
--- a/dynare++/tl/cc/fs_tensor.hh
+++ b/dynare++/tl/cc/fs_tensor.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Full symmetry tensor.
 
diff --git a/dynare++/tl/cc/gs_tensor.cc b/dynare++/tl/cc/gs_tensor.cc
index 851f7cf80..188bca138 100644
--- a/dynare++/tl/cc/gs_tensor.cc
+++ b/dynare++/tl/cc/gs_tensor.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "gs_tensor.hh"
 #include "sparse_tensor.hh"
diff --git a/dynare++/tl/cc/gs_tensor.hh b/dynare++/tl/cc/gs_tensor.hh
index 1e943c7d8..19168d2c2 100644
--- a/dynare++/tl/cc/gs_tensor.hh
+++ b/dynare++/tl/cc/gs_tensor.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // General symmetry tensor.
 
diff --git a/dynare++/tl/cc/int_sequence.cc b/dynare++/tl/cc/int_sequence.cc
index 19a09ae29..8cba193ad 100644
--- a/dynare++/tl/cc/int_sequence.cc
+++ b/dynare++/tl/cc/int_sequence.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "int_sequence.hh"
 #include "symmetry.hh"
diff --git a/dynare++/tl/cc/int_sequence.hh b/dynare++/tl/cc/int_sequence.hh
index 1f481a63c..135a0b64f 100644
--- a/dynare++/tl/cc/int_sequence.hh
+++ b/dynare++/tl/cc/int_sequence.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Integer sequence.
 
diff --git a/dynare++/tl/cc/kron_prod.cc b/dynare++/tl/cc/kron_prod.cc
index 74dd836d7..f0a6f10b2 100644
--- a/dynare++/tl/cc/kron_prod.cc
+++ b/dynare++/tl/cc/kron_prod.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "kron_prod.hh"
 #include "tl_exception.hh"
diff --git a/dynare++/tl/cc/kron_prod.hh b/dynare++/tl/cc/kron_prod.hh
index 497ce623b..5a59ca8f0 100644
--- a/dynare++/tl/cc/kron_prod.hh
+++ b/dynare++/tl/cc/kron_prod.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Kronecker product.
 
diff --git a/dynare++/tl/cc/normal_moments.cc b/dynare++/tl/cc/normal_moments.cc
index 33be11ba3..e0931cb2b 100644
--- a/dynare++/tl/cc/normal_moments.cc
+++ b/dynare++/tl/cc/normal_moments.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include <memory>
 
diff --git a/dynare++/tl/cc/normal_moments.hh b/dynare++/tl/cc/normal_moments.hh
index d148c3706..da77067bd 100644
--- a/dynare++/tl/cc/normal_moments.hh
+++ b/dynare++/tl/cc/normal_moments.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Moments of normal distribution.
 
diff --git a/dynare++/tl/cc/permutation.cc b/dynare++/tl/cc/permutation.cc
index 831b7186a..5c9d48ca3 100644
--- a/dynare++/tl/cc/permutation.cc
+++ b/dynare++/tl/cc/permutation.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "permutation.hh"
 #include "tl_exception.hh"
diff --git a/dynare++/tl/cc/permutation.hh b/dynare++/tl/cc/permutation.hh
index 53d772621..32e1045b0 100644
--- a/dynare++/tl/cc/permutation.hh
+++ b/dynare++/tl/cc/permutation.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Permutations.
 
diff --git a/dynare++/tl/cc/ps_tensor.cc b/dynare++/tl/cc/ps_tensor.cc
index 35975ecc1..a5c51c81b 100644
--- a/dynare++/tl/cc/ps_tensor.cc
+++ b/dynare++/tl/cc/ps_tensor.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "ps_tensor.hh"
 #include "fs_tensor.hh"
diff --git a/dynare++/tl/cc/ps_tensor.hh b/dynare++/tl/cc/ps_tensor.hh
index d14b2d975..3acfd236e 100644
--- a/dynare++/tl/cc/ps_tensor.hh
+++ b/dynare++/tl/cc/ps_tensor.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Even more general symmetry tensor.
 
diff --git a/dynare++/tl/cc/pyramid_prod.cc b/dynare++/tl/cc/pyramid_prod.cc
index 83458845f..0bfb156ad 100644
--- a/dynare++/tl/cc/pyramid_prod.cc
+++ b/dynare++/tl/cc/pyramid_prod.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "pyramid_prod.hh"
 #include "permutation.hh"
diff --git a/dynare++/tl/cc/pyramid_prod.hh b/dynare++/tl/cc/pyramid_prod.hh
index f2b35680c..01312cd02 100644
--- a/dynare++/tl/cc/pyramid_prod.hh
+++ b/dynare++/tl/cc/pyramid_prod.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Multiplying tensor columns.
 
diff --git a/dynare++/tl/cc/pyramid_prod2.cc b/dynare++/tl/cc/pyramid_prod2.cc
index 1dbbd34a6..a129257e4 100644
--- a/dynare++/tl/cc/pyramid_prod2.cc
+++ b/dynare++/tl/cc/pyramid_prod2.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "pyramid_prod2.hh"
 #include "rfs_tensor.hh"
diff --git a/dynare++/tl/cc/pyramid_prod2.hh b/dynare++/tl/cc/pyramid_prod2.hh
index 645c2ca93..0e80a67f8 100644
--- a/dynare++/tl/cc/pyramid_prod2.hh
+++ b/dynare++/tl/cc/pyramid_prod2.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Multiplying stacked tensor columns.
 
diff --git a/dynare++/tl/cc/rfs_tensor.cc b/dynare++/tl/cc/rfs_tensor.cc
index a79057b03..aaf0e4f7a 100644
--- a/dynare++/tl/cc/rfs_tensor.cc
+++ b/dynare++/tl/cc/rfs_tensor.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "rfs_tensor.hh"
 #include "kron_prod.hh"
diff --git a/dynare++/tl/cc/rfs_tensor.hh b/dynare++/tl/cc/rfs_tensor.hh
index 3825e6cb3..bbf6997f9 100644
--- a/dynare++/tl/cc/rfs_tensor.hh
+++ b/dynare++/tl/cc/rfs_tensor.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Row-wise full symmetry tensor.
 
diff --git a/dynare++/tl/cc/sparse_tensor.cc b/dynare++/tl/cc/sparse_tensor.cc
index a2669dfcc..81cfeea69 100644
--- a/dynare++/tl/cc/sparse_tensor.cc
+++ b/dynare++/tl/cc/sparse_tensor.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "sparse_tensor.hh"
 #include "fs_tensor.hh"
diff --git a/dynare++/tl/cc/sparse_tensor.hh b/dynare++/tl/cc/sparse_tensor.hh
index c620f069e..89d3414a1 100644
--- a/dynare++/tl/cc/sparse_tensor.hh
+++ b/dynare++/tl/cc/sparse_tensor.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Sparse tensor.
 
diff --git a/dynare++/tl/cc/stack_container.cc b/dynare++/tl/cc/stack_container.cc
index b9732e03b..291d3af7d 100644
--- a/dynare++/tl/cc/stack_container.cc
+++ b/dynare++/tl/cc/stack_container.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "stack_container.hh"
 #include "pyramid_prod2.hh"
diff --git a/dynare++/tl/cc/stack_container.hh b/dynare++/tl/cc/stack_container.hh
index dded36c5a..d5800df42 100644
--- a/dynare++/tl/cc/stack_container.hh
+++ b/dynare++/tl/cc/stack_container.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Stack of containers.
 
diff --git a/dynare++/tl/cc/symmetry.cc b/dynare++/tl/cc/symmetry.cc
index bb8c87b72..f41c48c29 100644
--- a/dynare++/tl/cc/symmetry.cc
+++ b/dynare++/tl/cc/symmetry.cc
@@ -1,4 +1,22 @@
-// Copyright © 2004-2011, Ondra Kamenik
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "symmetry.hh"
 #include "permutation.hh"
diff --git a/dynare++/tl/cc/symmetry.hh b/dynare++/tl/cc/symmetry.hh
index b10d735f3..9431c23da 100644
--- a/dynare++/tl/cc/symmetry.hh
+++ b/dynare++/tl/cc/symmetry.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Symmetry.
 
diff --git a/dynare++/tl/cc/t_container.cc b/dynare++/tl/cc/t_container.cc
index ad14e1773..4e846e618 100644
--- a/dynare++/tl/cc/t_container.cc
+++ b/dynare++/tl/cc/t_container.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "t_container.hh"
 #include "kron_prod.hh"
diff --git a/dynare++/tl/cc/t_container.hh b/dynare++/tl/cc/t_container.hh
index 8ce9251f8..b81d03fc4 100644
--- a/dynare++/tl/cc/t_container.hh
+++ b/dynare++/tl/cc/t_container.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Tensor containers.
 
diff --git a/dynare++/tl/cc/t_polynomial.cc b/dynare++/tl/cc/t_polynomial.cc
index 7e501c81e..8de62a008 100644
--- a/dynare++/tl/cc/t_polynomial.cc
+++ b/dynare++/tl/cc/t_polynomial.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "t_polynomial.hh"
 #include "kron_prod.hh"
diff --git a/dynare++/tl/cc/t_polynomial.hh b/dynare++/tl/cc/t_polynomial.hh
index efd95dac2..8a876ae9f 100644
--- a/dynare++/tl/cc/t_polynomial.hh
+++ b/dynare++/tl/cc/t_polynomial.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Tensor polynomial evaluation.
 
diff --git a/dynare++/tl/cc/tensor.cc b/dynare++/tl/cc/tensor.cc
index 237f36c6b..2d1c4fcc5 100644
--- a/dynare++/tl/cc/tensor.cc
+++ b/dynare++/tl/cc/tensor.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "tensor.hh"
 #include "tl_exception.hh"
diff --git a/dynare++/tl/cc/tensor.hh b/dynare++/tl/cc/tensor.hh
index 702a2418f..a4a4b1a10 100644
--- a/dynare++/tl/cc/tensor.hh
+++ b/dynare++/tl/cc/tensor.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Tensor concept.
 
diff --git a/dynare++/tl/cc/tl_exception.hh b/dynare++/tl/cc/tl_exception.hh
index fd71f9b31..19002d541 100644
--- a/dynare++/tl/cc/tl_exception.hh
+++ b/dynare++/tl/cc/tl_exception.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Exception.
 
diff --git a/dynare++/tl/cc/tl_static.cc b/dynare++/tl/cc/tl_static.cc
index 352a842a8..9804086e8 100644
--- a/dynare++/tl/cc/tl_static.cc
+++ b/dynare++/tl/cc/tl_static.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "tl_static.hh"
 #include "pascal_triangle.hh"
diff --git a/dynare++/tl/cc/tl_static.hh b/dynare++/tl/cc/tl_static.hh
index c1bc2a719..2318f6295 100644
--- a/dynare++/tl/cc/tl_static.hh
+++ b/dynare++/tl/cc/tl_static.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Tensor library static data.
 
diff --git a/dynare++/tl/cc/twod_matrix.cc b/dynare++/tl/cc/twod_matrix.cc
index afac960de..31445b3e9 100644
--- a/dynare++/tl/cc/twod_matrix.cc
+++ b/dynare++/tl/cc/twod_matrix.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "twod_matrix.hh"
 #include "tl_exception.hh"
diff --git a/dynare++/tl/cc/twod_matrix.hh b/dynare++/tl/cc/twod_matrix.hh
index 12c7502a5..7fc51be94 100644
--- a/dynare++/tl/cc/twod_matrix.hh
+++ b/dynare++/tl/cc/twod_matrix.hh
@@ -1,4 +1,22 @@
-// Copyright © 2004-2011, Ondra Kamenik
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Matrix interface.
 
diff --git a/dynare++/tl/testing/factory.cc b/dynare++/tl/testing/factory.cc
index 10fd23ef6..724eecd1c 100644
--- a/dynare++/tl/testing/factory.cc
+++ b/dynare++/tl/testing/factory.cc
@@ -1,5 +1,22 @@
-/* $Id: factory.cpp 148 2005-04-19 15:12:26Z kamenik $ */
-/* Copyright 2004, Ondra Kamenik */
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "factory.hh"
 
diff --git a/dynare++/tl/testing/factory.hh b/dynare++/tl/testing/factory.hh
index bb306837a..87007b650 100644
--- a/dynare++/tl/testing/factory.hh
+++ b/dynare++/tl/testing/factory.hh
@@ -1,5 +1,22 @@
-/* $Id: factory.h 148 2005-04-19 15:12:26Z kamenik $ */
-/* Copyright 2004, Ondra Kamenik */
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef FACTORY_H
 #define FACTORY_H
diff --git a/dynare++/tl/testing/monoms.cc b/dynare++/tl/testing/monoms.cc
index f3951c5a2..1f31e656b 100644
--- a/dynare++/tl/testing/monoms.cc
+++ b/dynare++/tl/testing/monoms.cc
@@ -1,5 +1,22 @@
-/* $Id: monoms.cpp 148 2005-04-19 15:12:26Z kamenik $ */
-/* Copyright 2004, Ondra Kamenik */
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "monoms.hh"
 #include "tl_exception.hh"
diff --git a/dynare++/tl/testing/monoms.hh b/dynare++/tl/testing/monoms.hh
index 0de3dc7f8..0c1fffe92 100644
--- a/dynare++/tl/testing/monoms.hh
+++ b/dynare++/tl/testing/monoms.hh
@@ -1,5 +1,22 @@
-/* $Id: monoms.h 148 2005-04-19 15:12:26Z kamenik $ */
-/* Copyright 2004, Ondra Kamenik */
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef MONOMS_H
 #define MONOMS_H
diff --git a/dynare++/tl/testing/tests.cc b/dynare++/tl/testing/tests.cc
index 9beb7cf69..1bce947d4 100644
--- a/dynare++/tl/testing/tests.cc
+++ b/dynare++/tl/testing/tests.cc
@@ -1,5 +1,22 @@
-/* $Id: tests.cpp 148 2005-04-19 15:12:26Z kamenik $ */
-/* Copyright 2004, Ondra Kamenik */
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include "SylvException.hh"
 #include "tl_exception.hh"
diff --git a/dynare++/utils/cc/exception.hh b/dynare++/utils/cc/exception.hh
index d2bb90f1b..a7c74c265 100644
--- a/dynare++/utils/cc/exception.hh
+++ b/dynare++/utils/cc/exception.hh
@@ -1,6 +1,22 @@
-// Copyright © 2005, Ondra Kamenik
-
-// $Id: exception.h 1367 2007-07-11 14:21:57Z kamenik $
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef OGU_EXCEPTION_H
 #define OGU_EXCEPTION_H
diff --git a/dynare++/utils/cc/int_power.cc b/dynare++/utils/cc/int_power.cc
index 1b4ed6108..f2169880c 100644
--- a/dynare++/utils/cc/int_power.cc
+++ b/dynare++/utils/cc/int_power.cc
@@ -1,3 +1,22 @@
+/*
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 int
 power(int a, int b)
 {
diff --git a/dynare++/utils/cc/int_power.hh b/dynare++/utils/cc/int_power.hh
index 40f16918c..8d6ee86fa 100644
--- a/dynare++/utils/cc/int_power.hh
+++ b/dynare++/utils/cc/int_power.hh
@@ -1,2 +1,21 @@
+/*
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 // Integer exponentiation (by squaring)
 int power(int a, int b);
diff --git a/dynare++/utils/cc/pascal_triangle.cc b/dynare++/utils/cc/pascal_triangle.cc
index 67d987ee4..d48922db0 100644
--- a/dynare++/utils/cc/pascal_triangle.cc
+++ b/dynare++/utils/cc/pascal_triangle.cc
@@ -1,3 +1,23 @@
+/*
+ * Copyright © 2004-2011 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #include "pascal_triangle.hh"
 
 #include <iostream>
diff --git a/dynare++/utils/cc/pascal_triangle.hh b/dynare++/utils/cc/pascal_triangle.hh
index cb78b9d1f..e69dd815d 100644
--- a/dynare++/utils/cc/pascal_triangle.hh
+++ b/dynare++/utils/cc/pascal_triangle.hh
@@ -1,6 +1,22 @@
-// Copyright © 2005, Ondra Kamenik
-
-// $Id: pascal_triangle.h 762 2006-05-22 13:00:07Z kamenik $
+/*
+ * Copyright © 2005 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #ifndef PASCAL_TRIANGLE_H
 #define PASCAL_TRIANGLE_H
diff --git a/dynare++/utils/cc/sthread.cc b/dynare++/utils/cc/sthread.cc
index 623b026f8..3b8eaec0d 100644
--- a/dynare++/utils/cc/sthread.cc
+++ b/dynare++/utils/cc/sthread.cc
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 #include <algorithm>
 
diff --git a/dynare++/utils/cc/sthread.hh b/dynare++/utils/cc/sthread.hh
index bd2f26c3a..a4d017056 100644
--- a/dynare++/utils/cc/sthread.hh
+++ b/dynare++/utils/cc/sthread.hh
@@ -1,4 +1,22 @@
-// Copyright 2004, Ondra Kamenik
+/*
+ * Copyright © 2004 Ondra Kamenik
+ * Copyright © 2019 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+ */
 
 // Simple threads.
 
diff --git a/license.txt b/license.txt
index a23191725..97c3e3873 100644
--- a/license.txt
+++ b/license.txt
@@ -223,17 +223,11 @@ Files: doc/dr.tex doc/bvar_a_la_sims.tex
 Copyright: 2007-2011 Sébastien Villemot
 License: GFDL-NIV-1.3+
 
-Files: dynare++/*.cc dynare++/*.hh
- dynare++/*.tex dynare++/*.mod dynare++/*.m dynare++/*.ll
- dynare++/*.yy
+Files: dynare++/*
 Copyright: 2004-2011 Ondra Kamenik
+           2019 Dynare Team
 License: GPL-3+
 
-Files: dynare++/utils/*.cc dynare++/utils/*.hh dynare++/parser/*.cc
- dynare++/parser/*.hh dynare++/parser/*.ll dynare++/parser/*.yy
-Copyright: 2004-2011 Ondra Kamenik
-License: LGPL-3+
-
 Files: m4/ax_blas.m4 m4/ax_lapack.m4
 Copyright: 2008 Steven G. Johnson <stevenj@alum.mit.edu>
 License: GPL-3+ with Autoconf exception
-- 
GitLab