Returns the inverse of the Hessian times the gradient vector, computed at the initial estimates.

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

Syntax

C#
public virtual double[] GetGradient()
Visual Basic (Declaration)
Public Overridable Function GetGradient As Double()
Visual C++
public:
virtual array<double>^ GetGradient()

Return Value

A double array containing the inverse of the Hessian times the gradient vector, computed at the initial estimates.

Remarks

Note that the HessianOption property must be set to true and the SetInitialEstimates method must be invoked prior to invoking this method. Otherwise, the method throws an InvalidOperationException exception.

Exceptions

ExceptionCondition
Imsl.Stat..::.ClassificationVariableLimitExceptionis thrown if the classification variable limit set by the user through the MaxClass property has been exceeded.

See Also