|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.epfl.lis.sde.solver.SdeSolver
ch.epfl.lis.sde.solver.SRK15
public class SRK15
This class implements the explicit Runge-Kutta method (strong order of convergence 1.5) to be used with SDEs using Ito scheme. Please refer to [1] p. 390 This solver implements a stochastic Runge-Kutta algorithm (SRK) that does not need the user to specify explicitly the derivative of the diffusion term G'. [1] [1] P.E. Kloeden, E. Platen, and H. Schurz, Numerical solution of SDE through computer experiments, Springer, 1994. (pp 150-153) [2] http://en.wikipedia.org/wiki/Runge-Kutta_method_(SDE)
Constructor Summary | |
---|---|
SRK15()
Default constructor |
Method Summary | |
---|---|
void |
advance(double t,
double h,
cern.colt.matrix.DoubleMatrix1D dW,
cern.colt.matrix.DoubleMatrix1D dZ,
cern.colt.matrix.DoubleMatrix1D Xin,
cern.colt.matrix.DoubleMatrix1D Xout)
Proceed on iteration of the numerical integration (step size = h) |
void |
generateWienerIncrements(int n,
cern.colt.matrix.DoubleMatrix1D dW,
cern.colt.matrix.DoubleMatrix1D dZ)
Overwrite |
java.lang.String |
getDescription()
Returns a description for this solver. |
void |
init()
Initialization of the solver. |
void |
reset()
Cleanup the solver |
Methods inherited from class ch.epfl.lis.sde.solver.SdeSolver |
---|
checkConvergence, checkX, converged, generateW, generateWZ, getAbsolutePrecision, getH, getRelativePrecision, getSystem, getX, integrate, setAbsolutePrecision, setH, setRelativePrecision, setSystem, setX, step |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SRK15()
Method Detail |
---|
public void generateWienerIncrements(int n, cern.colt.matrix.DoubleMatrix1D dW, cern.colt.matrix.DoubleMatrix1D dZ)
generateWienerIncrements
in class SdeSolver
public void reset()
reset
in class SdeSolver
public void init() throws java.lang.IllegalArgumentException
init
in class SdeSolver
java.lang.IllegalArgumentException
public void advance(double t, double h, cern.colt.matrix.DoubleMatrix1D dW, cern.colt.matrix.DoubleMatrix1D dZ, cern.colt.matrix.DoubleMatrix1D Xin, cern.colt.matrix.DoubleMatrix1D Xout) throws java.lang.Exception
advance
in class SdeSolver
java.lang.Exception
public java.lang.String getDescription()
getDescription
in class SdeSolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |