Package minfx :: Module fletcher_reeves_cg :: Class Fletcher_reeves
[hide private]
[frames] | no frames]

Class Fletcher_reeves

source code


Instance Methods [hide private]
 
__init__(self, func, dfunc, args, x0, min_options, func_tol, grad_tol, maxiter, a0, mu, eta, full_output, print_flag, print_prefix)
Class for Fletcher-Reeves conjugate gradient minimisation specific functions.
source code
 
calc_bk(self)
Function to calculate the Fletcher-Reeves beta value.
source code

Inherited from base_classes.Conjugate_gradient: new_param_func, old_cg_conv_test, update

Inherited from base_classes.Line_search: backline, line_search_options, mt, no_search, nwi, nww, setup_line_search, valid_line_search

Inherited from base_classes.Min: double_test, func_test, grad_test, hessian_type_and_mod, minimise, setup_conv_tests

Method Details [hide private]

__init__(self, func, dfunc, args, x0, min_options, func_tol, grad_tol, maxiter, a0, mu, eta, full_output, print_flag, print_prefix)
(Constructor)

source code 

Class for Fletcher-Reeves conjugate gradient minimisation specific functions.

Unless you know what you are doing, you should call the function 'fletcher_reeves' rather than using this class.

Overrides: base_classes.Min.__init__