NewtonConjugateGradientOptimizer.HessianDiagonal Property

Gets or sets a callback that writes the original objective Hessian diagonal.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public Action<Vector<double>, Vector<double>>? HessianDiagonal { get; set; }

Property Value

Action<Vector<Double>, Vector<Double>>
A callback, or null to use other preconditioning information.

Remarks

Fully overwrite the output buffer. This callback supports diagonal preconditioning.

Exceptions

InvalidOperationExceptionA calculation is underway.

See Also