Package minimise :: Module simplex :: Class Simplex
[hide private]
[frames] | no frames]

Class Simplex

source code


Instance Methods [hide private]
 
__init__(self, func, args, x0, func_tol, maxiter, full_output, print_flag, print_prefix)
Class for downhill simplex minimisation specific functions.
source code
 
new_param_func(self)
The new parameter function.
source code
 
contract(self)
Contraction step.
source code
 
contract_orig(self)
Contraction of the original simplex.
source code
 
extend(self)
Extension step.
source code
 
order_simplex(self)
Order the vertecies of the simplex according to accending function values.
source code
 
reflect(self)
Reflection step.
source code
 
shrink(self)
Shrinking step.
source code
 
conv_test(self, *args)
Convergence test.
source code
 
update(self)
Update function.
source code

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, args, x0, func_tol, maxiter, full_output, print_flag, print_prefix)
(Constructor)

source code 

Class for downhill simplex minimisation specific functions.

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

Overrides: base_classes.Min.__init__

new_param_func(self)

source code 

The new parameter function.

Simplex movement.

conv_test(self, *args)

source code 

Convergence test.

Finish minimising when the function difference between the highest and lowest simplex vertecies is insignificant or if the simplex doesn't move.

update(self)

source code 

Update function.

Overrides: base_classes.Min.update