All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.epfl.lcvm.mccc.ContinuationNatural

java.lang.Object
   |
   +----CH.epfl.lcvm.mccc.ContinuationNatural

public class ContinuationNatural
extends Object
implements Continuation1D
A class which defines a natural parameter continuation method. Specifically The parameter value is incremented by some amount and the the previous solution is used as a initial guess to a root finder.


Constructor Index

 o ContinuationNatural(Function)
Creates a natural parameter continuation object for the given function.

Method Index

 o goToTarget(double)
Take steps until the target s value has been reached
 o main(String[])
Exercise the class by trying the various functions
 o setStepSize(double)
Sets the initial step size for the continuation method
 o start(Matrix, int)
Start the continuation and take one step
 o step()
Take a continuation step.

Constructors

 o ContinuationNatural
 public ContinuationNatural(Function func)
Creates a natural parameter continuation object for the given function.

Parameters:
func - The function to continue

Methods

 o start
 public Matrix start(Matrix value,
                     int param_index) throws MCCCException
Start the continuation and take one step

Parameters:
value - Initial value to the solver
param_index - The index of the component to continue in
Returns:
the value of the equations after the step
Throws: MCCCException
In case the method doesn't converge it throws this exception
 o step
 public Matrix step() throws MCCCException
Take a continuation step.

Returns:
the value of the equations after the step
Throws: MCCCException
In case the method doesn't converge it throws this exception
 o goToTarget
 public Matrix goToTarget(double target) throws MCCCException
Take steps until the target s value has been reached

Parameters:
target - The target s value
Throws: MCCCException
In case the method doesn't converge it throws this exception
 o setStepSize
 public void setStepSize(double stepSize)
Sets the initial step size for the continuation method

Parameters:
stepSize - The initial stepsize
 o main
 public static void main(String argv[]) throws MCCCException
Exercise the class by trying the various functions

Throws: MCCCException
In case something fails in the test harness it throws this exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index