Package com.imsl.math
Interface FeynmanKac.InitialData
- Enclosing class:
- FeynmanKac
public static interface FeynmanKac.InitialData
Public interface for adjustment of initial data or as an opportunity
for output during the integration steps.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(double[] xGrid, double[] tGrid, double time, double[] yprime, double[] y, double[] absoluteErrorTolerance, double[] relativeErrorTolerance) Method that allows for adjustment of initial data or as an opportunity for output during the integration steps.
-
Method Details
-
init
void init(double[] xGrid, double[] tGrid, double time, double[] yprime, double[] y, double[] absoluteErrorTolerance, double[] relativeErrorTolerance) Method that allows for adjustment of initial data or as an opportunity for output during the integration steps.- Parameters:
xGrid- adoublearray containing the grid points in the x-direction.tGrid- adoublearray containing the grid points in the t-direction.time- adouble, containing the time point for the evaluation.yprime- adoublearray of length3*xGrid.lengthcontaining the derivatives of the Hermite quintic spline coefficients at time pointtime.y- adoublearray of length3*xGrid.lengthcontaining the coefficients of the Hermite quintic spline at time pointtime.absoluteErrorTolerance- adoublearray of length3*xGrid.lengthcontaining absolute error tolerances.relativeErrorTolerance- adoublearray of length3*xGrid.lengthcontaining relative error tolerances.
-