NewtonConjugateGradientOptimizer.HessianVectorProduct Property

Gets or sets a callback that writes the objective Hessian times a vector.

Definition

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

Property Value

Action<Vector<Double>, Vector<Double>, Vector<Double>>

Remarks

The arguments are the current point, input vector and output buffer. Fully overwrite the output. Use the original objective sign, including when maximizing. Buffers belong to the optimizer.

Exceptions

InvalidOperationExceptionA calculation is underway.

See Also