Click or drag to resize

ConstraintDefinitionUpdate Method

Finds a beta so that a new solution defined as solution + beta * direction satisfies the constraint.

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public double Update(
	Vector<double> solution,
	Vector<double> direction,
	double beta
)

Parameters

solution  VectorDouble
The current solution vector.
direction  VectorDouble
The direction vector to add to solution.
beta  Double
Scale factor representing the size of the step in the direction of direction.

Return Value

Double
A beta value that satisfies the constraint.

Implements

IConstraintDefinitionUpdate(VectorDouble, VectorDouble, Double)
See Also