Returns the coefficients of the Hermite quintic splines that represent an
approximate solution of the Feynman-Kac PDE.
Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public double[,] GetSplineCoefficients() |
Visual Basic (Declaration) |
---|
Public Function GetSplineCoefficients As Double(,) |
Visual C++ |
---|
public: array<double,2>^ GetSplineCoefficients() |
Return Value
A double matrix of dimension (tGrid.Length+1) by (3*xGrid.Length) containing the coefficients of the Hermite quintic spline representation of the approximate solution for the Feynman-Kac PDE at time points 0, tGrid[0],...,tGrid[tGrid.Length-1]. Setting ntGrid = tGrid.Length and nxGrid = xGrid.Length the approximate solution is given by![f(x,t) = \sum_{j=0}^{3*\text{nxGrid}-1}y_{ij}\beta_j(x) \; \mbox{for} \;
t=\text{tGrid}[i-1], i=1,\ldots,\text{ntGrid}.](eqn/eqn_1149.png)


Remarks
The ComputeCoefficients method must be invoked first
before invoking this method. Otherwise, the method throws an
InvalidOperationException exception.