From 7c07f192dc35472014d14bd46366a4be70e0a65e Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan.bastani@ens.fr> Date: Tue, 11 Oct 2011 16:48:04 +0200 Subject: [PATCH] MS-SBVAR: add missing copyright/license --- matlab/ms-sbvar/ms_mardd.m | 17 +++++++++++++++ matlab/ms-sbvar/ms_write_markov_file.m | 29 ++++++++++++++++++++++++- matlab/ms-sbvar/ms_write_mhm_input.m | 30 +++++++++++++++++++++++++- matlab/ms-sbvar/msstart2.m | 17 +++++++++++++++ matlab/ms-sbvar/msstart_setup.m | 17 +++++++++++++++ 5 files changed, 108 insertions(+), 2 deletions(-) diff --git a/matlab/ms-sbvar/ms_mardd.m b/matlab/ms-sbvar/ms_mardd.m index 744ef2d6e..66e11222b 100644 --- a/matlab/ms-sbvar/ms_mardd.m +++ b/matlab/ms-sbvar/ms_mardd.m @@ -6,6 +6,23 @@ function ms_mardd(options_) % % Tao Zha, September 1999. Quick revisions, May 2003. Final revision, September 2004. +% Copyright (C) 2011 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/>. + msstart2 % start the program in which everyhting is initialized through msstart2.m if ~options_.ms.indxestima warning(' ') diff --git a/matlab/ms-sbvar/ms_write_markov_file.m b/matlab/ms-sbvar/ms_write_markov_file.m index 2ba2d9ae0..96ccf0868 100644 --- a/matlab/ms-sbvar/ms_write_markov_file.m +++ b/matlab/ms-sbvar/ms_write_markov_file.m @@ -1,4 +1,31 @@ -function ms_write_markov_file(fname,options) +function ms_write_markov_file(fname, options) +% function ms_write_markov_file(fname, options) +% +% INPUTS +% fname: (string) name of markov file +% options: (struct) options +% +% OUTPUTS +% +% SPECIAL REQUIREMENTS +% none + +% Copyright (C) 2011 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/>. n_chains = length(options.ms.ms_chain); nvars = size(options.varobs,1); diff --git a/matlab/ms-sbvar/ms_write_mhm_input.m b/matlab/ms-sbvar/ms_write_mhm_input.m index 2debc1203..b5ec084a1 100644 --- a/matlab/ms-sbvar/ms_write_mhm_input.m +++ b/matlab/ms-sbvar/ms_write_mhm_input.m @@ -1,4 +1,32 @@ -function ms_write_mhm_input(fname,options_ms) +function ms_write_mhm_input(fname, options_ms) +% function ms_write_mhm_input(fname, options_ms) +% +% INPUTS +% fname: (string) filename +% options_ms: (struct) options +% +% OUTPUTS +% none +% +% SPECIAL REQUIREMENTS +% none + +% Copyright (C) 2011 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/>. fh = fopen(fname,'w'); diff --git a/matlab/ms-sbvar/msstart2.m b/matlab/ms-sbvar/msstart2.m index 14bcab8e3..ee3ee5452 100644 --- a/matlab/ms-sbvar/msstart2.m +++ b/matlab/ms-sbvar/msstart2.m @@ -12,6 +12,23 @@ % % February 2004 +% Copyright (C) 2011 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/>. + % ** ONLY UNDER UNIX SYSTEM %path(path,'/usr2/f1taz14/mymatlab') diff --git a/matlab/ms-sbvar/msstart_setup.m b/matlab/ms-sbvar/msstart_setup.m index 7c4219bdf..31f10ca90 100644 --- a/matlab/ms-sbvar/msstart_setup.m +++ b/matlab/ms-sbvar/msstart_setup.m @@ -1,5 +1,22 @@ %function []= msstart_setup(options_) +% Copyright (C) 2011 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/>. + % ** ONLY UNDER UNIX SYSTEM %path(path,'/usr2/f1taz14/mymatlab') -- GitLab