Method for calculating the gradient with respect to the parameters while keeping x fixed at the specified value.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public override void GradientWithRespectToParams(
	DoubleVector parameters,
	double x,
	ref DoubleVector grad
)
Visual Basic (Declaration)
Public Overrides Sub GradientWithRespectToParams ( _
	parameters As DoubleVector, _
	x As Double, _
	ByRef grad As DoubleVector _
)
Visual C++
public:
virtual void GradientWithRespectToParams(
	DoubleVector^ parameters, 
	double x, 
	DoubleVector^% grad
) override

Parameters

parameters
Type: CenterSpace.NMath.Core..::.DoubleVector
The function parameters.
x
Type: System..::.Double
The point at which to evaluate the gradient.
grad
Type: CenterSpace.NMath.Core..::.DoubleVector %
On entry a vector of the correct size (same as the number of parameters). On exit contains the values of the gradient.

See Also