From 29cfb00e1383286508cc51a6ad2925d7900e7f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Scylla=29?= <stephane.adjemian@univ-lemans.fr> Date: Fri, 9 Sep 2011 16:27:28 +0200 Subject: [PATCH] Changed headers. --- matlab/@dynSeries/exp.m | 3 ++- matlab/@dynSeries/getName.m | 22 +++++++++++++++++++++- matlab/@dynSeries/getTexName.m | 22 +++++++++++++++++++++- matlab/@dynSeries/log.m | 14 +++++++------- 4 files changed, 51 insertions(+), 10 deletions(-) diff --git a/matlab/@dynSeries/exp.m b/matlab/@dynSeries/exp.m index 744a884772..dce4d513d0 100644 --- a/matlab/@dynSeries/exp.m +++ b/matlab/@dynSeries/exp.m @@ -28,7 +28,6 @@ function ts = exp(ts) %@eod: % Copyright (C) 2011 Dynare Team -% stephane DOT adjemian AT univ DASH lemans DOT fr % % This file is part of Dynare. % @@ -45,6 +44,8 @@ function ts = exp(ts) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + if ~isa(ts,'dynSeries') error('dynSeries::exp: Input argument has to be a Dynare time series object!') end diff --git a/matlab/@dynSeries/getName.m b/matlab/@dynSeries/getName.m index 67fdcfabe8..f80bd3e416 100644 --- a/matlab/@dynSeries/getName.m +++ b/matlab/@dynSeries/getName.m @@ -1,2 +1,22 @@ function name = getName(ts,i) - name = deblank(ts.name(i,:)); \ No newline at end of file + +% Copyright (C) 2011 Dynare Team +% +% This file is part of Dynare. +% +% Dynare is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% Dynare is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with Dynare. If not, see <http://www.gnu.org/licenses/>. + +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + +name = deblank(ts.name(i,:)); \ No newline at end of file diff --git a/matlab/@dynSeries/getTexName.m b/matlab/@dynSeries/getTexName.m index 483ef4e2bf..bf6c8df839 100644 --- a/matlab/@dynSeries/getTexName.m +++ b/matlab/@dynSeries/getTexName.m @@ -1,2 +1,22 @@ function texname = getTexName(ts,i) - texname = ['$' deblank(ts.tex(i,:)) '$']; \ No newline at end of file + +% Copyright (C) 2011 Dynare Team +% +% This file is part of Dynare. +% +% Dynare is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% Dynare is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with Dynare. If not, see <http://www.gnu.org/licenses/>. + +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + +texname = ['$' deblank(ts.tex(i,:)) '$']; \ No newline at end of file diff --git a/matlab/@dynSeries/log.m b/matlab/@dynSeries/log.m index f79de13776..7be05df47c 100644 --- a/matlab/@dynSeries/log.m +++ b/matlab/@dynSeries/log.m @@ -1,5 +1,4 @@ function ts = log(ts) -% Apply the logarithm function to a Dynare time series object. %@info: %! @deftypefn {Function File} {@var{ts} =} log(@var{ts}) @@ -17,10 +16,10 @@ function ts = log(ts) %! @item ts %! Dynare time series object with transformed data field. %! @end table -%! -%! @strong{This function is called by:} +%! +%! @strong{This function is called by:} %! None. -%! +%! %! @strong{This function calls:} %! None. %! @@ -28,8 +27,7 @@ function ts = log(ts) %@eod: % Copyright (C) 2011 Dynare Team -% stephane DOT adjemian AT univ DASH lemans DOT fr -% +% % This file is part of Dynare. % % Dynare is free software: you can redistribute it and/or modify @@ -44,7 +42,9 @@ function ts = log(ts) % % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. - + +% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr + if ~isa(ts,'dynSeries') error('dynSeries::log: Input argument has to be a Dynare time series object!') end -- GitLab