From 61485ab809d9a33484abf6136f05abd84da2be1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 12 Jun 2013 16:42:09 +0200 Subject: [PATCH] Fix copyright notices --- license.txt | 7 ++++++- m4/ax_gsl.m4 | 2 +- matlab/@dynDate/colon.m | 2 +- matlab/@dynDate/dynDate.m | 2 +- matlab/@dynDate/eq.m | 4 ++-- matlab/@dynDate/format.m | 2 +- matlab/@dynDate/ge.m | 4 ++-- matlab/@dynDate/gt.m | 4 ++-- matlab/@dynDate/isempty.m | 4 ++-- matlab/@dynDate/le.m | 4 ++-- matlab/@dynDate/lt.m | 2 +- matlab/@dynDate/max.m | 2 +- matlab/@dynDate/min.m | 2 +- matlab/@dynDate/minus.m | 4 ++-- matlab/@dynDate/ne.m | 2 +- matlab/@dynDate/plus.m | 4 ++-- matlab/@dynDate/subsref.m | 4 ++-- matlab/@dynDate/uminus.m | 2 +- matlab/@dynDate/uplus.m | 4 ++-- matlab/@dynDates/append.m | 2 +- matlab/@dynDates/sort.m | 2 +- matlab/@dynDates/unique.m | 2 +- matlab/@dynSeries/dynSeries.m | 2 +- matlab/@dynSeries/exp.m | 2 +- matlab/@dynSeries/extract.m | 2 +- matlab/@dynSeries/horzcat.m | 2 +- matlab/@dynSeries/isempty.m | 4 ++-- matlab/@dynSeries/log.m | 2 +- matlab/@dynSeries/minus.m | 2 +- matlab/@dynSeries/mrdivide.m | 2 +- matlab/@dynSeries/mtimes.m | 2 +- matlab/@dynSeries/numel.m | 4 ++-- matlab/@dynSeries/plus.m | 2 +- matlab/@dynSeries/private/horzcat2.m | 4 ++-- matlab/@dynSeries/qdiff.m | 4 ++-- matlab/@dynSeries/qgrowth.m | 4 ++-- matlab/@dynSeries/save.m | 21 +++++++++++++++++-- matlab/@dynSeries/subsasgn.m | 2 +- matlab/@dynSeries/subsref.m | 2 +- matlab/@dynSeries/uminus.m | 2 +- matlab/@dynSeries/ydiff.m | 2 +- matlab/@dynSeries/ygrowth.m | 4 ++-- matlab/AHessian.m | 2 +- matlab/CheckPath.m | 2 +- matlab/CutSample.m | 2 +- matlab/PosteriorIRF.m | 2 +- matlab/PosteriorIRF_core1.m | 2 +- matlab/adaptive_metropolis_hastings.m | 2 +- matlab/bvar_forecast.m | 2 +- matlab/cartesian_product_of_sets.m | 2 +- matlab/check_model.m | 2 +- matlab/check_posterior_analysis_data.m | 2 +- ...ional_variance_decomposition_mc_analysis.m | 2 +- matlab/correlation_mc_analysis.m | 2 +- matlab/cosn.m | 2 +- matlab/covariance_mc_analysis.m | 2 +- matlab/cubature_with_gaussian_weight.m | 2 +- matlab/disp_identification.m | 2 +- matlab/disp_th_moments.m | 2 +- ...splay_conditional_variance_decomposition.m | 2 +- matlab/dr_block.m | 2 +- matlab/dsge_likelihood.m | 2 +- matlab/dyn_forecast.m | 2 +- matlab/dynare.m | 2 +- matlab/dynare_estimation.m | 2 +- matlab/dynare_estimation_init.m | 2 +- matlab/dynare_identification.m | 2 +- matlab/dynare_sensitivity.m | 2 +- matlab/ep/extended_path.m | 2 +- ...solve_stochastic_perfect_foresight_model.m | 2 +- ...lve_stochastic_perfect_foresight_model_1.m | 2 +- matlab/fastgensylv.m | 16 -------------- matlab/forecast_graphs.m | 2 +- matlab/gauss_hermite_weights_and_nodes.m | 2 +- matlab/getJJ.m | 2 +- matlab/global_initialization.m | 2 +- matlab/graph_decomp.m | 2 +- matlab/gsa/filt_mc_.m | 2 +- matlab/gsa/map_ident_.m | 2 +- matlab/gsa/redform_map.m | 2 +- matlab/gsa/redform_screen.m | 2 +- matlab/gsa/stab_map_.m | 2 +- matlab/gsa/stab_map_1.m | 2 +- matlab/gsa/stab_map_2.m | 2 +- matlab/ident_bruteforce.m | 2 +- matlab/identification_analysis.m | 2 +- matlab/independent_metropolis_hastings.m | 2 +- matlab/independent_metropolis_hastings_core.m | 2 +- matlab/k_order_perturbation.m | 17 +++++++++++++++ matlab/kalman/likelihood/kalman_filter.m | 2 +- matlab/kalman/likelihood/kalman_filter_d.m | 2 +- matlab/kronecker/A_times_B_kronecker_C.m | 2 +- .../sparse_hessian_times_B_kronecker_C.m | 2 +- matlab/load_csv_file_data.m | 2 +- matlab/load_m_file_data.m | 5 ++--- matlab/load_mat_file_data.m | 5 ++--- matlab/maximize_prior_density.m | 2 +- matlab/metropolis_hastings_initialization.m | 2 +- matlab/mh_autocorrelation_function.m | 2 +- matlab/minus_logged_prior_density.m | 2 +- matlab/mode_check.m | 2 +- matlab/ms-sbvar/sbvar.m | 2 +- matlab/newrat.m | 2 +- matlab/non_linear_dsge_likelihood.m | 2 +- .../AnalyseComputationalEnvironment.m | 2 +- matlab/parallel/GiveCPUnumber.m | 2 +- .../InitializeComputationalEnvironment.m | 2 +- matlab/parallel/closeSlave.m | 2 +- matlab/parallel/dynareParallelDelete.m | 2 +- .../parallel/dynareParallelDeleteNewFiles.m | 2 +- matlab/parallel/dynareParallelDir.m | 2 +- matlab/parallel/dynareParallelGetFiles.m | 2 +- matlab/parallel/dynareParallelGetNewFiles.m | 2 +- matlab/parallel/dynareParallelListAllFiles.m | 2 +- matlab/parallel/dynareParallelMkDir.m | 2 +- matlab/parallel/dynareParallelRmDir.m | 2 +- matlab/parallel/dynareParallelSendFiles.m | 2 +- matlab/parallel/masterParallel.m | 2 +- matlab/particle/conditional_particle_filter.m | 2 +- matlab/particle/fit_gaussian_mixture.m | 18 ++++++++++++++++ matlab/particle/gaussian_densities.m | 2 +- matlab/particle/gaussian_filter_bank.m | 2 +- matlab/particle/importance_sampling.m | 18 ++++++++++++++++ .../local_state_space_iteration_2.m | 2 +- matlab/particle/measurement_equations.m | 18 ++++++++++++++++ matlab/particle/mykmeans.m | 20 +++++++++++++++++- matlab/particle/neff.m | 19 ++++++++++++++++- matlab/particle/probability.m | 18 ++++++++++++++++ matlab/particle/probability2.m | 2 +- .../particle/spherical_radial_sigma_points.m | 2 +- matlab/plot_icforecast.m | 2 +- matlab/plot_identification.m | 2 +- matlab/pm3.m | 2 +- matlab/prior_bounds.m | 2 +- matlab/priordens.m | 2 +- matlab/qr2.m | 2 +- matlab/random_walk_metropolis_hastings.m | 2 +- matlab/random_walk_metropolis_hastings_core.m | 2 +- matlab/rplot.m | 2 +- matlab/set_all_parameters.m | 2 +- ...tochastic_perfect_foresight_model_solver.m | 19 ++++++++++++++++- matlab/sim1.m | 2 +- matlab/sim1_purely_backward.m | 2 +- matlab/simul.m | 2 +- matlab/simult_.m | 2 +- matlab/step_length_correction.m | 20 +++++++++++++++++- matlab/stoch_simul.m | 2 +- matlab/stochastic_solvers.m | 2 +- matlab/thet2tau.m | 2 +- matlab/utilities/dataset/compute_acov.m | 2 +- matlab/utilities/dataset/compute_corr.m | 2 +- matlab/utilities/dataset/compute_cova.m | 2 +- matlab/utilities/dataset/compute_stdv.m | 2 +- .../utilities/dataset/describe_missing_data.m | 2 +- .../dataset/descriptive_statistics.m | 2 +- matlab/utilities/dataset/initialize_dataset.m | 2 +- matlab/utilities/doc/dynInfo.m | 2 +- matlab/utilities/doc/get_internal_doc_block.m | 2 +- matlab/utilities/general/demean.m | 2 +- matlab/utilities/general/iscellofchar.m | 2 +- matlab/utilities/general/ndim.m | 2 +- matlab/utilities/tests/dyn_assert.m | 2 +- matlab/utilities/tests/mtest.m | 2 +- matlab/variance_decomposition_mc_analysis.m | 2 +- .../block_kalman_filter.cc | 2 +- .../block_kalman_filter/block_kalman_filter.h | 2 +- mex/sources/bytecode/ErrorHandling.hh | 2 +- mex/sources/bytecode/Evaluate.cc | 19 +++++++++++++++++ mex/sources/bytecode/Evaluate.hh | 2 +- mex/sources/bytecode/Interpreter.cc | 2 +- mex/sources/bytecode/Interpreter.hh | 2 +- mex/sources/bytecode/SparseMatrix.hh | 2 +- mex/sources/bytecode/bytecode.cc | 2 +- mex/sources/dynblas.h | 2 +- mex/sources/estimation/tests/DsgeLikelihood.m | 2 +- .../k_order_perturbation/k_ord_dynare.hh | 2 +- .../kalman_steady_state.cc | 2 +- .../local_state_space_iteration_2.cc | 2 +- mex/sources/ms-sbvar/modify_for_mex.cc | 2 +- mex/sources/ordschur/ordschur.cc | 2 +- mex/sources/qzcomplex/qzcomplex.cc | 2 +- preprocessor/ConfigFile.cc | 2 +- preprocessor/DynamicModel.cc | 2 +- preprocessor/DynamicModel.hh | 2 +- preprocessor/ModelTree.cc | 2 +- preprocessor/ModelTree.hh | 2 +- preprocessor/NumericalConstants.cc | 2 +- preprocessor/NumericalConstants.hh | 2 +- preprocessor/NumericalInitialization.cc | 2 +- preprocessor/StaticModel.hh | 2 +- tests/internals/tests.m | 2 +- .../fs2000_corr_ME_steadystate.m | 2 +- 192 files changed, 403 insertions(+), 221 deletions(-) diff --git a/license.txt b/license.txt index ce63565984..2dcfdcf07d 100644 --- a/license.txt +++ b/license.txt @@ -45,7 +45,7 @@ Files: matlab/bfgsi1.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m matlab/bvar_toolbox.m matlab/partial_information/PI_gensys.m matlab/qzswitch.m matlab/qzdiv.m Copyright: 1993-2009 Christopher Sims - 2006-2011 Dynare Team + 2006-2012 Dynare Team License: GPL-3+ Files: matlab/cmaes.m @@ -53,6 +53,11 @@ Copyright: 2001-2012 Nikolaus Hansen 2012 Dynare Team License: GPL-3+ +Files: matlab/endogenous_prior.m +Copyright: 2011 Lawrence J. Christiano, Mathias Trabandt and Karl Walentin + 2013 Dynare Team +License: GPL-3+ + Files: matlab/missing/stats/normpdf.m matlab/missing/stats/gamcdf.m matlab/missing/stats/common_size.m matlab/missing/stats/chi2inv.m matlab/missing/stats/gaminv.m matlab/missing/stats/gampdf.m diff --git a/m4/ax_gsl.m4 b/m4/ax_gsl.m4 index af90668fbf..11920cdb04 100644 --- a/m4/ax_gsl.m4 +++ b/m4/ax_gsl.m4 @@ -2,7 +2,7 @@ dnl Detect GSL. dnl We don't use the official M4 macro since it relies on the script gsl-config, dnl which does not work when cross-compiling. dnl -dnl Copyright (C) 2010 Dynare Team +dnl Copyright (C) 2010-2012 Dynare Team dnl dnl This file is part of Dynare. dnl diff --git a/matlab/@dynDate/colon.m b/matlab/@dynDate/colon.m index ee260b66ab..5c6e22f668 100644 --- a/matlab/@dynDate/colon.m +++ b/matlab/@dynDate/colon.m @@ -30,7 +30,7 @@ function sp = colon(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/dynDate.m b/matlab/@dynDate/dynDate.m index f8c7108871..e6af26bb5a 100644 --- a/matlab/@dynDate/dynDate.m +++ b/matlab/@dynDate/dynDate.m @@ -43,7 +43,7 @@ function date = dynDate(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/eq.m b/matlab/@dynDate/eq.m index 0466ce542d..64367e1d94 100644 --- a/matlab/@dynDate/eq.m +++ b/matlab/@dynDate/eq.m @@ -29,7 +29,7 @@ function c = eq(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -121,4 +121,4 @@ c = isequal(a.time,b.time); %$ t(2) = dyn_assert(i2,1); %$ t(3) = dyn_assert(i3,0); %$ T = all(t); -%@eof:2 \ No newline at end of file +%@eof:2 diff --git a/matlab/@dynDate/format.m b/matlab/@dynDate/format.m index 93357196d4..df403148ae 100644 --- a/matlab/@dynDate/format.m +++ b/matlab/@dynDate/format.m @@ -27,7 +27,7 @@ function p = format(date) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/ge.m b/matlab/@dynDate/ge.m index 098988ae7e..05fa1850da 100644 --- a/matlab/@dynDate/ge.m +++ b/matlab/@dynDate/ge.m @@ -30,7 +30,7 @@ function c = ge(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -80,4 +80,4 @@ end %$ t(3) = dyn_assert(i3,0); %$ t(4) = dyn_assert(i4,1); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/@dynDate/gt.m b/matlab/@dynDate/gt.m index 4cefe3f4e1..c881b1942f 100644 --- a/matlab/@dynDate/gt.m +++ b/matlab/@dynDate/gt.m @@ -29,7 +29,7 @@ function c = gt(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -95,4 +95,4 @@ end %$ t(3) = dyn_assert(i3,0); %$ t(4) = dyn_assert(i4,0); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/@dynDate/isempty.m b/matlab/@dynDate/isempty.m index e00b262129..ee90a40e3f 100644 --- a/matlab/@dynDate/isempty.m +++ b/matlab/@dynDate/isempty.m @@ -27,7 +27,7 @@ function b = isempty(a) %! @end deftypefn %@eod: -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % @@ -56,4 +56,4 @@ b = all(isnan(a.time)) && isnan(a.freq); %$ % Test if this object is empty %$ t(1) = isempty(d); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/@dynDate/le.m b/matlab/@dynDate/le.m index b3f3dd79f3..14b198330b 100644 --- a/matlab/@dynDate/le.m +++ b/matlab/@dynDate/le.m @@ -30,7 +30,7 @@ function c = le(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -80,4 +80,4 @@ end %$ t(3) = dyn_assert(i3,1); %$ t(4) = dyn_assert(i4,0); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/@dynDate/lt.m b/matlab/@dynDate/lt.m index a2f3941c73..0aef471531 100644 --- a/matlab/@dynDate/lt.m +++ b/matlab/@dynDate/lt.m @@ -29,7 +29,7 @@ function c = lt(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/max.m b/matlab/@dynDate/max.m index daa62831f1..451c050f68 100644 --- a/matlab/@dynDate/max.m +++ b/matlab/@dynDate/max.m @@ -29,7 +29,7 @@ function c = max(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/min.m b/matlab/@dynDate/min.m index df8c0c9c31..78c7281af5 100644 --- a/matlab/@dynDate/min.m +++ b/matlab/@dynDate/min.m @@ -29,7 +29,7 @@ function c = min(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/minus.m b/matlab/@dynDate/minus.m index 3559af74dc..248cb679c9 100644 --- a/matlab/@dynDate/minus.m +++ b/matlab/@dynDate/minus.m @@ -31,7 +31,7 @@ function c = minus(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -107,4 +107,4 @@ end %$ t(4) = dyn_assert(e4,41); %$ t(4) = dyn_assert(e5,19); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/@dynDate/ne.m b/matlab/@dynDate/ne.m index 9a647839a0..d6ae7f1f1e 100644 --- a/matlab/@dynDate/ne.m +++ b/matlab/@dynDate/ne.m @@ -29,7 +29,7 @@ function c = ne(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/plus.m b/matlab/@dynDate/plus.m index 968e4e6109..e110596bd2 100644 --- a/matlab/@dynDate/plus.m +++ b/matlab/@dynDate/plus.m @@ -31,7 +31,7 @@ function c = plus(a,b) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -104,4 +104,4 @@ end %$ t(3) = dyn_assert(e3.time,d3.time); %$ t(4) = dyn_assert(e4.time,d4.time); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/@dynDate/subsref.m b/matlab/@dynDate/subsref.m index 4869831531..6186eb6f0d 100644 --- a/matlab/@dynDate/subsref.m +++ b/matlab/@dynDate/subsref.m @@ -32,7 +32,7 @@ function B = subsref(A,S) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -235,4 +235,4 @@ end %$ t(1) = dyn_assert(qq.freq,4); %$ t(2) = dyn_assert(time,[1938,4]); %$ T = all(t); -%@eof:5 \ No newline at end of file +%@eof:5 diff --git a/matlab/@dynDate/uminus.m b/matlab/@dynDate/uminus.m index 3e29d01003..814afe12ef 100644 --- a/matlab/@dynDate/uminus.m +++ b/matlab/@dynDate/uminus.m @@ -29,7 +29,7 @@ function b = uminus(a) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDate/uplus.m b/matlab/@dynDate/uplus.m index 60555f36cc..0540572157 100644 --- a/matlab/@dynDate/uplus.m +++ b/matlab/@dynDate/uplus.m @@ -29,7 +29,7 @@ function b = uplus(a) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -115,4 +115,4 @@ end %$ t(6) = dyn_assert(e6.time,[1951 1]); %$ t(7) = dyn_assert(e7.time,[2001 1]); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/@dynDates/append.m b/matlab/@dynDates/append.m index 8a64cc5f45..651b95e0a1 100644 --- a/matlab/@dynDates/append.m +++ b/matlab/@dynDates/append.m @@ -30,7 +30,7 @@ function dd = append(dd,a) %! @end deftypefn %@eod: -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDates/sort.m b/matlab/@dynDates/sort.m index a0ff995ea9..52467bfc41 100644 --- a/matlab/@dynDates/sort.m +++ b/matlab/@dynDates/sort.m @@ -28,7 +28,7 @@ function dd = sort(dd) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynDates/unique.m b/matlab/@dynDates/unique.m index b1ab9f4c40..b37292fb82 100644 --- a/matlab/@dynDates/unique.m +++ b/matlab/@dynDates/unique.m @@ -28,7 +28,7 @@ function dd = unique(dd) %! @end deftypefn %@eod: -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/dynSeries.m b/matlab/@dynSeries/dynSeries.m index 5566d3ceef..94114f868c 100644 --- a/matlab/@dynSeries/dynSeries.m +++ b/matlab/@dynSeries/dynSeries.m @@ -59,7 +59,7 @@ function ts = dynSeries(varargin) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/exp.m b/matlab/@dynSeries/exp.m index 58c4f71a5b..3690ae4bb7 100644 --- a/matlab/@dynSeries/exp.m +++ b/matlab/@dynSeries/exp.m @@ -27,7 +27,7 @@ function ts = exp(ts) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/extract.m b/matlab/@dynSeries/extract.m index a22c211f6a..547501ea6c 100644 --- a/matlab/@dynSeries/extract.m +++ b/matlab/@dynSeries/extract.m @@ -1,7 +1,7 @@ function A = extract(B,varargin) % Extract some variables from a database. -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/horzcat.m b/matlab/@dynSeries/horzcat.m index 132bf220c1..97ea8ebc60 100644 --- a/matlab/@dynSeries/horzcat.m +++ b/matlab/@dynSeries/horzcat.m @@ -39,7 +39,7 @@ function a = horzcat(varargin) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/isempty.m b/matlab/@dynSeries/isempty.m index b6f2fbb8c1..049ceb7b91 100644 --- a/matlab/@dynSeries/isempty.m +++ b/matlab/@dynSeries/isempty.m @@ -20,7 +20,7 @@ function b = isempty(A) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % @@ -39,4 +39,4 @@ function b = isempty(A) % AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr -b = isempty(A.data) && isequal(A.nobs,0) && isequal(A.vobs,0); \ No newline at end of file +b = isempty(A.data) && isequal(A.nobs,0) && isequal(A.vobs,0); diff --git a/matlab/@dynSeries/log.m b/matlab/@dynSeries/log.m index 563dfbcbb7..dd4127e9bf 100644 --- a/matlab/@dynSeries/log.m +++ b/matlab/@dynSeries/log.m @@ -26,7 +26,7 @@ function ts = log(ts) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/minus.m b/matlab/@dynSeries/minus.m index fed87a01c2..0731729f0b 100644 --- a/matlab/@dynSeries/minus.m +++ b/matlab/@dynSeries/minus.m @@ -22,7 +22,7 @@ function A = minus(B,C) %! @end deftypefn %@eod: -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/mrdivide.m b/matlab/@dynSeries/mrdivide.m index bda90a9988..cabc916364 100644 --- a/matlab/@dynSeries/mrdivide.m +++ b/matlab/@dynSeries/mrdivide.m @@ -22,7 +22,7 @@ function A = mrdivide(B,C) %! @end deftypefn %@eod: -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/mtimes.m b/matlab/@dynSeries/mtimes.m index b92c3d726c..b81cd41457 100644 --- a/matlab/@dynSeries/mtimes.m +++ b/matlab/@dynSeries/mtimes.m @@ -22,7 +22,7 @@ function A = mtimes(B,C) %! @end deftypefn %@eod: -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/numel.m b/matlab/@dynSeries/numel.m index e53acd80a0..85cd84962a 100644 --- a/matlab/@dynSeries/numel.m +++ b/matlab/@dynSeries/numel.m @@ -1,6 +1,6 @@ function n = numel(obj, varargin) -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % @@ -17,4 +17,4 @@ function n = numel(obj, varargin) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. -n = 1; \ No newline at end of file +n = 1; diff --git a/matlab/@dynSeries/plus.m b/matlab/@dynSeries/plus.m index 1cebc04ffd..9d6482c8f6 100644 --- a/matlab/@dynSeries/plus.m +++ b/matlab/@dynSeries/plus.m @@ -22,7 +22,7 @@ function A = plus(B,C) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/private/horzcat2.m b/matlab/@dynSeries/private/horzcat2.m index 28668db57a..b25728f486 100644 --- a/matlab/@dynSeries/private/horzcat2.m +++ b/matlab/@dynSeries/private/horzcat2.m @@ -39,7 +39,7 @@ function a = horzcat2(b,c) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % @@ -109,4 +109,4 @@ else a.data = [b.data, c.data]; a.time = unique(b.time.append(c.time)); end -a.nobs = size(a.data,1); \ No newline at end of file +a.nobs = size(a.data,1); diff --git a/matlab/@dynSeries/qdiff.m b/matlab/@dynSeries/qdiff.m index e6b622de77..e11dd3b5fe 100644 --- a/matlab/@dynSeries/qdiff.m +++ b/matlab/@dynSeries/qdiff.m @@ -22,7 +22,7 @@ function us = qdiff(ts) %! @end deftypefn %@eod: -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % @@ -104,4 +104,4 @@ end %$ end %$ %$ T = all(t); -%@eof:2 \ No newline at end of file +%@eof:2 diff --git a/matlab/@dynSeries/qgrowth.m b/matlab/@dynSeries/qgrowth.m index a1118f35ba..8823e70ca5 100644 --- a/matlab/@dynSeries/qgrowth.m +++ b/matlab/@dynSeries/qgrowth.m @@ -22,7 +22,7 @@ function us = qgrowth(ts) %! @end deftypefn %@eod: -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % @@ -104,4 +104,4 @@ end %$ end %$ %$ T = all(t); -%@eof:2 \ No newline at end of file +%@eof:2 diff --git a/matlab/@dynSeries/save.m b/matlab/@dynSeries/save.m index 2050661806..f2ea10a698 100644 --- a/matlab/@dynSeries/save.m +++ b/matlab/@dynSeries/save.m @@ -1,6 +1,23 @@ function save(A,basename,format) % Saves a dynSeries object on disk. - + +% Copyright (C) 2013 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/>. + if nargin<3 || isempty(format) format = 'csv'; end @@ -136,4 +153,4 @@ end %$ end %$ %$ T = all(t); -%@eof:4 \ No newline at end of file +%@eof:4 diff --git a/matlab/@dynSeries/subsasgn.m b/matlab/@dynSeries/subsasgn.m index 55e351d0b7..4eb6a2d104 100644 --- a/matlab/@dynSeries/subsasgn.m +++ b/matlab/@dynSeries/subsasgn.m @@ -8,7 +8,7 @@ function A = subsasgn(A,S,B) %! @end deftypefn %@eod: -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/subsref.m b/matlab/@dynSeries/subsref.m index 249cdbee56..a2de5cd6ca 100644 --- a/matlab/@dynSeries/subsref.m +++ b/matlab/@dynSeries/subsref.m @@ -44,7 +44,7 @@ function B = subsref(A, S) %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012, 2013 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/uminus.m b/matlab/@dynSeries/uminus.m index edbd45b04d..a8a6100f83 100644 --- a/matlab/@dynSeries/uminus.m +++ b/matlab/@dynSeries/uminus.m @@ -22,7 +22,7 @@ function A = uminus(B) %! @end deftypefn %@eod: -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/ydiff.m b/matlab/@dynSeries/ydiff.m index 5c8972ffd8..fbaa0489ce 100644 --- a/matlab/@dynSeries/ydiff.m +++ b/matlab/@dynSeries/ydiff.m @@ -23,7 +23,7 @@ function us = ydiff(ts) %! @end deftypefn %@eod: -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/@dynSeries/ygrowth.m b/matlab/@dynSeries/ygrowth.m index 626feb1624..32a7161ef1 100644 --- a/matlab/@dynSeries/ygrowth.m +++ b/matlab/@dynSeries/ygrowth.m @@ -22,7 +22,7 @@ function us = ygrowth(ts) %! @end deftypefn %@eod: -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % @@ -138,4 +138,4 @@ end %$ end %$ %$ T = all(t); -%@eof:3 \ No newline at end of file +%@eof:3 diff --git a/matlab/AHessian.m b/matlab/AHessian.m index 02cd7f0a3f..2999ce7159 100644 --- a/matlab/AHessian.m +++ b/matlab/AHessian.m @@ -8,7 +8,7 @@ function [AHess, DLIK, LIK] = AHessian(T,R,Q,H,P,Y,DT,DYss,DOm,DH,DP,start,mf,ka % NOTE: the derivative matrices (DT,DR ...) are 3-dim. arrays with last % dimension equal to the number of structural parameters -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/CheckPath.m b/matlab/CheckPath.m index fde154c9af..7e6c89f811 100644 --- a/matlab/CheckPath.m +++ b/matlab/CheckPath.m @@ -11,7 +11,7 @@ function DirectoryName = CheckPath(type,dname) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2005-2011 Dynare Team +% Copyright (C) 2005-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/CutSample.m b/matlab/CutSample.m index 5caf2237dc..cc166a5f07 100644 --- a/matlab/CutSample.m +++ b/matlab/CutSample.m @@ -14,7 +14,7 @@ function CutSample(M_, options_, estim_params_) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2005-2011 Dynare Team +% Copyright (C) 2005-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/PosteriorIRF.m b/matlab/PosteriorIRF.m index b452931717..42e11640a7 100644 --- a/matlab/PosteriorIRF.m +++ b/matlab/PosteriorIRF.m @@ -16,7 +16,7 @@ function PosteriorIRF(type) % functions associated with it(the _core1 and _core2). % See also the comments random_walk_metropolis_hastings.m funtion. -% Copyright (C) 2006-2012 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/PosteriorIRF_core1.m b/matlab/PosteriorIRF_core1.m index a08efa3675..20294afa2f 100644 --- a/matlab/PosteriorIRF_core1.m +++ b/matlab/PosteriorIRF_core1.m @@ -22,7 +22,7 @@ function myoutput=PosteriorIRF_core1(myinputs,fpar,B,whoiam, ThisMatlab) % SPECIAL REQUIREMENTS. % None. % -% Copyright (C) 2006-2012 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/adaptive_metropolis_hastings.m b/matlab/adaptive_metropolis_hastings.m index 2b0cb451a8..08edbc1d4f 100644 --- a/matlab/adaptive_metropolis_hastings.m +++ b/matlab/adaptive_metropolis_hastings.m @@ -34,7 +34,7 @@ function record=adaptive_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv,mh % Then the comments write here can be used for all the other pairs of % parallel functions and also for management funtions. -% Copyright (C) 2006-2011 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/bvar_forecast.m b/matlab/bvar_forecast.m index 3ce2883cde..3ee4aad953 100644 --- a/matlab/bvar_forecast.m +++ b/matlab/bvar_forecast.m @@ -11,7 +11,7 @@ function bvar_forecast(nlags) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2007-2012 Dynare Team +% Copyright (C) 2007-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/cartesian_product_of_sets.m b/matlab/cartesian_product_of_sets.m index 8781a7e604..8901886ff4 100644 --- a/matlab/cartesian_product_of_sets.m +++ b/matlab/cartesian_product_of_sets.m @@ -31,7 +31,7 @@ function cprod = cartesian_product_of_sets(varargin) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/check_model.m b/matlab/check_model.m index 8ab34e3931..3edf7b7462 100644 --- a/matlab/check_model.m +++ b/matlab/check_model.m @@ -1,6 +1,6 @@ function check_model(DynareModel) -% Copyright (C) 2005-2011 Dynare Team +% Copyright (C) 2005-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/check_posterior_analysis_data.m b/matlab/check_posterior_analysis_data.m index f3f7a66150..96c9e78aee 100644 --- a/matlab/check_posterior_analysis_data.m +++ b/matlab/check_posterior_analysis_data.m @@ -1,6 +1,6 @@ function [info,description] = check_posterior_analysis_data(type,M_) -% Copyright (C) 2008-2009 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/conditional_variance_decomposition_mc_analysis.m b/matlab/conditional_variance_decomposition_mc_analysis.m index e896f10a7b..0042398001 100644 --- a/matlab/conditional_variance_decomposition_mc_analysis.m +++ b/matlab/conditional_variance_decomposition_mc_analysis.m @@ -3,7 +3,7 @@ function oo_ = ... % This function analyses the (posterior or prior) distribution of the % endogenous conditional variance decomposition. -% Copyright (C) 2009-2010 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/correlation_mc_analysis.m b/matlab/correlation_mc_analysis.m index 3625955da0..4654b50bd5 100644 --- a/matlab/correlation_mc_analysis.m +++ b/matlab/correlation_mc_analysis.m @@ -2,7 +2,7 @@ function oo_ = correlation_mc_analysis(SampleSize,type,dname,fname,vartan,nvar,v % This function analyses the (posterior or prior) distribution of the % endogenous variables correlation function. -% Copyright (C) 2008-2009 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/cosn.m b/matlab/cosn.m index 216efd1938..8fcf7fb79f 100644 --- a/matlab/cosn.m +++ b/matlab/cosn.m @@ -7,7 +7,7 @@ function [co, b, yhat] = cosn(H); % Not the same as multiple correlation coefficient since the means are not % zero % -% Copyright (C) 2008-2011 Dynare Team +% Copyright (C) 2008-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/covariance_mc_analysis.m b/matlab/covariance_mc_analysis.m index b35060e402..a24ec665e2 100644 --- a/matlab/covariance_mc_analysis.m +++ b/matlab/covariance_mc_analysis.m @@ -2,7 +2,7 @@ function oo_ = covariance_mc_analysis(NumberOfSimulations,type,dname,fname,varta % This function analyses the (posterior or prior) distribution of the % endogenous variables covariance matrix. -% Copyright (C) 2008-2009 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/cubature_with_gaussian_weight.m b/matlab/cubature_with_gaussian_weight.m index d62cc74cf7..032ed196fb 100644 --- a/matlab/cubature_with_gaussian_weight.m +++ b/matlab/cubature_with_gaussian_weight.m @@ -34,7 +34,7 @@ function [nodes, weights] = cubature_with_gaussian_weight(d,n,method) %! @end deftypefn %@eod: -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/disp_identification.m b/matlab/disp_identification.m index ccc62ced77..0badae9767 100644 --- a/matlab/disp_identification.m +++ b/matlab/disp_identification.m @@ -1,6 +1,6 @@ function disp_identification(pdraws, idemodel, idemoments, name, advanced) -% Copyright (C) 2008-2011 Dynare Team +% Copyright (C) 2008-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/disp_th_moments.m b/matlab/disp_th_moments.m index cf3397a646..6db80e8394 100644 --- a/matlab/disp_th_moments.m +++ b/matlab/disp_th_moments.m @@ -1,7 +1,7 @@ function disp_th_moments(dr,var_list) % Display theoretical moments of variables -% Copyright (C) 2001-2011 Dynare Team +% Copyright (C) 2001-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/display_conditional_variance_decomposition.m b/matlab/display_conditional_variance_decomposition.m index ed4f334fce..d0b2e65369 100644 --- a/matlab/display_conditional_variance_decomposition.m +++ b/matlab/display_conditional_variance_decomposition.m @@ -16,7 +16,7 @@ function oo_ = display_conditional_variance_decomposition(Steps, SubsetOfVariabl % [1] The covariance matrix of the state innovations needs to be diagonal. % [2] In this version, absence of measurement errors is assumed... -% Copyright (C) 2010-2012 Dynare Team +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dr_block.m b/matlab/dr_block.m index 5c9c1b2167..fd63743bfe 100644 --- a/matlab/dr_block.m +++ b/matlab/dr_block.m @@ -33,7 +33,7 @@ function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_) % none. % -% Copyright (C) 2010-2012 Dynare Team +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dsge_likelihood.m b/matlab/dsge_likelihood.m index 7f52229b8f..225993af05 100644 --- a/matlab/dsge_likelihood.m +++ b/matlab/dsge_likelihood.m @@ -111,7 +111,7 @@ function [fval,DLIK,Hess,exit_flag,ys,trend_coeff,info,Model,DynareOptions,Bayes %! @end deftypefn %@eod: -% Copyright (C) 2004-2012 Dynare Team +% Copyright (C) 2004-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dyn_forecast.m b/matlab/dyn_forecast.m index 1804b9a678..bea68db53b 100644 --- a/matlab/dyn_forecast.m +++ b/matlab/dyn_forecast.m @@ -16,7 +16,7 @@ function info = dyn_forecast(var_list,task) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2003-2011 Dynare Team +% Copyright (C) 2003-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dynare.m b/matlab/dynare.m index 56d4a6dc67..acf6c43d29 100644 --- a/matlab/dynare.m +++ b/matlab/dynare.m @@ -16,7 +16,7 @@ function dynare(fname, varargin) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2001-2012 Dynare Team +% Copyright (C) 2001-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dynare_estimation.m b/matlab/dynare_estimation.m index eb33130ad9..4627a54b24 100644 --- a/matlab/dynare_estimation.m +++ b/matlab/dynare_estimation.m @@ -11,7 +11,7 @@ function dynare_estimation(var_list,dname) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2003-2012 Dynare Team +% Copyright (C) 2003-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m index bf9a7a2921..14daf90405 100644 --- a/matlab/dynare_estimation_init.m +++ b/matlab/dynare_estimation_init.m @@ -18,7 +18,7 @@ function [dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_, fake] = % SPECIAL REQUIREMENTS % none -% Copyright (C) 2003-2012 Dynare Team +% Copyright (C) 2003-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dynare_identification.m b/matlab/dynare_identification.m index 9703de9170..47d6133fa3 100644 --- a/matlab/dynare_identification.m +++ b/matlab/dynare_identification.m @@ -19,7 +19,7 @@ function [pdraws, TAU, GAM, LRE, gp, H, JJ] = dynare_identification(options_iden % main % -% Copyright (C) 2010-2012 Dynare Team +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/dynare_sensitivity.m b/matlab/dynare_sensitivity.m index e098db41d9..719cbf02b8 100644 --- a/matlab/dynare_sensitivity.m +++ b/matlab/dynare_sensitivity.m @@ -4,7 +4,7 @@ function x0=dynare_sensitivity(options_gsa) % Reference: % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006. -% Copyright (C) 2008-2011 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/ep/extended_path.m b/matlab/ep/extended_path.m index 7782a53d31..981d847068 100644 --- a/matlab/ep/extended_path.m +++ b/matlab/ep/extended_path.m @@ -14,7 +14,7 @@ function time_series = extended_path(initial_conditions,sample_size) % % SPECIAL REQUIREMENTS -% Copyright (C) 2009-2012 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model.m b/matlab/ep/solve_stochastic_perfect_foresight_model.m index d498e5586d..12b8b37cf9 100644 --- a/matlab/ep/solve_stochastic_perfect_foresight_model.m +++ b/matlab/ep/solve_stochastic_perfect_foresight_model.m @@ -1,6 +1,6 @@ function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model(endo_simul,exo_simul,pfm,nnodes,order) -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m index 54184ef106..f732792e5d 100644 --- a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m +++ b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m @@ -1,6 +1,6 @@ function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model_1(endo_simul,exo_simul,pfm,nnodes,order) -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/fastgensylv.m b/matlab/fastgensylv.m index 40166673b5..332e46f282 100644 --- a/matlab/fastgensylv.m +++ b/matlab/fastgensylv.m @@ -111,19 +111,3 @@ end % % SPECIAL REQUIREMENTS % none. -% Copyright (C) 1996-2012 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/>. diff --git a/matlab/forecast_graphs.m b/matlab/forecast_graphs.m index 3731ad3dbe..f95b77541d 100644 --- a/matlab/forecast_graphs.m +++ b/matlab/forecast_graphs.m @@ -1,6 +1,6 @@ function forecast_graphs(var_list) -% Copyright (C) 2008-2012 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gauss_hermite_weights_and_nodes.m b/matlab/gauss_hermite_weights_and_nodes.m index 40287cb715..70d5abae44 100644 --- a/matlab/gauss_hermite_weights_and_nodes.m +++ b/matlab/gauss_hermite_weights_and_nodes.m @@ -31,7 +31,7 @@ function [nodes,weights] = gauss_hermite_weights_and_nodes(n) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/getJJ.m b/matlab/getJJ.m index fab0f0d992..1facc956b9 100644 --- a/matlab/getJJ.m +++ b/matlab/getJJ.m @@ -1,6 +1,6 @@ function [JJ, H, gam, gp, dA, dOm, dYss] = getJJ(A, B, M_,oo_,options_,kronflag,indx,indexo,mf,nlags,useautocorr) -% Copyright (C) 2010-2011 Dynare Team +% Copyright (C) 2010-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/global_initialization.m b/matlab/global_initialization.m index b4938047a9..4d73624bf3 100644 --- a/matlab/global_initialization.m +++ b/matlab/global_initialization.m @@ -11,7 +11,7 @@ function global_initialization() % SPECIAL REQUIREMENTS % none -% Copyright (C) 2003-2012 Dynare Team +% Copyright (C) 2003-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/graph_decomp.m b/matlab/graph_decomp.m index 7afc3d7758..f69c8d8332 100644 --- a/matlab/graph_decomp.m +++ b/matlab/graph_decomp.m @@ -1,7 +1,7 @@ function []=graph_decomp(z,shock_names,endo_names,i_var,initial_date,DynareModel,DynareOptions) %function []=graph_decomp(z,varlist,initial_period,freq) -% Copyright (C) 2010-2011 Dynare Team +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gsa/filt_mc_.m b/matlab/gsa/filt_mc_.m index 5b35e919f2..5ced8be595 100644 --- a/matlab/gsa/filt_mc_.m +++ b/matlab/gsa/filt_mc_.m @@ -16,7 +16,7 @@ function [rmse_MC, ixx] = filt_mc_(OutDir,options_gsa_,dataset_) % Reference: % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006. -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gsa/map_ident_.m b/matlab/gsa/map_ident_.m index 4ca2026232..591c547c2c 100644 --- a/matlab/gsa/map_ident_.m +++ b/matlab/gsa/map_ident_.m @@ -1,6 +1,6 @@ function map_ident_(OutputDirectoryName,opt_gsa) -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gsa/redform_map.m b/matlab/gsa/redform_map.m index d856070664..eb6c8e0cf5 100644 --- a/matlab/gsa/redform_map.m +++ b/matlab/gsa/redform_map.m @@ -19,7 +19,7 @@ function redform_map(dirname,options_gsa_) % Reference: % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006. -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gsa/redform_screen.m b/matlab/gsa/redform_screen.m index ef8add9f35..cdbd2d5960 100644 --- a/matlab/gsa/redform_screen.m +++ b/matlab/gsa/redform_screen.m @@ -14,7 +14,7 @@ function redform_screen(dirname, options_gsa_) % Reference: % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006. -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gsa/stab_map_.m b/matlab/gsa/stab_map_.m index 7cc03c53ac..de220c3c89 100644 --- a/matlab/gsa/stab_map_.m +++ b/matlab/gsa/stab_map_.m @@ -38,7 +38,7 @@ function x0 = stab_map_(OutputDirectoryName,opt_gsa) % Reference: % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006. -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gsa/stab_map_1.m b/matlab/gsa/stab_map_1.m index 34b6b73311..314c3ddc6b 100644 --- a/matlab/gsa/stab_map_1.m +++ b/matlab/gsa/stab_map_1.m @@ -24,7 +24,7 @@ function [proba, dproba] = stab_map_1(lpmat, ibehaviour, inonbehaviour, aname, i % Reference: % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006. -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/gsa/stab_map_2.m b/matlab/gsa/stab_map_2.m index d9363ea60e..dcb4bb6411 100644 --- a/matlab/gsa/stab_map_2.m +++ b/matlab/gsa/stab_map_2.m @@ -9,7 +9,7 @@ function stab_map_2(x,alpha2, pvalue, fnam, dirname,xparam1,figtitle) % Reference: % M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006. -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/ident_bruteforce.m b/matlab/ident_bruteforce.m index a5f6094b0c..57a54984cf 100644 --- a/matlab/ident_bruteforce.m +++ b/matlab/ident_bruteforce.m @@ -9,7 +9,7 @@ function [pars, cosnJ] = ident_bruteforce(J,n,TeX, pnames_TeX) % pars : cell array with groupf of params for each column of J for 1 to n % cosnJ : the cosn of each column with the selected group of columns -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/identification_analysis.m b/matlab/identification_analysis.m index 1e9bda93f4..07f5ce50fb 100644 --- a/matlab/identification_analysis.m +++ b/matlab/identification_analysis.m @@ -25,7 +25,7 @@ function [ide_hess, ide_moments, ide_model, ide_lre, derivatives_info, info] = i % SPECIAL REQUIREMENTS % None -% Copyright (C) 2008-2012 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/independent_metropolis_hastings.m b/matlab/independent_metropolis_hastings.m index 8e24ad1788..afbe037013 100644 --- a/matlab/independent_metropolis_hastings.m +++ b/matlab/independent_metropolis_hastings.m @@ -22,7 +22,7 @@ function record=independent_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv % PARALLEL CONTEXT % See the comment in random_walk_metropolis_hastings.m funtion. -% Copyright (C) 2006-2011 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/independent_metropolis_hastings_core.m b/matlab/independent_metropolis_hastings_core.m index 83ec21127c..e6c8c3f5e6 100644 --- a/matlab/independent_metropolis_hastings_core.m +++ b/matlab/independent_metropolis_hastings_core.m @@ -16,7 +16,7 @@ function myoutput = independent_metropolis_hastings_core(myinputs,fblck,nblck,wh % SPECIAL REQUIREMENTS. % None. % -% Copyright (C) 2006-2011 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/k_order_perturbation.m b/matlab/k_order_perturbation.m index 566a281175..96b7ba5f6b 100644 --- a/matlab/k_order_perturbation.m +++ b/matlab/k_order_perturbation.m @@ -51,3 +51,20 @@ % k_order_peturbation is a compiled MEX function. It's source code is in % dynare/mex/sources/k_order_perturbation.cc and it uses code provided by % dynare++ + +% Copyright (C) 2013 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/>. diff --git a/matlab/kalman/likelihood/kalman_filter.m b/matlab/kalman/likelihood/kalman_filter.m index e04348b78b..8dee95f061 100644 --- a/matlab/kalman/likelihood/kalman_filter.m +++ b/matlab/kalman/likelihood/kalman_filter.m @@ -71,7 +71,7 @@ function [LIK, LIKK, a, P] = kalman_filter(Y,start,last,a,P,kalman_tol,riccati_t %! @end deftypefn %@eod: -% Copyright (C) 2004-2012 Dynare Team +% Copyright (C) 2004-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/kalman/likelihood/kalman_filter_d.m b/matlab/kalman/likelihood/kalman_filter_d.m index c90f157fcc..ced4d1305d 100644 --- a/matlab/kalman/likelihood/kalman_filter_d.m +++ b/matlab/kalman/likelihood/kalman_filter_d.m @@ -31,7 +31,7 @@ function [dLIK,dlik,a,Pstar] = kalman_filter_d(Y, start, last, a, Pinf, Pstar, k % Models", S.J. Koopman and J. Durbin (2003, in Journal of Time Series % Analysis, vol. 24(1), pp. 85-98). -% Copyright (C) 2004-2012 Dynare Team +% Copyright (C) 2004-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/kronecker/A_times_B_kronecker_C.m b/matlab/kronecker/A_times_B_kronecker_C.m index e46306f0fa..8e0837d3d1 100644 --- a/matlab/kronecker/A_times_B_kronecker_C.m +++ b/matlab/kronecker/A_times_B_kronecker_C.m @@ -43,7 +43,7 @@ function [D, err] = A_times_B_kronecker_C(A,B,C,fake) %! @end deftypefn %@eod: -% Copyright (C) 1996-2011 Dynare Team +% Copyright (C) 1996-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m b/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m index 09be1b7f94..fd6059f840 100644 --- a/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m +++ b/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m @@ -45,7 +45,7 @@ function [D, err] = sparse_hessian_times_B_kronecker_C(varargin) %! @end deftypefn %@eod: -% Copyright (C) 1996-2011 Dynare Team +% Copyright (C) 1996-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/load_csv_file_data.m b/matlab/load_csv_file_data.m index 8a62ba613e..84e7f6a6f1 100644 --- a/matlab/load_csv_file_data.m +++ b/matlab/load_csv_file_data.m @@ -38,7 +38,7 @@ function [freq, init, data, varlist] = load_csv_file_data(file, withtime, withna %! @end deftypefn %@eod: -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/load_m_file_data.m b/matlab/load_m_file_data.m index 30a5d44349..31526f9861 100644 --- a/matlab/load_m_file_data.m +++ b/matlab/load_m_file_data.m @@ -32,8 +32,7 @@ function [freq,init,data,varlist,tex] = load_m_file_data(file) %! @end deftypefn %@eod: - -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % @@ -153,4 +152,4 @@ end %$ t(8) = dyn_assert(data(:,1),[1;2;3;4;5]); %$ t(9) = dyn_assert(data(:,2),[2;3;4;5;6]); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/load_mat_file_data.m b/matlab/load_mat_file_data.m index 01f3f73fb7..876cb293d8 100644 --- a/matlab/load_mat_file_data.m +++ b/matlab/load_mat_file_data.m @@ -32,8 +32,7 @@ function [freq,init,data,varlist,tex] = load_mat_file_data(file) %! @end deftypefn %@eod: - -% Copyright (C) 2012, 2013 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % @@ -125,4 +124,4 @@ end %$ t(8) = dyn_assert(data(:,1),[1;2;3;4;5]); %$ t(9) = dyn_assert(data(:,2),[2;3;4;5;6]); %$ T = all(t); -%@eof:1 \ No newline at end of file +%@eof:1 diff --git a/matlab/maximize_prior_density.m b/matlab/maximize_prior_density.m index cee0cc394c..09cb3d774b 100644 --- a/matlab/maximize_prior_density.m +++ b/matlab/maximize_prior_density.m @@ -15,7 +15,7 @@ function [xparams,lpd,hessian] = ... % lpd [double] scalar, value of the logged prior density at the mode. % hessian [double] matrix, Hessian matrix at the prior mode. -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/metropolis_hastings_initialization.m b/matlab/metropolis_hastings_initialization.m index e56ddcf5f4..3e75c78da9 100644 --- a/matlab/metropolis_hastings_initialization.m +++ b/matlab/metropolis_hastings_initialization.m @@ -23,7 +23,7 @@ function [ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck, % SPECIAL REQUIREMENTS % None. -% Copyright (C) 2006-2011 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/mh_autocorrelation_function.m b/matlab/mh_autocorrelation_function.m index a0a479c7c5..ff71f38dcd 100644 --- a/matlab/mh_autocorrelation_function.m +++ b/matlab/mh_autocorrelation_function.m @@ -18,7 +18,7 @@ function mh_autocorrelation_function(options_,M_,estim_params_,type,blck,name1,n % % SPECIAL REQUIREMENTS -% Copyright (C) 2003-2011 Dynare Team +% Copyright (C) 2003-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/minus_logged_prior_density.m b/matlab/minus_logged_prior_density.m index ef883e0050..2697a474b9 100644 --- a/matlab/minus_logged_prior_density.m +++ b/matlab/minus_logged_prior_density.m @@ -12,7 +12,7 @@ function [fval,fake_1, fake_2, exit_flag ] = minus_logged_prior_density(xparams, % OUTPUTS % f [double] value of minus the logged prior density. -% Copyright (C) 2009 Dynare Team +% Copyright (C) 2009-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/mode_check.m b/matlab/mode_check.m index 1be56baca8..fdbd290b06 100644 --- a/matlab/mode_check.m +++ b/matlab/mode_check.m @@ -40,7 +40,7 @@ function mode_check(fun,x,hessian,DynareDataset,DynareOptions,Model,EstimatedPar %! @end deftypefn %@eod: -% Copyright (C) 2003-2012 Dynare Team +% Copyright (C) 2003-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/ms-sbvar/sbvar.m b/matlab/ms-sbvar/sbvar.m index 3d14a8ae00..00762085d5 100644 --- a/matlab/ms-sbvar/sbvar.m +++ b/matlab/ms-sbvar/sbvar.m @@ -15,7 +15,7 @@ function sbvar(M, options) % none. % -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/newrat.m b/matlab/newrat.m index 7feb73af30..3ce1dbd10f 100644 --- a/matlab/newrat.m +++ b/matlab/newrat.m @@ -23,7 +23,7 @@ function [xparam1, hh, gg, fval, igg] = newrat(func0, x, analytic_derivation, ft % % varargin = list of parameters for func0 -% Copyright (C) 2004-2012 Dynare Team +% Copyright (C) 2004-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/non_linear_dsge_likelihood.m b/matlab/non_linear_dsge_likelihood.m index f7656a2cc7..326bf297e7 100644 --- a/matlab/non_linear_dsge_likelihood.m +++ b/matlab/non_linear_dsge_likelihood.m @@ -101,7 +101,7 @@ function [fval,ys,trend_coeff,exit_flag,info,Model,DynareOptions,BayesInfo,Dynar %! @end deftypefn %@eod: -% Copyright (C) 2010-2012 Dynare Team +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/AnalyseComputationalEnvironment.m b/matlab/parallel/AnalyseComputationalEnvironment.m index f3bf88c36f..6d5d074303 100644 --- a/matlab/parallel/AnalyseComputationalEnvironment.m +++ b/matlab/parallel/AnalyseComputationalEnvironment.m @@ -82,7 +82,7 @@ dynareParallelMkDir(RemoteTmpFolder,DataInput); % Currently when errors are detected execution simply stops and users can % fix configuration errors according to the error type. -% Copyright (C) 2009-2012 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/GiveCPUnumber.m b/matlab/parallel/GiveCPUnumber.m index c858d258fd..3176bb1a54 100644 --- a/matlab/parallel/GiveCPUnumber.m +++ b/matlab/parallel/GiveCPUnumber.m @@ -13,7 +13,7 @@ function [nCPU]= GiveCPUnumber (ComputerInformations, Environment) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2010-2011 Dynare Team +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/InitializeComputationalEnvironment.m b/matlab/parallel/InitializeComputationalEnvironment.m index f5bc691a95..22cc49c830 100644 --- a/matlab/parallel/InitializeComputationalEnvironment.m +++ b/matlab/parallel/InitializeComputationalEnvironment.m @@ -10,7 +10,7 @@ function InitializeComputationalEnvironment() % OUTPUTS % None % -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/closeSlave.m b/matlab/parallel/closeSlave.m index cb3c84ae4b..339d776bb2 100644 --- a/matlab/parallel/closeSlave.m +++ b/matlab/parallel/closeSlave.m @@ -15,7 +15,7 @@ function closeSlave(Parallel,TmpFolder,partial), % OUTPUTS % None % -% Copyright (C) 2010-2012 Dynare Team +% Copyright (C) 2010-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelDelete.m b/matlab/parallel/dynareParallelDelete.m index 403e40e29e..7efbff0205 100644 --- a/matlab/parallel/dynareParallelDelete.m +++ b/matlab/parallel/dynareParallelDelete.m @@ -11,7 +11,7 @@ function dynareParallelDelete(fname,pname,Parallel) % None % % -% Copyright (C) 2009-2012 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelDeleteNewFiles.m b/matlab/parallel/dynareParallelDeleteNewFiles.m index fc0975b133..e28cd77da7 100644 --- a/matlab/parallel/dynareParallelDeleteNewFiles.m +++ b/matlab/parallel/dynareParallelDeleteNewFiles.m @@ -15,7 +15,7 @@ function dynareParallelDeleteNewFiles(PRCDir,Parallel,PRCDirSnapshot,varargin) % % % -% Copyright (C) 2009-2012 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelDir.m b/matlab/parallel/dynareParallelDir.m index ac87807161..ba31dafe0a 100644 --- a/matlab/parallel/dynareParallelDir.m +++ b/matlab/parallel/dynareParallelDir.m @@ -10,7 +10,7 @@ function dirlist = dynareParallelDir(filename,PRCDir,Parallel) % OUTPUTS % o dirlist [] ... % -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelGetFiles.m b/matlab/parallel/dynareParallelGetFiles.m index 531594beed..bfffaf9728 100644 --- a/matlab/parallel/dynareParallelGetFiles.m +++ b/matlab/parallel/dynareParallelGetFiles.m @@ -14,7 +14,7 @@ function dynareParallelGetFiles(NamFileInput,PRCDir,Parallel) % % % -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelGetNewFiles.m b/matlab/parallel/dynareParallelGetNewFiles.m index be9a08f8e8..5f7eb43a3b 100644 --- a/matlab/parallel/dynareParallelGetNewFiles.m +++ b/matlab/parallel/dynareParallelGetNewFiles.m @@ -15,7 +15,7 @@ function [PRCDirSnapshot]=dynareParallelGetNewFiles(PRCDir,Parallel,PRCDirSnapsh % % % -% Copyright (C) 2009-2012 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelListAllFiles.m b/matlab/parallel/dynareParallelListAllFiles.m index 8a51b13c6f..53e893e15c 100644 --- a/matlab/parallel/dynareParallelListAllFiles.m +++ b/matlab/parallel/dynareParallelListAllFiles.m @@ -14,7 +14,7 @@ function fileList = dynareParallelListAllFiles(dirName,PRCDir,Parallel) % OUTPUTS % o fileList [] ... % -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelMkDir.m b/matlab/parallel/dynareParallelMkDir.m index 1698113a77..7ebde3819c 100644 --- a/matlab/parallel/dynareParallelMkDir.m +++ b/matlab/parallel/dynareParallelMkDir.m @@ -10,7 +10,7 @@ function dynareParallelMkDir(PRCDir,Parallel) % None % % -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelRmDir.m b/matlab/parallel/dynareParallelRmDir.m index 2bba6bc5c7..6322f9b8ad 100644 --- a/matlab/parallel/dynareParallelRmDir.m +++ b/matlab/parallel/dynareParallelRmDir.m @@ -11,7 +11,7 @@ function dynareParallelRmDir(PRCDir,Parallel) % % % -% Copyright (C) 2009-2012 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/dynareParallelSendFiles.m b/matlab/parallel/dynareParallelSendFiles.m index a1a857ae40..b1dc9cc289 100644 --- a/matlab/parallel/dynareParallelSendFiles.m +++ b/matlab/parallel/dynareParallelSendFiles.m @@ -14,7 +14,7 @@ function dynareParallelSendFiles(NamFileInput,PRCDir,Parallel) % % % -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/parallel/masterParallel.m b/matlab/parallel/masterParallel.m index df3afa0330..a7c2b70821 100644 --- a/matlab/parallel/masterParallel.m +++ b/matlab/parallel/masterParallel.m @@ -53,7 +53,7 @@ function [fOutVar,nBlockPerCPU, totCPU] = masterParallel(Parallel,fBlock,nBlock, % the number of CPU declared in "Parallel", if % the number of required threads is lower) -% Copyright (C) 2009-2012 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/particle/conditional_particle_filter.m b/matlab/particle/conditional_particle_filter.m index 7969013abc..05b725534e 100644 --- a/matlab/particle/conditional_particle_filter.m +++ b/matlab/particle/conditional_particle_filter.m @@ -37,7 +37,7 @@ function [LIK,lik] = conditional_particle_filter(ReducedForm,Y,start,DynareOptio % % NOTES % The vector "lik" is used to evaluate the jacobian of the likelihood. -% Copyright (C) 2009-2010 Dynare Team +% Copyright (C) 2009-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/particle/fit_gaussian_mixture.m b/matlab/particle/fit_gaussian_mixture.m index 2ae2089ea8..e4c8e4c5de 100644 --- a/matlab/particle/fit_gaussian_mixture.m +++ b/matlab/particle/fit_gaussian_mixture.m @@ -1,4 +1,22 @@ function [StateMu,StateSqrtP,StateWeights] = fit_gaussian_mixture(X,StateMu,StateSqrtP,StateWeights,crit,niters,check) + +% Copyright (C) 2013 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/>. + [dim,Ndata] = size(X); M = size(StateMu,2) ; if check % Ensure that covariances don't collapse diff --git a/matlab/particle/gaussian_densities.m b/matlab/particle/gaussian_densities.m index 3a770118dd..0c89f0862f 100644 --- a/matlab/particle/gaussian_densities.m +++ b/matlab/particle/gaussian_densities.m @@ -19,7 +19,7 @@ function IncrementalWeights = gaussian_densities(obs,mut_t,sqr_Pss_t_t,st_t_1,sq % % NOTES % The vector "lik" is used to evaluate the jacobian of the likelihood. -% Copyright (C) 2009-2010 Dynare Team +% Copyright (C) 2009-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/particle/gaussian_filter_bank.m b/matlab/particle/gaussian_filter_bank.m index fc0639042f..41cd6aa021 100644 --- a/matlab/particle/gaussian_filter_bank.m +++ b/matlab/particle/gaussian_filter_bank.m @@ -19,7 +19,7 @@ function [PredictedStateMean,PredictedStateVarianceSquareRoot,StateVectorMean,St % % NOTES % The vector "lik" is used to evaluate the jacobian of the likelihood. -% Copyright (C) 2009-2010 Dynare Team +% Copyright (C) 2009-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/particle/importance_sampling.m b/matlab/particle/importance_sampling.m index a0c5277576..403b6beb32 100644 --- a/matlab/particle/importance_sampling.m +++ b/matlab/particle/importance_sampling.m @@ -1,4 +1,22 @@ function State_Particles = importance_sampling(StateMuPost,StateSqrtPPost,StateWeightsPost,numP) + +% Copyright (C) 2013 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/>. + [Xdim,Gsecond] = size(StateMuPost) ; u = rand(numP,1); [Nc,comp] = histc(u, cumsum([0; StateWeightsPost])); diff --git a/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m b/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m index 778e2d075b..bc205d1803 100644 --- a/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m +++ b/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m @@ -58,7 +58,7 @@ function [y,y_] = local_state_space_iteration_2(yhat,epsilon,ghx,ghu,constant,gh %! @end deftypefn %@eod: -% Copyright (C) 2011, 2012 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/particle/measurement_equations.m b/matlab/particle/measurement_equations.m index abcc4da7c1..c00d8ebc49 100644 --- a/matlab/particle/measurement_equations.m +++ b/matlab/particle/measurement_equations.m @@ -1,4 +1,22 @@ function measure = measurement_equations(StateVectors,ReducedForm,DynareOptions) + +% Copyright (C) 2013 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/>. + mf1 = ReducedForm.mf1; ghx = ReducedForm.ghx(mf1,:); ghu = ReducedForm.ghu(mf1,:); diff --git a/matlab/particle/mykmeans.m b/matlab/particle/mykmeans.m index 0be6519366..56af5390b0 100644 --- a/matlab/particle/mykmeans.m +++ b/matlab/particle/mykmeans.m @@ -1,4 +1,22 @@ function [c,SqrtVariance,Weights] = mykmeans(x,g,init,cod) + +% Copyright (C) 2013 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,m] = size(x) ; indold = zeros(1,m) ; if cod==0 @@ -32,4 +50,4 @@ for i=1:g u = bsxfun(@minus,temp,mean(temp,2)); %temp-mean(temp,1)' ; SqrtVariance(:,:,i) = chol( (u*u')/size(temp,2) )' ; Weights(i) = size(temp,2)/m ; -end \ No newline at end of file +end diff --git a/matlab/particle/neff.m b/matlab/particle/neff.m index 84fefffacb..5251b9f17e 100644 --- a/matlab/particle/neff.m +++ b/matlab/particle/neff.m @@ -1,4 +1,21 @@ function n = neff(w) % Evaluates the criterion for resampling -n = dot(w,w); \ No newline at end of file +% Copyright (C) 2013 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 = dot(w,w); diff --git a/matlab/particle/probability.m b/matlab/particle/probability.m index c451ea762e..5d76e49ee0 100644 --- a/matlab/particle/probability.m +++ b/matlab/particle/probability.m @@ -1,4 +1,22 @@ function [prior,likelihood,C,posterior] = probability(mu,sqrtP,prior,X) + +% Copyright (C) 2013 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/>. + [dim,nov] = size(X); M = size(mu,2) ; if nargout>1 diff --git a/matlab/particle/probability2.m b/matlab/particle/probability2.m index b253ba9283..57ab65f8fb 100644 --- a/matlab/particle/probability2.m +++ b/matlab/particle/probability2.m @@ -14,7 +14,7 @@ function [density] = probability2(mu,S,X) % % NOTES % -% Copyright (C) 2009-2011 Dynare Team +% Copyright (C) 2009-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/particle/spherical_radial_sigma_points.m b/matlab/particle/spherical_radial_sigma_points.m index 70eadb1097..754caacfa5 100644 --- a/matlab/particle/spherical_radial_sigma_points.m +++ b/matlab/particle/spherical_radial_sigma_points.m @@ -15,7 +15,7 @@ function [nodes,weights] = spherical_radial_sigma_points(n) % % NOTES % -% Copyright (C) 2009-2010 Dynare Team +% Copyright (C) 2009-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/plot_icforecast.m b/matlab/plot_icforecast.m index 98ad52b399..6284769fa6 100644 --- a/matlab/plot_icforecast.m +++ b/matlab/plot_icforecast.m @@ -10,7 +10,7 @@ function plot_icforecast(Variables,periods,options_) % SPECIAL REQUIREMENTS % This routine has to be called after imcforecast.m. -% Copyright (C) 2006-2012 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/plot_identification.m b/matlab/plot_identification.m index 4cc2d3a885..b371295101 100644 --- a/matlab/plot_identification.m +++ b/matlab/plot_identification.m @@ -18,7 +18,7 @@ function plot_identification(params,idemoments,idehess,idemodel, idelre, advance % SPECIAL REQUIREMENTS % None -% Copyright (C) 2008-2012 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/pm3.m b/matlab/pm3.m index 91ec283ed6..09488aa5e3 100644 --- a/matlab/pm3.m +++ b/matlab/pm3.m @@ -4,7 +4,7 @@ function pm3(n1,n2,ifil,B,tit1,tit2,tit3,tit_tex,names1,names2,name3,DirectoryNa % See also the comment in random_walk_metropolis_hastings.m funtion. -% Copyright (C) 2007-2012 Dynare Team +% Copyright (C) 2007-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/prior_bounds.m b/matlab/prior_bounds.m index 623c792632..2d187c9a5f 100644 --- a/matlab/prior_bounds.m +++ b/matlab/prior_bounds.m @@ -48,7 +48,7 @@ function bounds = prior_bounds(bayestopt,options) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2003-2011 Dynare Team +% Copyright (C) 2003-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/priordens.m b/matlab/priordens.m index 5844d3c17c..ddc6fa92f7 100644 --- a/matlab/priordens.m +++ b/matlab/priordens.m @@ -14,7 +14,7 @@ function [logged_prior_density, dlprior, d2lprior] = priordens(x, pshape, p6, p7 % logged_prior_density [double] scalar, log of the prior density evaluated at x. % -% Copyright (C) 2003-2011 Dynare Team +% Copyright (C) 2003-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/qr2.m b/matlab/qr2.m index de429f36a6..3c84db9960 100644 --- a/matlab/qr2.m +++ b/matlab/qr2.m @@ -17,7 +17,7 @@ function [Q,R] = qr2(varargin) % SPECIAL REQUIREMENTS % None. -% Copyright (C) 2006-2009 Dynare Team +% Copyright (C) 2006-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/random_walk_metropolis_hastings.m b/matlab/random_walk_metropolis_hastings.m index 1c75e21029..f64603f69e 100644 --- a/matlab/random_walk_metropolis_hastings.m +++ b/matlab/random_walk_metropolis_hastings.m @@ -39,7 +39,7 @@ function record=random_walk_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv % Then the comments write here can be used for all the other pairs of % parallel functions and also for management funtions. -% Copyright (C) 2006-2011 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/random_walk_metropolis_hastings_core.m b/matlab/random_walk_metropolis_hastings_core.m index f47e972629..fa1b771d21 100644 --- a/matlab/random_walk_metropolis_hastings_core.m +++ b/matlab/random_walk_metropolis_hastings_core.m @@ -47,7 +47,7 @@ function myoutput = random_walk_metropolis_hastings_core(myinputs,fblck,nblck,wh % parallel functions and also for management funtions. -% Copyright (C) 2006-2011 Dynare Team +% Copyright (C) 2006-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/rplot.m b/matlab/rplot.m index d8f8c39bed..50cda1bca1 100644 --- a/matlab/rplot.m +++ b/matlab/rplot.m @@ -14,7 +14,7 @@ function rplot(s1) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2001-2009 Dynare Team +% Copyright (C) 2001-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/set_all_parameters.m b/matlab/set_all_parameters.m index 14815a3d94..656ac34edf 100644 --- a/matlab/set_all_parameters.m +++ b/matlab/set_all_parameters.m @@ -33,7 +33,7 @@ function M = set_all_parameters(xparam1,estim_params,M) %! @end deftypefn %@eod: -% Copyright (C) 2003-2012 Dynare Team +% Copyright (C) 2003-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/setup_stochastic_perfect_foresight_model_solver.m b/matlab/setup_stochastic_perfect_foresight_model_solver.m index a085db978d..616281783a 100644 --- a/matlab/setup_stochastic_perfect_foresight_model_solver.m +++ b/matlab/setup_stochastic_perfect_foresight_model_solver.m @@ -1,4 +1,21 @@ function pfm = setup_stochastic_perfect_foresight_model_solver(DynareModel,DynareOptions,DynareOutput,IntegrationMethod) + +% Copyright (C) 2013 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/>. pfm.lead_lag_incidence = DynareModel.lead_lag_incidence; pfm.ny = DynareModel.endo_nbr; @@ -82,4 +99,4 @@ if nargin>3 && DynareOptions.ep.stochastic.order otherwise error('setup_stochastic_perfect_foresight_model_solver:: Unknown integration algorithm!') end -end \ No newline at end of file +end diff --git a/matlab/sim1.m b/matlab/sim1.m index ed305dd703..35b5318b8d 100644 --- a/matlab/sim1.m +++ b/matlab/sim1.m @@ -13,7 +13,7 @@ function sim1() % SPECIAL REQUIREMENTS % None. -% Copyright (C) 1996-2012 Dynare Team +% Copyright (C) 1996-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/sim1_purely_backward.m b/matlab/sim1_purely_backward.m index a561c41959..30e6409717 100644 --- a/matlab/sim1_purely_backward.m +++ b/matlab/sim1_purely_backward.m @@ -1,7 +1,7 @@ function sim1_purely_backward() % Performs deterministic simulation of a purely backward model -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/simul.m b/matlab/simul.m index 9fbab7e418..007a0d77b8 100644 --- a/matlab/simul.m +++ b/matlab/simul.m @@ -12,7 +12,7 @@ function simul() % SPECIAL REQUIREMENTS % none -% Copyright (C) 1996-2012 Dynare Team +% Copyright (C) 1996-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/simult_.m b/matlab/simult_.m index d2b948a976..86c38cc929 100644 --- a/matlab/simult_.m +++ b/matlab/simult_.m @@ -15,7 +15,7 @@ function y_=simult_(y0,dr,ex_,iorder) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2001-2012 Dynare Team +% Copyright (C) 2001-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/step_length_correction.m b/matlab/step_length_correction.m index 7334aa2d6e..8950bc7649 100644 --- a/matlab/step_length_correction.m +++ b/matlab/step_length_correction.m @@ -1,6 +1,24 @@ function c = step_length_correction(x,scale,i) + +% Copyright (C) 2013 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/>. + if isempty(scale) c = 10^round(log10(abs(x))); else c = scale(i); - end \ No newline at end of file + end diff --git a/matlab/stoch_simul.m b/matlab/stoch_simul.m index e06b413bb9..8102750aa1 100644 --- a/matlab/stoch_simul.m +++ b/matlab/stoch_simul.m @@ -1,6 +1,6 @@ function info=stoch_simul(var_list) -% Copyright (C) 2001-2012 Dynare Team +% Copyright (C) 2001-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/stochastic_solvers.m b/matlab/stochastic_solvers.m index c420bc99cd..5e7a2ae1c5 100644 --- a/matlab/stochastic_solvers.m +++ b/matlab/stochastic_solvers.m @@ -29,7 +29,7 @@ function [dr,info] = stochastic_solvers(dr,task,M_,options_,oo_) % none. % -% Copyright (C) 1996-2012 Dynare Team +% Copyright (C) 1996-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/thet2tau.m b/matlab/thet2tau.m index 2fedb0806a..b3db2c6836 100644 --- a/matlab/thet2tau.m +++ b/matlab/thet2tau.m @@ -1,7 +1,7 @@ function tau = thet2tau(params, M_, oo_, indx, indexo, flagmoments,mf,nlags,useautocorr,iv) % -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/dataset/compute_acov.m b/matlab/utilities/dataset/compute_acov.m index a67f24e483..b1834e8542 100644 --- a/matlab/utilities/dataset/compute_acov.m +++ b/matlab/utilities/dataset/compute_acov.m @@ -36,7 +36,7 @@ function dataset_ = compute_acov(dataset_) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/dataset/compute_corr.m b/matlab/utilities/dataset/compute_corr.m index d4a81dc07b..d6469baefd 100644 --- a/matlab/utilities/dataset/compute_corr.m +++ b/matlab/utilities/dataset/compute_corr.m @@ -33,7 +33,7 @@ function dataset_ = compute_corr(dataset_) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/dataset/compute_cova.m b/matlab/utilities/dataset/compute_cova.m index cde46848f5..51f68981ec 100644 --- a/matlab/utilities/dataset/compute_cova.m +++ b/matlab/utilities/dataset/compute_cova.m @@ -30,7 +30,7 @@ function dataset_ = compute_cova(dataset_) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/dataset/compute_stdv.m b/matlab/utilities/dataset/compute_stdv.m index 2ddbbfc012..4384f83dda 100644 --- a/matlab/utilities/dataset/compute_stdv.m +++ b/matlab/utilities/dataset/compute_stdv.m @@ -30,7 +30,7 @@ function dataset_ = compute_stdv(dataset_) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/dataset/describe_missing_data.m b/matlab/utilities/dataset/describe_missing_data.m index 421e64d831..5506da2be8 100644 --- a/matlab/utilities/dataset/describe_missing_data.m +++ b/matlab/utilities/dataset/describe_missing_data.m @@ -27,7 +27,7 @@ function [i,n,s,j] = describe_missing_data(data) %! @end deftypefn %@eod: -% Copyright (C) 2008-2011 Dynare Team +% Copyright (C) 2008-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/dataset/descriptive_statistics.m b/matlab/utilities/dataset/descriptive_statistics.m index 35981246e7..d2b52292d2 100644 --- a/matlab/utilities/dataset/descriptive_statistics.m +++ b/matlab/utilities/dataset/descriptive_statistics.m @@ -45,7 +45,7 @@ function dataset_ = descriptive_statistics(dataset_,statistic,varagin) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/dataset/initialize_dataset.m b/matlab/utilities/dataset/initialize_dataset.m index 5ba5b11a55..979ad1f554 100644 --- a/matlab/utilities/dataset/initialize_dataset.m +++ b/matlab/utilities/dataset/initialize_dataset.m @@ -1,7 +1,7 @@ function dataset_ = initialize_dataset(datafile,varobs,first,nobs,transformation,prefilter,xls) % Initializes a structure describing the dataset. -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/doc/dynInfo.m b/matlab/utilities/doc/dynInfo.m index c52e8efcec..3c20d0e770 100644 --- a/matlab/utilities/doc/dynInfo.m +++ b/matlab/utilities/doc/dynInfo.m @@ -31,7 +31,7 @@ function dynInfo(fun) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/doc/get_internal_doc_block.m b/matlab/utilities/doc/get_internal_doc_block.m index d965500feb..718b2a28d9 100644 --- a/matlab/utilities/doc/get_internal_doc_block.m +++ b/matlab/utilities/doc/get_internal_doc_block.m @@ -1,7 +1,7 @@ function block = get_internal_doc_block(fname,fpath) % Extract doc sections from matlab's routine. -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/general/demean.m b/matlab/utilities/general/demean.m index 332ab100d3..4bf53aaa62 100644 --- a/matlab/utilities/general/demean.m +++ b/matlab/utilities/general/demean.m @@ -27,7 +27,7 @@ function c = demean(x) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/general/iscellofchar.m b/matlab/utilities/general/iscellofchar.m index a79c770f02..80193464e3 100644 --- a/matlab/utilities/general/iscellofchar.m +++ b/matlab/utilities/general/iscellofchar.m @@ -1,6 +1,6 @@ function a = iscellofchar(b) -% Copyright (C) 2012 Dynare Team +% Copyright (C) 2012-2013 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/general/ndim.m b/matlab/utilities/general/ndim.m index f9e2c80df3..1c4d003bb8 100644 --- a/matlab/utilities/general/ndim.m +++ b/matlab/utilities/general/ndim.m @@ -27,7 +27,7 @@ function n = ndim(x) %! @end deftypefn %@eod: -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/tests/dyn_assert.m b/matlab/utilities/tests/dyn_assert.m index c6b0170818..5311631396 100644 --- a/matlab/utilities/tests/dyn_assert.m +++ b/matlab/utilities/tests/dyn_assert.m @@ -1,7 +1,7 @@ function t = dyn_assert(A,B,tol) % This function tests the equality of two objects. -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/utilities/tests/mtest.m b/matlab/utilities/tests/mtest.m index 1354deaeda..f12e4d9fff 100644 --- a/matlab/utilities/tests/mtest.m +++ b/matlab/utilities/tests/mtest.m @@ -1,7 +1,7 @@ function check = mtest(fname,fpath) % Extract test sections from matlab's routine executes the test and report errors. -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/variance_decomposition_mc_analysis.m b/matlab/variance_decomposition_mc_analysis.m index 4b5d9a9666..b4f3f570de 100644 --- a/matlab/variance_decomposition_mc_analysis.m +++ b/matlab/variance_decomposition_mc_analysis.m @@ -2,7 +2,7 @@ function oo_ = variance_decomposition_mc_analysis(NumberOfSimulations,type,dname % This function analyses the (posterior or prior) distribution of the % endogenous variance decomposition. -% Copyright (C) 2008-2009 Dynare Team +% Copyright (C) 2008-2013 Dynare Team % % This file is part of Dynare. % diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.cc b/mex/sources/block_kalman_filter/block_kalman_filter.cc index e8741cf666..6104feb12d 100644 --- a/mex/sources/block_kalman_filter/block_kalman_filter.cc +++ b/mex/sources/block_kalman_filter/block_kalman_filter.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.h b/mex/sources/block_kalman_filter/block_kalman_filter.h index 501e3820bd..98803e0244 100644 --- a/mex/sources/block_kalman_filter/block_kalman_filter.h +++ b/mex/sources/block_kalman_filter/block_kalman_filter.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2011 Dynare Team + * Copyright (C) 2007-2012 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/bytecode/ErrorHandling.hh b/mex/sources/bytecode/ErrorHandling.hh index d7759de516..fe6047c886 100644 --- a/mex/sources/bytecode/ErrorHandling.hh +++ b/mex/sources/bytecode/ErrorHandling.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/bytecode/Evaluate.cc b/mex/sources/bytecode/Evaluate.cc index b53dc12f9c..74be26bf39 100644 --- a/mex/sources/bytecode/Evaluate.cc +++ b/mex/sources/bytecode/Evaluate.cc @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2013 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 <cstring> #include <sstream> #include <math.h> diff --git a/mex/sources/bytecode/Evaluate.hh b/mex/sources/bytecode/Evaluate.hh index 4d95b0428c..33621b7a45 100644 --- a/mex/sources/bytecode/Evaluate.hh +++ b/mex/sources/bytecode/Evaluate.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/bytecode/Interpreter.cc b/mex/sources/bytecode/Interpreter.cc index 91aeffdfcf..522f718903 100644 --- a/mex/sources/bytecode/Interpreter.cc +++ b/mex/sources/bytecode/Interpreter.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/bytecode/Interpreter.hh b/mex/sources/bytecode/Interpreter.hh index b33b608d88..4c00e9f9bd 100644 --- a/mex/sources/bytecode/Interpreter.hh +++ b/mex/sources/bytecode/Interpreter.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/bytecode/SparseMatrix.hh b/mex/sources/bytecode/SparseMatrix.hh index ef76a60b77..48e4ed1c02 100644 --- a/mex/sources/bytecode/SparseMatrix.hh +++ b/mex/sources/bytecode/SparseMatrix.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/bytecode/bytecode.cc b/mex/sources/bytecode/bytecode.cc index c56f97b9cd..56ec734fdf 100644 --- a/mex/sources/bytecode/bytecode.cc +++ b/mex/sources/bytecode/bytecode.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2012 Dynare Team + * Copyright (C) 2007-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/dynblas.h b/mex/sources/dynblas.h index ba159ae125..47e365ea0c 100644 --- a/mex/sources/dynblas.h +++ b/mex/sources/dynblas.h @@ -8,7 +8,7 @@ * and MATLAB_VERSION (for version 7.4, define it to 0x0704). * * - * Copyright (C) 2009-2011 Dynare Team + * Copyright (C) 2009-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/estimation/tests/DsgeLikelihood.m b/mex/sources/estimation/tests/DsgeLikelihood.m index 6de151c6d8..a393580653 100644 --- a/mex/sources/estimation/tests/DsgeLikelihood.m +++ b/mex/sources/estimation/tests/DsgeLikelihood.m @@ -21,7 +21,7 @@ function [fval,cost_flag,ys,trend_coeff,info] = DsgeLikelihood(xparam1,gend,data % SPECIAL REQUIREMENTS % -% Copyright (C) 2004-2010 Dynare Team +% Copyright (C) 2004-2012 Dynare Team % % This file is part of Dynare. % diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.hh b/mex/sources/k_order_perturbation/k_ord_dynare.hh index 445373cdcd..8465f8c47c 100644 --- a/mex/sources/k_order_perturbation/k_ord_dynare.hh +++ b/mex/sources/k_order_perturbation/k_ord_dynare.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2010 Dynare Team + * Copyright (C) 2008-2012 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/kalman_steady_state/kalman_steady_state.cc b/mex/sources/kalman_steady_state/kalman_steady_state.cc index 74588aad4d..8ae89372e5 100644 --- a/mex/sources/kalman_steady_state/kalman_steady_state.cc +++ b/mex/sources/kalman_steady_state/kalman_steady_state.cc @@ -1,6 +1,6 @@ /* kalman_steady_state.cc ** -** Copyright (C) 2009-2011 Dynare Team. +** Copyright (C) 2009-2013 Dynare Team. ** ** This file is part of Dynare. ** diff --git a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc index 131ad2d8ee..de78ff2e45 100644 --- a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc +++ b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 Dynare Team + * Copyright (C) 2010-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/ms-sbvar/modify_for_mex.cc b/mex/sources/ms-sbvar/modify_for_mex.cc index 5214972727..4a6d74db97 100644 --- a/mex/sources/ms-sbvar/modify_for_mex.cc +++ b/mex/sources/ms-sbvar/modify_for_mex.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 Dynare Team + * Copyright (C) 2010-2013 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/ordschur/ordschur.cc b/mex/sources/ordschur/ordschur.cc index dbd7e3b815..8289bba569 100644 --- a/mex/sources/ordschur/ordschur.cc +++ b/mex/sources/ordschur/ordschur.cc @@ -8,7 +8,7 @@ */ /* - * Copyright (C) 2010-2011 Dynare Team + * Copyright (C) 2010-2012 Dynare Team * * This file is part of Dynare. * diff --git a/mex/sources/qzcomplex/qzcomplex.cc b/mex/sources/qzcomplex/qzcomplex.cc index 4241bf5292..cfd13cfa7e 100644 --- a/mex/sources/qzcomplex/qzcomplex.cc +++ b/mex/sources/qzcomplex/qzcomplex.cc @@ -6,7 +6,7 @@ */ /* - * Copyright (C) 2010-2011 Dynare Team + * Copyright (C) 2010-2012 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/ConfigFile.cc b/preprocessor/ConfigFile.cc index 72260b34b9..0a3ef5eed0 100644 --- a/preprocessor/ConfigFile.cc +++ b/preprocessor/ConfigFile.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 Dynare Team + * Copyright (C) 2010-2013 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/DynamicModel.cc b/preprocessor/DynamicModel.cc index 2dfba144b5..6b562b48f3 100644 --- a/preprocessor/DynamicModel.cc +++ b/preprocessor/DynamicModel.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2012 Dynare Team + * Copyright (C) 2003-2013 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/DynamicModel.hh b/preprocessor/DynamicModel.hh index 63ac665f48..808dccaa71 100644 --- a/preprocessor/DynamicModel.hh +++ b/preprocessor/DynamicModel.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2012 Dynare Team + * Copyright (C) 2003-2013 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/ModelTree.cc b/preprocessor/ModelTree.cc index b6f3fd3acd..2a798017cf 100644 --- a/preprocessor/ModelTree.cc +++ b/preprocessor/ModelTree.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2012 Dynare Team + * Copyright (C) 2003-2013 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/ModelTree.hh b/preprocessor/ModelTree.hh index 4800ccc925..3a29aa90ec 100644 --- a/preprocessor/ModelTree.hh +++ b/preprocessor/ModelTree.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 Dynare Team + * Copyright (C) 2003-2013 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/NumericalConstants.cc b/preprocessor/NumericalConstants.cc index dc2bd80f2a..a2224eae4b 100644 --- a/preprocessor/NumericalConstants.cc +++ b/preprocessor/NumericalConstants.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 Dynare Team + * Copyright (C) 2003-2012 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/NumericalConstants.hh b/preprocessor/NumericalConstants.hh index cb50b0cb47..1b4be74468 100644 --- a/preprocessor/NumericalConstants.hh +++ b/preprocessor/NumericalConstants.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 Dynare Team + * Copyright (C) 2003-2012 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/NumericalInitialization.cc b/preprocessor/NumericalInitialization.cc index 1c26d74f55..4e28a4920f 100644 --- a/preprocessor/NumericalInitialization.cc +++ b/preprocessor/NumericalInitialization.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2012 Dynare Team + * Copyright (C) 2003-2013 Dynare Team * * This file is part of Dynare. * diff --git a/preprocessor/StaticModel.hh b/preprocessor/StaticModel.hh index 8f7735b32c..f193c4c4dc 100644 --- a/preprocessor/StaticModel.hh +++ b/preprocessor/StaticModel.hh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 Dynare Team + * Copyright (C) 2003-2012 Dynare Team * * This file is part of Dynare. * diff --git a/tests/internals/tests.m b/tests/internals/tests.m index 54b1398718..14b3a778c2 100644 --- a/tests/internals/tests.m +++ b/tests/internals/tests.m @@ -1,6 +1,6 @@ % matlab script for testing matlab routines. -% Copyright (C) 2011 Dynare Team +% Copyright (C) 2011-2012 Dynare Team % % This file is part of Dynare. % diff --git a/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m b/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m index 66a95e6ef6..916373feeb 100644 --- a/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m +++ b/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m @@ -1,7 +1,7 @@ % computes the steady state of fs2000 analyticaly % largely inspired by the program of F. Schorfheide -% Copyright (C) 2004-2010 Dynare Team +% Copyright (C) 2004-2013 Dynare Team % % This file is part of Dynare. % -- GitLab