From 46c6de58f7c58ac9a1a69477ab26e948f764f497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 13 Apr 2022 13:11:08 +0200 Subject: [PATCH] Use Unicode copyright symbol (in UTF-8 encoding) in all source files It is now supported by the MATLAB editor (as of R2022a). [skip ci] --- LICENSE.md | 2 +- src/@arima/arima.m | 2 +- src/@dates/dates.m | 2 +- src/@dates/disp.m | 2 +- src/@dates/display.m | 2 +- src/@dates/horzcat.m | 2 +- src/@dates/private/dates4display.m | 2 +- src/@dseries/check.m | 2 +- src/@dseries/disp.m | 2 +- src/@dseries/display.m | 2 +- src/@dseries/dseries.m | 2 +- src/@dseries/end.m | 2 +- src/@dseries/frequency.m | 2 +- src/@dseries/isempty.m | 2 +- src/@dseries/isequal.m | 2 +- src/@dseries/lastdate.m | 2 +- src/@dseries/lineartrend.m | 2 +- src/@dseries/nobs.m | 2 +- src/@dseries/numel.m | 2 +- src/@dseries/onesidedhpcycle.m | 2 +- src/@dseries/onesidedhpcycle_.m | 2 +- src/@dseries/onesidedhptrend.m | 2 +- src/@dseries/onesidedhptrend_.m | 2 +- src/@dseries/plot.m | 2 +- src/@dseries/remove.m | 2 +- src/@dseries/remove_.m | 2 +- src/@dseries/resetops.m | 2 +- src/@dseries/resettags.m | 2 +- src/@dseries/vobs.m | 2 +- src/@x13/print.m | 2 +- src/@x13/run.m | 2 +- src/@x13/x13.m | 2 +- src/mdbnomics2dseries/mdbnomics2dseries.m | 2 +- src/modules/matlab-fame-io | 2 +- src/read/load_data.m | 2 +- src/read/load_m_file_data.m | 2 +- src/read/load_xls_file_data.m | 2 +- src/utilities/convert/convert_mdbnomics.m | 2 +- src/utilities/cumulate/cumprodnan.m | 2 +- src/utilities/cumulate/cumsumnan.m | 2 +- src/utilities/file/check_file_extension.m | 2 +- src/utilities/from/from.m | 2 +- .../insert/insert_object_in_a_one_dimensional_cell_array.m | 2 +- src/utilities/is/is64bit.m | 2 +- src/utilities/is/iscellofchar.m | 2 +- src/utilities/is/isdseries.m | 2 +- src/utilities/is/isglobalinbase.m | 2 +- src/utilities/is/isstringdate.m | 2 +- src/utilities/missing/demean/demean.m | 2 +- src/utilities/missing/dims/columns.m | 2 +- src/utilities/missing/dims/rows.m | 2 +- src/utilities/missing/get_cells_id/get_cells_id.m | 2 +- src/utilities/missing/get_file_extension/get_file_extension.m | 2 +- src/utilities/missing/isoctave/isoctave.m | 2 +- .../missing/matlab_ver_less_than/matlab_ver_less_than.m | 2 +- src/utilities/missing/nanmean/nanmean.m | 2 +- src/utilities/missing/ndim/ndim.m | 2 +- .../missing/octave_ver_less_than/octave_ver_less_than.m | 2 +- .../missing/one_sided_hp_filter/one_sided_hp_filter.m | 4 ++-- src/utilities/missing/randomstring/randomstring.m | 2 +- .../user_has_octave_forge_package.m | 2 +- src/utilities/op/add_periods_to_date.m | 2 +- src/utilities/print/data2txt.m | 2 +- src/utilities/print/matrix2string.m | 2 +- src/utilities/str/default_name.m | 2 +- src/utilities/str/get_random_string.m | 2 +- src/utilities/struct/dseries2struct.m | 2 +- src/utilities/struct/struct2dseries.m | 2 +- src/utilities/variables/build_list_of_variables_with_loops.m | 2 +- src/utilities/variables/build_list_of_variables_with_regexp.m | 2 +- src/utilities/x13/select_x13_binary.m | 2 +- src/utilities/x13/setoption.m | 2 +- tests/fake/printf.m | 2 +- tests/runalltests.m | 2 +- 74 files changed, 75 insertions(+), 75 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 340a94f..21ae9c0 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -> Copyright (C) 2014-2018 Dynare Team +> Copyright © 2014-2018 Dynare Team > > The dseries and dates MATLAB/Octave classes are licensed under GNU GPL as published by > the Free Software Foundation, either version 3 of the License, or (at diff --git a/src/@arima/arima.m b/src/@arima/arima.m index 7cb4414..d6dc8da 100644 --- a/src/@arima/arima.m +++ b/src/@arima/arima.m @@ -2,7 +2,7 @@ classdef arima<handle % --*-- Unitary tests --*-- % Class for ARIMA models (interface to X13). -% Copyright (C) 2017-2022 Dynare Team +% Copyright © 2017-2022 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/@dates/dates.m b/src/@dates/dates.m index ee5d93d..fe98faa 100644 --- a/src/@dates/dates.m +++ b/src/@dates/dates.m @@ -1,6 +1,6 @@ classdef dates<handle % --*-- Unitary tests --*-- -% Copyright (C) 2014-2021 Dynare Team +% Copyright © 2014-2021 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/@dates/disp.m b/src/@dates/disp.m index 399c5d8..07f170a 100644 --- a/src/@dates/disp.m +++ b/src/@dates/disp.m @@ -8,7 +8,7 @@ function disp(o) % OUTPTS % None -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/@dates/display.m b/src/@dates/display.m index 62b8936..766fb90 100644 --- a/src/@dates/display.m +++ b/src/@dates/display.m @@ -8,7 +8,7 @@ function display(o) % OUTPTS % None -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/@dates/horzcat.m b/src/@dates/horzcat.m index 979a819..abda27b 100644 --- a/src/@dates/horzcat.m +++ b/src/@dates/horzcat.m @@ -8,7 +8,7 @@ function o = horzcat(varargin) % --*-- Unitary tests --*-- % OUTPUTS % - o [dates] object containing dates defined in varargin{:} -% Copyright (C) 2013-2021 Dynare Team +% Copyright © 2013-2021 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/@dates/private/dates4display.m b/src/@dates/private/dates4display.m index cff6548..1a7ccd5 100644 --- a/src/@dates/private/dates4display.m +++ b/src/@dates/private/dates4display.m @@ -10,7 +10,7 @@ function str = dates4display(o, name, max_number_of_elements) % --*-- Unitary te % OUTPUTS % - str [string] Representation of the dates object as a string. -% Copyright (C) 2014-2021 Dynare Team +% Copyright © 2014-2021 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/@dseries/check.m b/src/@dseries/check.m index 231ba0a..ca34f3b 100644 --- a/src/@dseries/check.m +++ b/src/@dseries/check.m @@ -1,6 +1,6 @@ function [error_flag, message] = check(o) -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/disp.m b/src/@dseries/disp.m index db6a4dc..bc9c6fa 100644 --- a/src/@dseries/disp.m +++ b/src/@dseries/disp.m @@ -8,7 +8,7 @@ function disp(o) % OUTPUTS % None -% Copyright (C) 2011-2017 Dynare Team +% Copyright © 2011-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/display.m b/src/@dseries/display.m index b534c43..a978a1b 100644 --- a/src/@dseries/display.m +++ b/src/@dseries/display.m @@ -12,7 +12,7 @@ function display(o) % Contray to the disp method, the whole dseries object is not displayed if the number of % observations is greater than 40 and if the number of variables is greater than 10. -% Copyright (C) 2011-2017 Dynare Team +% Copyright © 2011-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/dseries.m b/src/@dseries/dseries.m index aada74d..bb58198 100644 --- a/src/@dseries/dseries.m +++ b/src/@dseries/dseries.m @@ -2,7 +2,7 @@ classdef dseries<handle % --*-- Unitary tests --*-- % Class for time series. -% Copyright (C) 2013-2021 Dynare Team +% Copyright © 2013-2021 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/@dseries/end.m b/src/@dseries/end.m index 4f1835f..8f40764 100644 --- a/src/@dseries/end.m +++ b/src/@dseries/end.m @@ -10,7 +10,7 @@ function lastIndex = end(o, k, n) % OUTPUTS % - lastIndex [integer] -% Copyright (C) 2014-2017 Dynare Team +% Copyright © 2014-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/frequency.m b/src/@dseries/frequency.m index a050458..37d5a35 100644 --- a/src/@dseries/frequency.m +++ b/src/@dseries/frequency.m @@ -8,7 +8,7 @@ function f = frequency(o) % OUPUTS % - f [integer] 1 (annual), 4 (quarterly), 12 (monthly) -% Copyright (C) 2014-2017 Dynare Team +% Copyright © 2014-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/isempty.m b/src/@dseries/isempty.m index 5cca34b..840559c 100644 --- a/src/@dseries/isempty.m +++ b/src/@dseries/isempty.m @@ -8,7 +8,7 @@ function b = isempty(o) % OUTPUTS % - b [logical] -% Copyright (C) 2011-2017 Dynare Team +% Copyright © 2011-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/isequal.m b/src/@dseries/isequal.m index 4aa827c..69dc371 100644 --- a/src/@dseries/isequal.m +++ b/src/@dseries/isequal.m @@ -10,7 +10,7 @@ function b = isequal(o, p, tol) % OUTPUTS % o b [logical] -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/lastdate.m b/src/@dseries/lastdate.m index 58e1f17..410825e 100644 --- a/src/@dseries/lastdate.m +++ b/src/@dseries/lastdate.m @@ -8,7 +8,7 @@ function l = lastdate(o) % OUTPUTS % - l [dates] -% Copyright (C) 2014-2017 Dynare Team +% Copyright © 2014-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/lineartrend.m b/src/@dseries/lineartrend.m index dd5a300..7db400a 100644 --- a/src/@dseries/lineartrend.m +++ b/src/@dseries/lineartrend.m @@ -11,7 +11,7 @@ function trend = lineartrend(o) % --*-- Unitary tests --*-- % REMARKS % the generic element of the returned argument is trend(i) = i - (n+1)/2. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/nobs.m b/src/@dseries/nobs.m index 7ed966d..6779317 100644 --- a/src/@dseries/nobs.m +++ b/src/@dseries/nobs.m @@ -2,7 +2,7 @@ function s = nobs(o) % Returns the number of observations in a @dseries object. -% Copyright (C) 2014-2017 Dynare Team +% Copyright © 2014-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/numel.m b/src/@dseries/numel.m index 0b72bc0..e83587f 100644 --- a/src/@dseries/numel.m +++ b/src/@dseries/numel.m @@ -1,6 +1,6 @@ function n = numel(o, varargin) -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/onesidedhpcycle.m b/src/@dseries/onesidedhpcycle.m index fcb669c..43daf89 100644 --- a/src/@dseries/onesidedhpcycle.m +++ b/src/@dseries/onesidedhpcycle.m @@ -9,7 +9,7 @@ function o = onesidedhpcycle(o, lambda, init) % --*-- Unitary tests --*-- % OUTPUTS % - o [dseries] Cycle component of the original time series. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/onesidedhpcycle_.m b/src/@dseries/onesidedhpcycle_.m index b5593f3..0cc1dab 100644 --- a/src/@dseries/onesidedhpcycle_.m +++ b/src/@dseries/onesidedhpcycle_.m @@ -9,7 +9,7 @@ function o = onesidedhpcycle_(o, lambda, init) % --*-- Unitary tests --*-- % OUTPUTS % - o [dseries] Cycle component of the original time series. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/onesidedhptrend.m b/src/@dseries/onesidedhptrend.m index d5d56a8..75a82ca 100644 --- a/src/@dseries/onesidedhptrend.m +++ b/src/@dseries/onesidedhptrend.m @@ -9,7 +9,7 @@ function o = onesidedhptrend(o, lambda, init) % --*-- Unitary tests --*-- % OUTPUTS % - o [dseries] Trend component of the original time series. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/onesidedhptrend_.m b/src/@dseries/onesidedhptrend_.m index f4f6e1c..38458c6 100644 --- a/src/@dseries/onesidedhptrend_.m +++ b/src/@dseries/onesidedhptrend_.m @@ -9,7 +9,7 @@ function o = onesidedhptrend_(o, lambda) % --*-- Unitary tests --*-- % OUTPUTS % - o [dseries] Trend component of the original time series. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/plot.m b/src/@dseries/plot.m index 33a652c..93a9859 100644 --- a/src/@dseries/plot.m +++ b/src/@dseries/plot.m @@ -2,7 +2,7 @@ function h = plot(o, varargin) % Overloads Matlab/Octave's plot function for dseries objects. -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/remove.m b/src/@dseries/remove.m index dd6830c..0739e06 100644 --- a/src/@dseries/remove.m +++ b/src/@dseries/remove.m @@ -2,7 +2,7 @@ function o = remove(o, a) % --*-- Unitary tests --*-- % Removes a variable from a dseries object (alias for the pop method). -% Copyright (C) 2014-2017 Dynare Team +% Copyright © 2014-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/remove_.m b/src/@dseries/remove_.m index 89b427a..474ccec 100644 --- a/src/@dseries/remove_.m +++ b/src/@dseries/remove_.m @@ -2,7 +2,7 @@ function o = remove_(o, a) % --*-- Unitary tests --*-- % Removes a variable from a dseries object (alias for the pop_ method). -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/resetops.m b/src/@dseries/resetops.m index 6195515..a7e3358 100644 --- a/src/@dseries/resetops.m +++ b/src/@dseries/resetops.m @@ -2,7 +2,7 @@ function o = resetops(o, ops) % Redefine ops member. -% Copyright (C) 2017-2020 Dynare Team +% Copyright © 2017-2020 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/resettags.m b/src/@dseries/resettags.m index dc9cded..3f5ac10 100644 --- a/src/@dseries/resettags.m +++ b/src/@dseries/resettags.m @@ -2,7 +2,7 @@ function o = resettags(o, tags) % Redefine tags member. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@dseries/vobs.m b/src/@dseries/vobs.m index 3358294..8188793 100644 --- a/src/@dseries/vobs.m +++ b/src/@dseries/vobs.m @@ -8,7 +8,7 @@ function s = vobs(o) % OUTPUTS % - s [integer] scalar, number of variables in o. -% Copyright (C) 2014-2017 Dynare Team +% Copyright © 2014-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@x13/print.m b/src/@x13/print.m index 360197b..a733752 100644 --- a/src/@x13/print.m +++ b/src/@x13/print.m @@ -2,7 +2,7 @@ function basename = print(o, basename) % --*-- Unitary tests --*-- % Prints spc file. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@x13/run.m b/src/@x13/run.m index 559e982..2c79f2d 100644 --- a/src/@x13/run.m +++ b/src/@x13/run.m @@ -2,7 +2,7 @@ function run(o, basename) % Runs x13 program and saves results. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/@x13/x13.m b/src/@x13/x13.m index 23ca4d4..2d1773f 100644 --- a/src/@x13/x13.m +++ b/src/@x13/x13.m @@ -2,7 +2,7 @@ classdef x13<handle % --*-- Unitary tests --*-- % Class for X13 toolbox. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/mdbnomics2dseries/mdbnomics2dseries.m b/src/mdbnomics2dseries/mdbnomics2dseries.m index acae438..12712b3 100644 --- a/src/mdbnomics2dseries/mdbnomics2dseries.m +++ b/src/mdbnomics2dseries/mdbnomics2dseries.m @@ -10,7 +10,7 @@ function ds = mdbnomics2dseries(varargin) % --*-- Unitary tests --*-- % OUTPUTS % - ds [dseries] -% Copyright (C) 2020 Dynare Team +% Copyright © 2020 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/modules/matlab-fame-io b/src/modules/matlab-fame-io index f0a6164..fb0bea5 160000 --- a/src/modules/matlab-fame-io +++ b/src/modules/matlab-fame-io @@ -1 +1 @@ -Subproject commit f0a61644d6dcb72d9f2801d37abb8b58670b5bde +Subproject commit fb0bea588ad641fe7373065465ed6c02f21154c2 diff --git a/src/read/load_data.m b/src/read/load_data.m index 01e33b7..44e9cee 100644 --- a/src/read/load_data.m +++ b/src/read/load_data.m @@ -9,7 +9,7 @@ function [init, data, varlist, tex, ops, tags] = load_data(filename) % - varlist [cell] Names of the N variables (as strings). % - tex [cell] TeX names of the N variables. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/read/load_m_file_data.m b/src/read/load_m_file_data.m index 3c526f9..ae6efc7 100644 --- a/src/read/load_m_file_data.m +++ b/src/read/load_m_file_data.m @@ -16,7 +16,7 @@ function [freq, init, data, varlist, tex, ops, tags] = load_m_file_data(file) % % be a scalar integer and INIT__ a string like '1938M11', '1945Q3', '1973W3' or '2009A'. If these variables are not specified % default values for freq and init are 1 and dates(1,1). -% Copyright (C) 2012-2021 Dynare Team +% Copyright © 2012-2021 Dynare Team % % This file is part of Dynare. % diff --git a/src/read/load_xls_file_data.m b/src/read/load_xls_file_data.m index 5025096..a2ab026 100644 --- a/src/read/load_xls_file_data.m +++ b/src/read/load_xls_file_data.m @@ -16,7 +16,7 @@ function [freq, init, data, varlist] = load_xls_file_data(file, sheet, range) % REMARKS % The range argument is only available on windows platform (with Excel installed). -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/convert/convert_mdbnomics.m b/src/utilities/convert/convert_mdbnomics.m index c0556af..c2f550f 100644 --- a/src/utilities/convert/convert_mdbnomics.m +++ b/src/utilities/convert/convert_mdbnomics.m @@ -6,7 +6,7 @@ function ds = convert_mdbnomics(o) % OUTPUTS % - ds [dseries] -% Copyright (C) 2020-2021 Dynare Team +% Copyright © 2020-2021 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/cumulate/cumprodnan.m b/src/utilities/cumulate/cumprodnan.m index a04a6c4..4c1cc71 100644 --- a/src/utilities/cumulate/cumprodnan.m +++ b/src/utilities/cumulate/cumprodnan.m @@ -1,6 +1,6 @@ function A = cumprodnan(a) -% Copyright (C) 2016 Dynare Team +% Copyright © 2016 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/cumulate/cumsumnan.m b/src/utilities/cumulate/cumsumnan.m index 1faa3f1..466ac9d 100644 --- a/src/utilities/cumulate/cumsumnan.m +++ b/src/utilities/cumulate/cumsumnan.m @@ -1,6 +1,6 @@ function A = cumsumnan(a) -% Copyright (C) 2016 Dynare Team +% Copyright © 2016 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/file/check_file_extension.m b/src/utilities/file/check_file_extension.m index 98fd0a0..bb26e00 100644 --- a/src/utilities/file/check_file_extension.m +++ b/src/utilities/file/check_file_extension.m @@ -11,7 +11,7 @@ function b = check_file_extension(file,type) % - b [bool] -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/from/from.m b/src/utilities/from/from.m index 37938ae..6a6a761 100644 --- a/src/utilities/from/from.m +++ b/src/utilities/from/from.m @@ -1,6 +1,6 @@ function from(varargin) % --*-- Unitary tests --*-- -% Copyright (C) 2014-2018 Dynare Team +% Copyright © 2014-2018 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/insert/insert_object_in_a_one_dimensional_cell_array.m b/src/utilities/insert/insert_object_in_a_one_dimensional_cell_array.m index bfcedaa..5ec08f4 100644 --- a/src/utilities/insert/insert_object_in_a_one_dimensional_cell_array.m +++ b/src/utilities/insert/insert_object_in_a_one_dimensional_cell_array.m @@ -10,7 +10,7 @@ function one_dimensional_cell_array = insert_object_in_a_one_dimensional_cell_ar % OUTPUTS % - one_dimensional_cell_array [any] cell array with n+1 elements. -% Copyright (C) 2013-2021 Dynare Team +% Copyright © 2013-2021 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/is/is64bit.m b/src/utilities/is/is64bit.m index e25a2e4..b7ec2ee 100644 --- a/src/utilities/is/is64bit.m +++ b/src/utilities/is/is64bit.m @@ -5,7 +5,7 @@ function b = is64bit() % The test logic is the same as in dynare.m when selecting the preprocessor % flavour. -% Copyright (C) 2017-2019 Dynare Team +% Copyright © 2017-2019 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/is/iscellofchar.m b/src/utilities/is/iscellofchar.m index 0353460..e4bf44b 100644 --- a/src/utilities/is/iscellofchar.m +++ b/src/utilities/is/iscellofchar.m @@ -8,7 +8,7 @@ function a = iscellofchar(b) % OUTPUTS % - a [bool] -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/is/isdseries.m b/src/utilities/is/isdseries.m index 6d96ae3..b31c202 100644 --- a/src/utilities/is/isdseries.m +++ b/src/utilities/is/isdseries.m @@ -2,7 +2,7 @@ function B = isdseries(A) % Returns true iff ```A``` is a dseries object. -% Copyright (C) 2011-2015 Dynare Team +% Copyright © 2011-2015 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/is/isglobalinbase.m b/src/utilities/is/isglobalinbase.m index 50f9f8e..e8f23f8 100644 --- a/src/utilities/is/isglobalinbase.m +++ b/src/utilities/is/isglobalinbase.m @@ -8,7 +8,7 @@ function a = isglobalinbase(var) % OUTPUTS % - a [bool] -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/is/isstringdate.m b/src/utilities/is/isstringdate.m index d025b2f..53b46d9 100644 --- a/src/utilities/is/isstringdate.m +++ b/src/utilities/is/isstringdate.m @@ -8,7 +8,7 @@ function b = isstringdate(str) % --*-- Unitary tests --*-- % OUTPUTS % o b integer scalar, equal to 1 if str can be interpreted as a date or 0 otherwise. -% Copyright (C) 2013-2021 Dynare Team +% Copyright © 2013-2021 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/missing/demean/demean.m b/src/utilities/missing/demean/demean.m index 04b925a..4d8edad 100644 --- a/src/utilities/missing/demean/demean.m +++ b/src/utilities/missing/demean/demean.m @@ -8,7 +8,7 @@ function c = demean(x) % OUTPUTS % - c [float] T*n matrix, the demeaned matrix x. -% Copyright (C) 2011-2017 Dynare Team +% Copyright © 2011-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/missing/dims/columns.m b/src/utilities/missing/dims/columns.m index 9766c30..6dc3568 100644 --- a/src/utilities/missing/dims/columns.m +++ b/src/utilities/missing/dims/columns.m @@ -2,7 +2,7 @@ function c = columns(M) % Computes the number of columns of a matrix -% Copyright (C) 2005-2014 Dynare Team +% Copyright © 2005-2014 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/missing/dims/rows.m b/src/utilities/missing/dims/rows.m index 81c4318..77210e4 100644 --- a/src/utilities/missing/dims/rows.m +++ b/src/utilities/missing/dims/rows.m @@ -2,7 +2,7 @@ function r = rows(x) % Computes the number of rows of a matrix -% Copyright (C) 2005-2014 Dynare Team +% Copyright © 2005-2014 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/missing/get_cells_id/get_cells_id.m b/src/utilities/missing/get_cells_id/get_cells_id.m index eecd203..c31bdda 100644 --- a/src/utilities/missing/get_cells_id/get_cells_id.m +++ b/src/utilities/missing/get_cells_id/get_cells_id.m @@ -1,6 +1,6 @@ function [B,C] = get_cells_id(str,sep) -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/missing/get_file_extension/get_file_extension.m b/src/utilities/missing/get_file_extension/get_file_extension.m index ab4f155..cff2eaf 100644 --- a/src/utilities/missing/get_file_extension/get_file_extension.m +++ b/src/utilities/missing/get_file_extension/get_file_extension.m @@ -11,7 +11,7 @@ function ext = get_file_extension(file) % REMARKS % If the provided file name has no extension, the routine will return an empty array. -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/missing/isoctave/isoctave.m b/src/utilities/missing/isoctave/isoctave.m index 7f6ac8f..db1d878 100644 --- a/src/utilities/missing/isoctave/isoctave.m +++ b/src/utilities/missing/isoctave/isoctave.m @@ -2,7 +2,7 @@ function l = isoctave() % Tests if Octave is used. -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m b/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m index 9534440..1ee8a07 100644 --- a/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m +++ b/src/utilities/missing/matlab_ver_less_than/matlab_ver_less_than.m @@ -11,7 +11,7 @@ function r = matlab_ver_less_than(verstr) % REMARKS % 1. This function will fail under Octave. -% Copyright (C) 2008-2017 Dynare Team +% Copyright © 2008-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/missing/nanmean/nanmean.m b/src/utilities/missing/nanmean/nanmean.m index 632aed4..43c94dd 100644 --- a/src/utilities/missing/nanmean/nanmean.m +++ b/src/utilities/missing/nanmean/nanmean.m @@ -14,7 +14,7 @@ function y = nanmean(x, dim) % (2) Works with vector and matrices, not implemented for arrays with more % than two dimensions. -% Copyright (C) 2011-2019 Dynare Team +% Copyright © 2011-2019 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/missing/ndim/ndim.m b/src/utilities/missing/ndim/ndim.m index e532da0..a3de6bd 100644 --- a/src/utilities/missing/ndim/ndim.m +++ b/src/utilities/missing/ndim/ndim.m @@ -8,7 +8,7 @@ function n = ndim(x) % OUTPUTS % - n [integer] number of non singleton dimensions. -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/missing/octave_ver_less_than/octave_ver_less_than.m b/src/utilities/missing/octave_ver_less_than/octave_ver_less_than.m index 0bf1a2a..dc5291d 100644 --- a/src/utilities/missing/octave_ver_less_than/octave_ver_less_than.m +++ b/src/utilities/missing/octave_ver_less_than/octave_ver_less_than.m @@ -15,7 +15,7 @@ function r = octave_ver_less_than(verstr) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2008-2019 Dynare Team +% Copyright © 2008-2019 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/missing/one_sided_hp_filter/one_sided_hp_filter.m b/src/utilities/missing/one_sided_hp_filter/one_sided_hp_filter.m index 6f7ebf8..8d7f97d 100644 --- a/src/utilities/missing/one_sided_hp_filter/one_sided_hp_filter.m +++ b/src/utilities/missing/one_sided_hp_filter/one_sided_hp_filter.m @@ -37,8 +37,8 @@ function [ytrend,ycycle]=one_sided_hp_filter(y,lambda,x_user,P_user,discard) % Time Series Analysis, with the exception of H, which is equivalent to his H'. -% Copyright (C) 200?-2015 Alexander Meyer-Gohde -% Copyright (C) 2015-2017 Dynare Team +% Copyright © 200?-2015 Alexander Meyer-Gohde +% Copyright © 2015-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/missing/randomstring/randomstring.m b/src/utilities/missing/randomstring/randomstring.m index 818c1d4..7d1c45d 100644 --- a/src/utilities/missing/randomstring/randomstring.m +++ b/src/utilities/missing/randomstring/randomstring.m @@ -2,7 +2,7 @@ function str = randomstring(len) % Returns a string of length len, begining with a letter. -% Copyright (C) 2016-2017 Dynare Team +% Copyright © 2016-2017 Dynare Team % % This code is part of dseries toolbox. % diff --git a/src/utilities/missing/user_has_octave_forge_package/user_has_octave_forge_package.m b/src/utilities/missing/user_has_octave_forge_package/user_has_octave_forge_package.m index 5b2620c..19e8319 100644 --- a/src/utilities/missing/user_has_octave_forge_package/user_has_octave_forge_package.m +++ b/src/utilities/missing/user_has_octave_forge_package/user_has_octave_forge_package.m @@ -1,7 +1,7 @@ function [hasPackage] = user_has_octave_forge_package(package) % Checks for the availability of a given Octave Forge package -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/op/add_periods_to_date.m b/src/utilities/op/add_periods_to_date.m index 6541218..57887d5 100644 --- a/src/utilities/op/add_periods_to_date.m +++ b/src/utilities/op/add_periods_to_date.m @@ -2,7 +2,7 @@ function time = add_periods_to_date(time, freq, p) % --*-- Unitary tests --*-- % Adds a p periods (p can be negative) to a date (or a set of dates) characterized by array time and frequency freq. -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/print/data2txt.m b/src/utilities/print/data2txt.m index 434c365..e01346e 100644 --- a/src/utilities/print/data2txt.m +++ b/src/utilities/print/data2txt.m @@ -2,7 +2,7 @@ function str= data2txt(y) % Prints a one dimensional array. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/print/matrix2string.m b/src/utilities/print/matrix2string.m index 2764af1..6987558 100644 --- a/src/utilities/print/matrix2string.m +++ b/src/utilities/print/matrix2string.m @@ -1,6 +1,6 @@ function String = matrix2string(Matrix, withsquarebrackets) -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/str/default_name.m b/src/utilities/str/default_name.m index 6b1fb0b..9928529 100644 --- a/src/utilities/str/default_name.m +++ b/src/utilities/str/default_name.m @@ -1,6 +1,6 @@ function names = default_name(dim) -% Copyright (C) 2013-2017 Dynare Team +% Copyright © 2013-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/str/get_random_string.m b/src/utilities/str/get_random_string.m index b850d7f..b35ff04 100644 --- a/src/utilities/str/get_random_string.m +++ b/src/utilities/str/get_random_string.m @@ -8,7 +8,7 @@ function s = get_random_string(n); % OUTPUTS % - s [string] random string of length n. -% Copyright (C) 2012-2017 Dynare Team +% Copyright © 2012-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/struct/dseries2struct.m b/src/utilities/struct/dseries2struct.m index 5e93a81..e2feb50 100644 --- a/src/utilities/struct/dseries2struct.m +++ b/src/utilities/struct/dseries2struct.m @@ -2,7 +2,7 @@ function p = dseries2struct(o) % Converts dseries object to structure. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/struct/struct2dseries.m b/src/utilities/struct/struct2dseries.m index 0d502fc..e730885 100644 --- a/src/utilities/struct/struct2dseries.m +++ b/src/utilities/struct/struct2dseries.m @@ -2,7 +2,7 @@ function o = struct2dseries(s) % Converts structure to dseries object. -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/variables/build_list_of_variables_with_loops.m b/src/utilities/variables/build_list_of_variables_with_loops.m index d251749..8722733 100644 --- a/src/utilities/variables/build_list_of_variables_with_loops.m +++ b/src/utilities/variables/build_list_of_variables_with_loops.m @@ -1,6 +1,6 @@ function list_of_variables = build_list_of_variables_with_loops(o_list_of_variables, idArobase, VariableName, list_of_variables) -% Copyright (C) 2016-2017 Dynare Team +% Copyright © 2016-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/variables/build_list_of_variables_with_regexp.m b/src/utilities/variables/build_list_of_variables_with_regexp.m index 03f0662..6dfa581 100644 --- a/src/utilities/variables/build_list_of_variables_with_regexp.m +++ b/src/utilities/variables/build_list_of_variables_with_regexp.m @@ -1,6 +1,6 @@ function list_of_variables = build_list_of_variables_with_regexp(o_list_of_variables, VariableName, wildcardparameterflag) -% Copyright (C) 2016-2017 Dynare Team +% Copyright © 2016-2017 Dynare Team % % This file is part of Dynare. % diff --git a/src/utilities/x13/select_x13_binary.m b/src/utilities/x13/select_x13_binary.m index aacb643..ad4bf6c 100644 --- a/src/utilities/x13/select_x13_binary.m +++ b/src/utilities/x13/select_x13_binary.m @@ -4,7 +4,7 @@ function x13_binary = select_x13_binary(warn_only) % error (unless warn_only=true, in which case it returns an empty string and % displays a warning). -% Copyright (C) 2017-2019 Dynare Team +% Copyright © 2017-2019 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/src/utilities/x13/setoption.m b/src/utilities/x13/setoption.m index 13f1f50..1de0414 100644 --- a/src/utilities/x13/setoption.m +++ b/src/utilities/x13/setoption.m @@ -1,6 +1,6 @@ function command = setoption(command, optname, optvalue) -% Copyright (C) 2017 Dynare Team +% Copyright © 2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/tests/fake/printf.m b/tests/fake/printf.m index e09d8aa..1609905 100644 --- a/tests/fake/printf.m +++ b/tests/fake/printf.m @@ -1,4 +1,4 @@ -% Copyright (C) 2015-2017 Dynare Team +% Copyright © 2015-2017 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/tests/runalltests.m b/tests/runalltests.m index 288648c..107be58 100644 --- a/tests/runalltests.m +++ b/tests/runalltests.m @@ -1,6 +1,6 @@ function runalltests() -% Copyright (C) 2015-2019 Dynare Team +% Copyright © 2015-2019 Dynare Team % % This code is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by -- GitLab