Drop (almost empty) initvalf.m wrapper
parent
f94e7ae9a6
commit
a241aa2bd7
|
@ -1,17 +1,17 @@
|
||||||
function [series, p] = histvalf_initvalf(caller, DynareModel, options)
|
function [series, p] = histvalf_initvalf(caller, DynareModel, options)
|
||||||
|
|
||||||
% Handles options for histvalf() and initvalf()
|
% Handles options for histval_file and initval_file
|
||||||
%
|
%
|
||||||
% INPUTS
|
% INPUTS
|
||||||
% - caller [char] row array, name of calling function
|
% - caller [char] row array, name of calling function
|
||||||
% - DynareModel [struct] model description, a.k.a M_
|
% - DynareModel [struct] model description, a.k.a M_
|
||||||
% - options [struct] options specific to initivalf
|
% - options [struct] options specific to histval_file and initval_file
|
||||||
%
|
%
|
||||||
% OUTPUTS
|
% OUTPUTS
|
||||||
% - series [dseries] selected data from a file or a dseries
|
% - series [dseries] selected data from a file or a dseries
|
||||||
% - p [integer] number of periods (excluding the initial and terminal conditions)
|
% - p [integer] number of periods (excluding the initial and terminal conditions)
|
||||||
|
|
||||||
% Copyright © 2003-2022 Dynare Team
|
% Copyright © 2003-2023 Dynare Team
|
||||||
%
|
%
|
||||||
% This file is part of Dynare.
|
% This file is part of Dynare.
|
||||||
%
|
%
|
||||||
|
@ -254,4 +254,4 @@ else
|
||||||
p = (last_obs-DynareModel.orig_maximum_lead)-(first_obs+DynareModel.orig_maximum_lag)+1;
|
p = (last_obs-DynareModel.orig_maximum_lead)-(first_obs+DynareModel.orig_maximum_lag)+1;
|
||||||
end
|
end
|
||||||
|
|
||||||
series = series(first_obs:last_obs);
|
series = series(first_obs:last_obs);
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
function [series, p] = initvalf(DynareModel, options)
|
|
||||||
|
|
||||||
% Handles options for histvalf() and initvalf()
|
|
||||||
%
|
|
||||||
% INPUTS
|
|
||||||
% - caller [char] row array, name of calling function
|
|
||||||
% - DynareModel [struct] model description, a.k.a M_
|
|
||||||
% - options [struct] options specific to initivalf
|
|
||||||
%
|
|
||||||
% OUTPUTS
|
|
||||||
% - series [dseries] selected data from a file or a dseries
|
|
||||||
% - p [integer] number of periods (excluding the initial and terminal conditions)
|
|
||||||
|
|
||||||
% Copyright © 2003-2022 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 <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
[series, p] = histvalf_initvalf('INITVALF', DynareModel, options);
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3c20b9862b87e894b00c70b10e7f5a425ba0372a
|
Subproject commit 613a8578eea1a7c729223dedeebf44cdafe1cabf
|
Loading…
Reference in New Issue