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

Class simplex

source code


Instance Methods [hide private]
 
__init__(self, func, args=(), x0=None, func_tol=1e-05, maxiter=None, full_output=0, print_flag=0)
Class for downhill simplex minimisation specific functions.
source code
 
new_param_func(self)
Simplex movement.
source code
 
contract(self)
Contraction step.
source code
 
contract_orig(self)
Contraction of the original simplex.
source code
 
create_simplex(self)
Function to create the initial simplex and calculate the vertex function values.
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
 
tests(self)
Test for the local minimum.
source code

Inherited from generic_minimise.generic_minimise: generic_minimise

Method Details [hide private]

__init__(self, func, args=(), x0=None, func_tol=1e-05, maxiter=None, full_output=0, print_flag=0)
(Constructor)

source code 

Class for downhill simplex minimisation specific functions.

Overrides: generic_minimise.generic_minimise.__init__

create_simplex(self)

source code 

Function to create the initial simplex and calculate the vertex function values.

self.xk will become the first point of the simplex.

tests(self)

source code 

Test for the local minimum.

Overrides: generic_minimise.generic_minimise.tests
(inherited documentation)