Sets the user-supplied method that computes approximations to the forcing term \phi(x) and its derivative \partial \phi/\partial y used in the FeynmanKac PDE.

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

Syntax

C#
public void SetForcingTerm(
	FeynmanKac..::.IForcingTerm forceTerm
)
Visual Basic (Declaration)
Public Sub SetForcingTerm ( _
	forceTerm As FeynmanKac..::.IForcingTerm _
)
Visual C++
public:
void SetForcingTerm(
	FeynmanKac..::.IForcingTerm^ forceTerm
)

Parameters

forceTerm
Type: Imsl.Math..::.FeynmanKac..::.IForcingTerm
An IForcingTerm object specifying the user defined function used for computation of the forcing term \phi(f,x,t) and its derivative \partial \phi/\partial y.

Default: If this member function is not called it is assumed that \phi(f,x,t) is identically zero.

See Also