Changed headers.

time-shift
Stéphane Adjemian (Scylla) 2011-09-09 16:27:28 +02:00
parent a1913d8a99
commit 29cfb00e13
4 changed files with 51 additions and 10 deletions

View File

@ -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

View File

@ -1,2 +1,22 @@
function name = getName(ts,i)
name = deblank(ts.name(i,:));
% 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,:));

View File

@ -1,2 +1,22 @@
function texname = getTexName(ts,i)
texname = ['$' deblank(ts.tex(i,:)) '$'];
% 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,:)) '$'];

View File

@ -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