comparison scripts/optimization/fsolve.m @ 16013:4efc0c1537df

Fix typo in the documentation of function fsolve
author Rafael Laboissiere <rafael@laboissiere.net>
date Thu, 07 Feb 2013 22:01:09 +0100
parents 5d3a684236b0
children 7babcdb9bc13
comparison
equal deleted inserted replaced
16012:ca37c6023a79 16013:4efc0c1537df
94 ## not always. If the savings by reusing intermediate results from residual 94 ## not always. If the savings by reusing intermediate results from residual
95 ## calculation in Jacobian calculation are significant, the best strategy is to 95 ## calculation in Jacobian calculation are significant, the best strategy is to
96 ## employ OutputFcn: After a vector is evaluated for residuals, if OutputFcn is 96 ## employ OutputFcn: After a vector is evaluated for residuals, if OutputFcn is
97 ## called with that vector, then the intermediate results should be saved for 97 ## called with that vector, then the intermediate results should be saved for
98 ## future Jacobian evaluation, and should be kept until a Jacobian evaluation 98 ## future Jacobian evaluation, and should be kept until a Jacobian evaluation
99 ## is requested or until outputfcn is called with a different vector, in which 99 ## is requested or until OutputFcn is called with a different vector, in which
100 ## case they should be dropped in favor of this most recent vector. A short 100 ## case they should be dropped in favor of this most recent vector. A short
101 ## example how this can be achieved follows: 101 ## example how this can be achieved follows:
102 ## 102 ##
103 ## @example 103 ## @example
104 ## function [fvec, fjac] = user_func (x, optimvalues, state) 104 ## function [fvec, fjac] = user_func (x, optimvalues, state)