header updated

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1534 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
assia 2008-01-03 12:12:07 +00:00
parent d999166b14
commit 9bc1ac138d
1 changed files with 22 additions and 2 deletions

View File

@ -1,6 +1,26 @@
% Copyright (C) 2001 Michel Juillard
%
function [x,info] = dynare_solve(func,x,jacobian_flag,varargin)
% function [x,info] = dynare_solve(func,x,jacobian_flag,varargin)
% proposes different solvers
%
% INPUTS
% func: name of the function to be solved
% x: guess values
% jacobian_flag=1: jacobian given by the 'func' function
% jacobian_flag=0: jacobian obtained numerically
% varargin: list of arguments following jacobian_flag
%
% OUTPUTS
% x: solution
% info=1: the model can not be solved
%
% SPECIAL REQUIREMENTS
% none
%
% part of DYNARE, copyright Dynare Team (2001-2008)
% Gnu Public License.
global options_
options_ = set_default_option(options_,'solve_algo',2);