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.
-
ContinuationNatural(Function)
- Creates a natural parameter continuation object for the
given function.
-
goToTarget(double)
- Take steps until the target s value has been reached
-
main(String[])
-
Exercise the class by trying the various functions
-
setStepSize(double)
- Sets the initial step size for the continuation method
-
start(Matrix, int)
- Start the continuation and take one step
-
step()
- Take a continuation step.
ContinuationNatural
public ContinuationNatural(Function func)
- Creates a natural parameter continuation object for the
given function.
- Parameters:
- func - The function to continue
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
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
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
setStepSize
public void setStepSize(double stepSize)
- Sets the initial step size for the continuation method
- Parameters:
- stepSize - The initial stepsize
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