From a54a6cfbfac4b0f224ed3daf981c96aac9527dd9 Mon Sep 17 00:00:00 2001 From: michel Date: Tue, 5 Jan 2010 15:06:45 +0000 Subject: [PATCH] 4.2: adding function header git-svn-id: https://www.dynare.org/svn/dynare/trunk@3303 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/evaluate_planner_objective.m | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/matlab/evaluate_planner_objective.m b/matlab/evaluate_planner_objective.m index 1aab938d2..42e9223ed 100644 --- a/matlab/evaluate_planner_objective.m +++ b/matlab/evaluate_planner_objective.m @@ -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 . oo1 = oo; endo_nbr = M.endo_nbr;