Method that allows for adjustment of initial data or as an opportunity for output during the integration steps.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
void Init(
	double[] xGrid,
	double[] tGrid,
	double time,
	double[] yprime,
	double[] y,
	double[] absoluteErrorTolerance,
	double[] relativeErrorTolerance
)
Visual Basic (Declaration)
Sub Init ( _
	xGrid As Double(), _
	tGrid As Double(), _
	time As Double, _
	yprime As Double(), _
	y As Double(), _
	absoluteErrorTolerance As Double(), _
	relativeErrorTolerance As Double() _
)
Visual C++
void Init(
	array<double>^ xGrid, 
	array<double>^ tGrid, 
	double time, 
	array<double>^ yprime, 
	array<double>^ y, 
	array<double>^ absoluteErrorTolerance, 
	array<double>^ relativeErrorTolerance
)

Parameters

xGrid
Type: array< System..::.Double >[]()[]
A double array containing the grid points in the x-direction.
tGrid
Type: array< System..::.Double >[]()[]
A double array containing the grid points in the t-direction.
time
Type: System..::.Double
A double scalar containing the time point for the evaluation. Possible values are 0 (the initial or "terminal" time point) and all values in array tGrid.
yprime
Type: array< System..::.Double >[]()[]
An input double array of length 3*xGrid.Length containing the derivatives of the Hermite quintic spline coefficients at time point time.
y
Type: array< System..::.Double >[]()[]
A double array of length 3*xGrid.Length containing the coefficients of the Hermite quintic spline at time point time. For the initial time point time = 0 this array can be used to reset the Hermite quintic spline coefficients to user defined values. For all other values of time array y is an input array.
absoluteErrorTolerance
Type: array< System..::.Double >[]()[]
An input or output double array of length 3*xGrid.Length containing absolute error tolerances.
relativeErrorTolerance
Type: array< System..::.Double >[]()[]
An input or output double array of length 3*xGrid.Length containing relative error tolerances.

See Also