4.2: adding function header

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3303 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
michel 2010-01-05 15:06:45 +00:00
parent 9ef426c3a9
commit a54a6cfbfa
1 changed files with 32 additions and 0 deletions

View File

@ -1,4 +1,36 @@
function oo1 = evaluate_planner_objective(dr,M,oo,options)
%function oo1 = evaluate_planner_objective(dr,M,oo,options)
% computes value of planner objective function
%
% INPUTS
% dr: (structure) decision rule
% M: (structure) model description
% oo: (structure) output results
% options: (structure) options
%
% OUTPUTS
% oo1: (structure) updated output results
%
% SPECIAL REQUIREMENTS
% none
%
% Copyright (C) 2007-2010 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/>.
oo1 = oo;
endo_nbr = M.endo_nbr;