Commit 7112bd60 authored by assia's avatar assia
Browse files

header updated

git-svn-id: ac1d8469-bf42-47a9-8791-bf33cf982152
parent ed0b94f4
% Copyright (C) 2001 Michel Juillard
% function [x,f,fvec,check]=lnsrch(xold,fold,g,p,stpmax,func,j1,j2,varargin)
% Computes the optimal step by minimizing the residual sum of squares
% xold: actual point
% fold: residual sum of squares at the point xold
% g: gradient
% p: Newton direction
% stpmax: maximum step
% func: name of the function
% j1: equations index to be solved
% j2: unknowns index
% varargin: list of arguments following j2
% x: chosen point
% f: residual sum of squares value for a given x
% fvec: residuals vector
% check=1: problem of the looping which continues indefinitely
% none
% part of DYNARE, copyright Dynare Team (2001-2007)
% Gnu Public License.
function [x,f,fvec,check]=lnsrch(xold,fold,g,p,stpmax,func,j1,j2,varargin)
global options_
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment