Package minfx :: Module hestenes_stiefel_cg :: Class Hestenes_stiefel
[hide private]
[frames] | no frames]

Class Hestenes_stiefel

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 Hestenes-Stiefel conjugate gradient minimisation specific functions.
source code
 
calc_bk(self)
Function to calculate the Hestenes-Stiefel 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 Hestenes-Stiefel conjugate gradient minimisation specific functions.

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

Overrides: base_classes.Min.__init__